@font-face {
    font-family: nav;
    /* Это шрфит для лого*/
    src: local("nav"),
        /* проверяем наличие шрифта в ОС пользователя */
        url(nav.ttf);
    /* если шрифт не установлен, тогда загружаем его по указанному пути */
}

@font-face {
    font-family: title;
    /* Это шрфит для лого*/
    src: local("title"),
        /* проверяем наличие шрифта в ОС пользователя */
        url(title.otf);
    /* если шрифт не установлен, тогда загружаем его по указанному пути */
}

@font-face {
    font-family: shrift;
    /* Это шрфит для лого*/
    src: local("shrift"),
        /* проверяем наличие шрифта в ОС пользователя */
        url(shrift.otf);
    /* если шрифт не установлен, тогда загружаем его по указанному пути */
}

.obuchenie_cont {}

.bgk {
    background-color: #5d4a1f;
    height: 100vh;
    width: 80vw;
    background-image: url('../12345.jpg');
    padding-top: 100px;
    margin: 1px auto;
    background-position: center;
    background-size: cover;
}
.background_cons_1{
    background-image: url(../back.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}
.botton_kons {
    color: black;
    margin: 1px auto;
    background-color: goldenrod;
    text-align: center;
    padding: 9px 10px 9px 10px;
    border-radius: 5px;
    font-family: "nav";
    margin-top: 2vh;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;

    font-family: 'Arial';
    font-weight: bold;
    width: 300px;
    border: 2px solid rgb(255, 255, 255);
    margin-top: 30%;
    color: rgb(255, 255, 255);
}
.about_me1{
    background-color: black;
    padding: 50px 0;
}
.kurs_text{
    padding: 0 50px 50px 50px;
}
.kurs_text_and_img{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    background-color: #c9bd9e;
    border-radius: 20px 20px 20px 20px;
}
.kurs_text_and_img__text{
    font-weight: 300;
}
.kurs_text_and_img__text span{
    font-weight: 500;
    font-size: 18px;
}
.kurs_text_and_img__img{
    margin-right: 30px;
    border-radius: 20px 0 0 20px;
}
.kurs_text_and_img__img img{
    width: 300px;
    border-radius: 20px 0 0 20px;
}
.button_kurs{
    background-color: goldenrod;
    width: 200px;
    text-align: center;
    color: white;
    border-radius: 5px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    margin-top: 15px;
    padding: 3px 0;
    font-weight: bold;
    border: 1px solid white;
}
.flexflex{
    display: flex;
    align-items: center;
}
.date{
    line-height: 18px;
    font-weight: 600;
    position: relative;
    top: 6px;
    margin-left: 20px;
}
.outline{
    border: 2px solid goldenrod;
    border-radius: 20px;
    padding: 20px 50px;
    display: flex;
}
.runa{
    width: 160px;
}
@media only screen and (min-width : 320px) and (max-width : 979px) {
    .bgk {
        height: 80vw;
        width: 100vw;
    }

    .background_cons_1 {
        padding-top: 8vh;
    }
    .botton_kons {
        margin-top: 10%;
        padding: 3px 1px 3px 1px;
    }
    .outline{
        flex-direction: column;
        align-items: center;
    }
    .runa{
        width: 60px;
    }
    .kurs_text_and_img__text{
        padding: 20px 20px 40px 20px;
    }
    .kurs_text_and_img{
        flex-direction: column;
    }
    .kurs_text_and_img__img{
        margin-right: 0;
        border-radius: 20px 20px 0 0;
    }
    .kurs_text_and_img__img img{
        width: 100%;
        border-radius: 20px 20px 0 0;
    }
    .kurs_text{
        padding: 0 10px 40px 10px;
    }
    .kurs_text_and_img__text span{
        font-size: 20px;
    }
}

.top_text p {
    text-align: center;
    color: white;
    font-size: 43px;
    font-family: 'nav';
}

.ngimg {
    margin: 1px auto;
    width: 40vw;
    padding-top: 10vh;
}

.obuch_item {}

.oblako {
    width: 20vw;
    margin: 1px auto;
}

.h2_obuch {
    font-size: 29px;
}

.obuch_text {
    margin: 5vh 10vw;
    text-indent: 30px;
    font-size: 16px;
    text-align: justify;
}

.obuch_text img {
    width: 130px;
    height: 130px;
}

.block_center {
    display: flex;
    align-items: center;
    width: 80vw;
    margin: 1px auto;
}

.list_centr {
    padding: 0px 3vw 0px 1vw;
}

}

.zv {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zv img {
    height: 20px;
    margin: 1px auto;
}

.min {
    display: flex;
    justify-content: center;
}

.min img {
    height: 100px;
    width: 80px;
}

.days {
    margin: 1px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.days p {
    font-family: 'nav';
    color: goldenrod;
    font-size: 26px;
}

@font-face {
    font-family: nav;
    /* Это шрфит для лого*/
    src: local("nav"),
        /* проверяем наличие шрифта в ОС пользователя */
        url(nav.ttf);
    /* если шрифт не установлен, тогда загружаем его по указанному пути */
}

@font-face {
    font-family: title;
    /* Это шрфит для лого*/
    src: local("title"),
        /* проверяем наличие шрифта в ОС пользователя */
        url(title.otf);
    /* если шрифт не установлен, тогда загружаем его по указанному пути */
}

@font-face {
    font-family: shrift;
    /* Это шрфит для лого*/
    src: local("shrift"),
        /* проверяем наличие шрифта в ОС пользователя */
        url(shrift.otf);
    /* если шрифт не установлен, тогда загружаем его по указанному пути */
}

body {
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
    color: black;
}

.head {
    position: fixed;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    width: 100vw;
    z-index: 1;
}

.nav_row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    font-family: "nav";
    font-size: 15px;


}

.socials {
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 4.5vw;
    margin-left: 0.7vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
}

.logo_text {
    line-height: 2.8vh;
    text-align: center;
}

.insta {
    width: 6vh;
    padding-top: 1vh;
    padding-bottom: 1vh;
    margin-right: 1vw;
}

.youtube {
    width: 7.3vh;
}

.title_pict {
    background-image: url('../background.jpg');
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 55px;
    padding-top: 17vh;
    color: goldenrod;
    text-align: center;
    font-family: "title";
    letter-spacing: 6px;
    line-height: 70px;
}

.botton {
    color: black;
    margin: 1px auto;
    background-color: goldenrod;
    text-align: center;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    font-family: "nav";
    margin-top: 2vh;
}

.background {
    background-image: url(../back.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.contreiner {
    background-color: white;
    margin-left: 10vw;
    margin-right: 10vw;
    padding-bottom: 5vh;
    border-radius: 0px;
}

.conteiner_flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 8vw;
    margin-right: 9vw;


}

.content_item_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.element {
    width: 410px;
}

.conteiner_item {
    width: 420px;
    margin-right: 7vw;
    margin-top: 5vh;
}

.conteiner_item img {
    margin-left: 4.2vw;
}

.element a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about_me {
    background-image: url(../back.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

h2 {
    padding-top: 5vh;
    text-align: center;
    padding-bottom: 1vh;
    color: goldenrod;
    font-size: 5vh;
    font-family: "title";

}

h3 {
    font-size: 3vh;
    font-family: "nav";

}

.video {
    display: flex;
    justify-content: center;
    align-items: center;
    clear: right;
    border-radius: 10px;



}

video {
    border-radius: 5px;
    width: 80vw;





}

.text2 {
    margin-right: 11vw;
    margin-left: 11vw;
    margin-top: 5vh;
    font-size: 16px;
    background-color: white;
    border-radius: 10px;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 3vh;
    padding-top: 5vh;
    text-indent: 30px;
    letter-spacing: 1px;
    text-transform: none;
    font-family: "roboto";
    color: darkslategray;
}

.text2 p {
    padding-bottom: 6px;
    text-align: justify;
}

.text2 h3 {
    color: darkslategray;
    padding-top: 10px;
    padding-bottom: 10px;

}

.text {
    margin-right: 11vw;
    margin-left: 11vw;
    font-size: 16px;
    background-color: white;
    border-radius: 10px;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 10vh;
    text-indent: 30px;
    letter-spacing: 1px;
    text-transform: none;
    font-family: "roboto";
    color: darkslategray;


}

ol {
    text-align: justify;
}

h4 {
    text-align: center;
    padding-top: 5vh;
    font-family: "title";
    color: goldenrod;
    font-size: 4vh;
}

.h4 {
    font-size: 6vh;
}

.row_h {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3vh;
}

.heand2 {
    margin-right: 5vw;
    width: 10vw;
}

.heand1 {
    margin-left: 5vw;
    width: 10vw;
}

.heand3 {
    width: 15vw;
}

.footer {
    color: white;

    padding-bottom: 5vh;
}

.footer_row {
    display: flex;
    justify-content: space-around;


}

.footer a {
    color: white;
}

h5 {
    text-align: center;
    font-size: 3vh;
}

.news {
    display: flex;
    justify-content: space-around;

}

.new {
    background-image: url(../new.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 20vw;
    height: 20vh;
    text-align: center;
    border-radius: 5px;
    color: orangered;
    font-weight: bold;
}

.background_cons {
    background-image: url(../back2.jpg);
    background-repeat: repeat-y;
    background-position: center;
    background-size: cover;
}

.podlozhka {
    background-color: black;
    width: 85vw;
    margin: 1px auto;
    border-radius: 10px;
}

.podlozhka2 {
    background-color: white;
    width: 80vw;
    margin: 1px auto;
    border-radius: 10px;
}

.podlozhka h1 {
    padding-top: 1px;
}

.flex {
    display: flex;
    justify-content: center;
    padding-top: 10vh;
    flex-direction: column;
}

.podlozhka_item {
    display: flex;
    padding-left: 5vw;
    padding-bottom: 10vh;
    color: white;

}

.podlozhka_item img {
    width: 200px;
}

.item_flex {

    margin-left: 5vw;
}

.item_flex p {}

.item_flex h2 {
    font-size: 3vh;
    font-family: "nav";
    text-align: start;

}

.h1 {
    padding-top: -2vh;
    padding-bottom: 5vh;
    margin-top: -19vh;
    margin-bottom: 2vh;
}

.h1_2 {
    color: darkgoldenrod;
    font-size: 6vh;
    line-height: 8vh;
}

.img_pict {
    border-radius: 10px;
    width: 52vw;
    margin: 1px auto;
    margin-top: 3vh;
    margin-bottom: 4vh;

}

.podlozhka3 {
    background-color: white;
    width: 80vw;
    margin: 1px auto;
}

.conteiner_flex2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;



}

.content_item_main2 {}

.element2 {
    width: 300px;
    text-align: center;
}


.conteiner_item2 {}

.conteiner_item2 img {}

.element2 a {}

.botton2 {
    background-color: goldenrod;
    text-align: center;
    width: 12vw;
    margin: 1px auto;
    margin-top: 7vh;
    border-radius: 5px;
    padding: 5px 10px;
}

.flex_sert {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.flex_sert img {
    width: 30vw;
    margin-right: 3vw;
    border-radius: 5px;
    margin-bottom: 2vh;
}

.img_in_text {
    width: 20vw;
    float: left;
    margin-right: 2vw;
}

.line_text {
    margin-bottom: 5vw;
}

.img_flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2vh;
}

.botton3 {
    background-color: goldenrod;
    text-align: center;
    margin: 1px auto;
    border-radius: 5px;
    display: block;
    width: 25vw;
    margin-bottom: 7vh;
    padding: 5px 25px 5px 0px;
}

#video_background2 {
    width: 50vw;
    border: none;
    margin: 1px 1px 1px 17vw;
    margin-left: -1vw;
}

.phones {
    display: none;
}

.contacts {
    background-image: url(../bg2.jpg);
    color: white;
    width: 40vw;
    margin: 1px auto;
}

.flex_cont {
    display: flex;
    flex-wrap: wrap;
    margin-left: 19vw;
    margin-top: 5vh;
    justify-content: space-around;
    width: 60vw;
}

.podlozhka_item_cont {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4vh;
}

.podlozhka_item_cont img {
    width: 12vw;
    display: flex;
}

.item_flex_cont p {
    font-size: 14px;
    color: gold;
    width: 10vw;

}

.item_flex_cont h2 {
    font-size: 22px;
    width: 10vw;
}

.item_flex_cont {
    font-size: 14px;
    text-align: center;
}

.h1_cont {
    margin-top: 1px;
    padding-top: 1px;
    padding-bottom: 2vh;
}

.dop_block {
    padding-top: 15vh;
}

.dop_block p {
    color: red;
    text-align: center;
    font-family: "nav";
    font-size: 3vh;
}

.dop_block img {
    width: 60vw;
    margin: 1px auto;
    padding-top: 3vh;
}

.h2vsem {
    font-size: 4vh;
}

@media only screen and (min-width : 320px) and (max-width : 479px) {
    .dop_block {
        padding-top: 2vh;
    }

    .h1_2 {
        color: darkgoldenrod;
        font-size: 4vh;
        line-height: 6vh;
    }

    .ngimg {
        width: 90vw;
        padding-top: 3vh;

    }




    .dop_block p {
        color: red;
        text-align: center;
        font-family: "nav";
        font-size: 3vh;
    }

    .dop_block img {
        width: 100vw;
        margin: 1px auto;
        padding-top: 3vh;
        padding-bottom: 2vh;
    }

    video {
        width: 90vw;
        margin-left: 5vw;
    }

    .h2_obuch {
        font-size: 18px;
    }

    body {
        overflow-x: hidden;
    }

    html {
        overflow-x: hidden;
    }

    .heand3 {
        display: none;
    }

    .heand2 {
        display: none;
    }

    .heand1 {
        display: none;
    }

    h1 {
        font-size: 28px;
        padding-top: 4px;
        padding-bottom: 4px;
        line-height: 35px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 2vh;
    }

    h4 {
        font-size: 32px;
    }

    .conteiner_item {}

    .conteiner_item img {
        margin-left: 1px;
        width: 85vw;
        margin: 1px auto;
        padding-left: 10vw;
    }

    .none {
        display: none;
    }

    .socials {
        flex-direction: column;
    }

    .insta {
        margin-left: 1vw;
        padding-bottom: 0px;
        width: 7vw;

    }

    .youtube {
        width: 9vw;
        padding-bottom: 5px;
    }

    .nav_row {
        font-size: 14px;
        padding-left: 5vw;
    }

    .head {
        border-bottom: 1px solid black;
    }

    .phones {
        display: block;
        padding-top: 14vh;
        font-family: "nav";
    }

    .logo img {
        width: 12vw;
    }

    .logo_text {
        font-size: 14px;
    }

    .contreiner {
        width: 100vw;
        margin: 1px auto;
        padding-bottom: 5vh;
        border-radius: 1px;
        overflow: hidden;
    }

    #video_background2 {
        width: 90vw;
        border: none;
        margin: 1px 1px 1px 17vw;
        margin-left: -1vw;
    }

    .text {
        width: 100vw;
        margin: 0px 0px 0px 0px;
    }

    .title_pict {
        padding-top: 0vh;
    }

    .podlozhka_cont {}

    .flex_cont {
        width: 100vw;
        margin-left: 0vw;

    }

    .podlozhka_item_cont {
        width: 90vw;
        align-items: center;
        justify-content: center;

    }

    .podlozhka_item_cont img {
        width: 30vw;
    }

    .item_flex_cont p {
        width: 50vw;
        font-size: 14px;
    }

    .item_flex_cont h2 {
        width: 50vw;
        font-size: 18px;
    }

    .item_flex_cont {
        width: 50vw;
        margin-top: -4vh;
    }

    .podlozhka_item img {
        width: 50vw;
        height: 50vw;
    }

    .podlozhka_item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .flex {
        padding-top: 1px;
        margin-top: 1px;
    }

    .pob {
        display: none;
    }

    .item_flex h2 {
        text-align: center;
    }

    .h1cons {
        margin-top: 10vh;
        padding-top: 10px;
    }

    .text2 {
        width: 90vw;
        margin-left: -4.9vw;
        margin-right: 0px;
    }

    .background_cons {
        padding-top: 10vh;
    }

    .podlozhka2 {
        width: 100vw;
        justify-content: center;
        align-items: center;
    }

    .podlozhka3 {
        width: 100vw;
        justify-content: center;
        align-items: center;
    }

    .img_pict {
        width: 90vw;
    }

    .botton3 {
        width: 50vw;
        margin-left: 25vw;
    }
}



@media only screen and (min-width : 320px) and (max-width : 479px) {
    .obuch_text img {
        width: 15vw;
        height: 20vw;
    }

    .zv img {
        display: none;
        margin: 1px
    }

    .block_center {
        display: block;
    }

    .block_center img {
        width: 60px;
        height: 60px;
        margin: 1px auto;
    }

    .days p {
        text-align: center;
    }

    .obuch_text {
        margin: 2vh 5vw;
    }

}