:root {
    --orange: #E77414;
    --Style: #6D3B29;
    --white: #F5F5F5;
    --brown2: #B1593A;
    --brown3: #FD925B;
    --brown-dark: #6D3B29;
    --black: #252525;
}
@font-face {
    font-family: Oldtime;
    src: url("../fonts/Oldtimer.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Montserrat_arm;
    src: url("../fonts/Montserratarm-Thin.otf");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: Montserrat_arm;
    src: url("../fonts/Montserratarm-Regular.otf");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: Montserrat_arm;
    src: url("../fonts/Montserratarm-Medium.otf");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: Montserrat_arm;
    src: url("../fonts/Montserratarm-SemiBold.otf");
    font-weight: 700;
    font-style: normal;
}
html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul li {
    list-style: none;
}
img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
a{
    text-decoration: none;
    color: inherit;
    width: max-content;
}
.container{
    width: 1330px;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}
body{
    overflow-x: hidden;
    background-color: var(--white);
}

/*------------------header start-------------------*/
header{
    background-color: var(--white);
    width: 100%;
    overflow-x: hidden;
    height: clamp(50px,calc(50px + (68 - 50) * ((100vw - 768px) / (1320 - 768))),68px);
}
.header_fixed{
    width: 100%;
    top: 0;
    max-width: 100vw;
    height: clamp(50px,calc(50px + (68 - 50) * ((100vw - 768px) / (1320 - 768))),68px);
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-top: 3px;
    padding-bottom: 5px;
    z-index: 10;
    background-color: var(--white);
    transition: .5s;
}
.header_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: end;
    height: 100%;
}
.logo_wrapper{
    height: 100%;
    display: flex;
    gap: 5px;
    align-items: end;
}
.logo_wrapper span{
    font-family: "Carme", sans-serif;
    font-weight: 500;
    color: #585757;
    -webkit-text-stroke-color: #585757;
    font-size: clamp(28px,calc(28px + (40 - 28) * ((100vw - 768px) / (1320 - 768))),40px);
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.398px;
}
.menu{
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 10px;
}
/*---------------////////////////////----------------------*/
.menu li{
    font-weight: 600;
    color: #9A9A9A;
    font-size: 20px;
}
/*---------------////////////////////----------------------*/

.menu li{
    font-weight: 400;
    color: #9A9A9A;
    font-size: 16px;
}

.arm .menu li{
    font-family: Montserrat_arm;
}
.ru .menu li{
    /*font-family: Oldtime;*/
}
.eng .menu li{
    /*font-family: Oldtime;*/
}

.menu li a{
    position: relative;
    display: inline-block;
    padding: 5px 17px;
}
.menu li a.active{
    color: var(--orange);
}
.menu li a:hover:after{
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--orange);
}
.menu li a.active:after{
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--orange);
}
.languages{
    display: flex;
    padding-bottom: 10px;
}
.languages li{
    color: #B9B3B3;

    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 5px;
}
.languages li.arm{
    font-family: Montserrat_arm;

}
.header__btn_active{
    font-weight: 700;
    color: #585757;
}

.burger_icon{
    margin-right: 10px;
    display: none;
    position: relative;
    height: clamp(30px,calc(30px + (40 - 30) * ((100vw - 768px) / (1320 - 768))),40px);
    aspect-ratio: 1;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    cursor: pointer;
}
.stop-scrolling {
    overflow: hidden;
}


.burger_icon>span{

    display: inline-block;
    height: 5px;
    border-radius: 4px;

    width: 80%;

    background-color: black;
    transition: all .3s ease;
}
.burger_icon>span:before, .burger_icon>span:after{
    display: inline-block;
    position: absolute;
    content: '';
    right: 0;
    height: 5px;
    border-radius: 4px;
    background-color: black;
    transition: all .3s ease;
}
.burger_icon>span:before{
    top: 0;
    width: 50%;
}
.burger_icon>span:after{
    bottom: 0;
    width: 100%;
}
.burger_icon.active>span{
    background-color: transparent;
}
.burger_icon.active>span:before{
    width: 100%;
    transform: rotate(-45deg) translate(0,calc(-50% - 1.2px));
    top: 50%;
}
.burger_icon.active>span:after{
    transform: rotate(45deg) translate(0, calc(50% + 1.3px));
    bottom: 50%;
}
/*----------------header end--------------------*/


.first_screen{
    /*margin-top: 110px;70*/
    margin-top: clamp(20px,calc(20px + (40 - 20) * ((100vw - 768px) / (1320 - 768))),40px);
    /*margin-bottom: 40px;*/
    margin-bottom: clamp(30px,calc(30px + (80 - 30) * ((100vw - 768px) / (1320 - 768))),80px);
    display: grid;
    grid-template-columns: 3fr 0fr;
    gap: 10px;
    transition: 1s;
}
.start{
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-image: url("../images/1.jpg");
    background-size: cover;
    background-position: center;
    height: clamp(340px,calc(340px + (560 - 340) * ((100vw - 768px) / (1320 - 768))),560px);
}
.start img{

}
.overlay{
    padding: clamp(24px,calc(24px + (40 - 24) * ((100vw - 768px) / (1320 - 768))),40px);
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.overlay h2{
    color: var(--white);
    font-family: "Montserrat_arm";
    font-size: clamp(28px,calc(28px + (32 - 28) * ((100vw - 768px) / (1320 - 768))),32px);
    letter-spacing: 0.5px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 23px;
}

.discover_block{
    box-sizing: border-box;
    display: none;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: 5fr 7fr;
    gap: 10px;
    height: clamp(340px,calc(340px + (560 - 340) * ((100vw - 768px) / (1320 - 768))),560px);
}
.first_screen_grid .discover_block{
    display: grid;

}
.discover_block>*{
    border-radius: 20px;
}
.discover_block_1{
    position: relative;
    background-color: var(--orange);
    grid-column-start: 1;
    grid-column-end: 25;
    padding: 20px 15px;
    display: flex;
    flex-direction: column-reverse;
}
.discover_block_1 h2{
    color: var(--white);
    font-family: "Montserrat_arm";
    font-size: clamp(18px,calc(18px + (28 - 18) * ((100vw - 768px) / (1320 - 768))),28px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.5px;
    width: 200px;
}
.discover_block_1 .lightning{
    position: absolute;
    top: 20px;
    right: 25px;
    width: 30px;
    height: 50px;
}
.discover_block_2{
    background-color: var(--Style);
    grid-column-start: 1;
    grid-column-end: 8;
    position: relative;
    overflow: hidden;
}
.arrow {
    color: var(--white);
    display: flex;
    justify-content: center;
    font-size: 50px;
    position: absolute;
    left: 0;
    right: 0;
    animation: bounce1 3s infinite;
    height: 100%;
}
.arrow::before {
    background-color: var(--white);
    content: '';
    position: absolute;
    top: calc(-100% + 50px);
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
}

@keyframes bounce1 {
    0% {
        top: -80px;
    }
    40% {
        top: calc(100% - 70px);
    }
    60% {
        top: calc(100% - 80px);
    }
    100% {
        top: -80px;
    }
}

.discover_block_3{
    grid-column-start: 8;
    grid-column-end: 25;
    overflow: hidden;
}
.discover_block_3 img{
    height: 100%;
    width: 100%;
    object-fit: cover;

}
.btn{
    font-family: Montserrat_arm;
    font-weight: 500;
    font-size: clamp(13px,calc(13px + (16 - 13) * ((100vw - 768px) / (1320 - 768))),16px);
    width: max-content;
    display: inline-flex;
    color: var(--white);
    justify-content: center;
    align-items: center;
    border-radius: 11.468px;
    border-color: transparent;
    cursor: pointer;

}
.btn-main{
    background-color: var(--orange);
    padding: clamp(16px,calc(16px + (20 - 16) * ((100vw - 768px) / (1320 - 768))),20px)
             clamp(60px,calc(60px + (73 - 60) * ((100vw - 768px) / (1320 - 768))),73px);
}
.btn-main:hover{
    background-color: var(--brown2);
}

.educational_program{
    margin-top: clamp(30px,calc(30px + (80 - 30) * ((100vw - 768px) / (1320 - 768))),80px);
}
.educational_program h2{
    font-family: Oldtime;
    color: #D25D1E;
    font-size: clamp(48px,calc(48px + (76 - 48) * ((100vw - 768px) / (1320 - 768))),76px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -3.8px;
    text-transform: uppercase;
    margin-bottom: clamp(30px,calc(30px + (45 - 30) * ((100vw - 768px) / (1320 - 768))),45px);
}
.img_text{
    display: grid;
    align-items: end;
    grid-template-columns: 5fr 6fr;
    gap: 10px;
}
.img_text>*{
    border-radius: 20px;
    object-position: center;
}
.img_text>p{
    color: var(--black);
    font-family: "Montserrat_arm";
    font-size: clamp(20px,calc(20px + (24 - 20) * ((100vw - 768px) / (1320 - 768))),24px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 15px;
    border: 1px solid var(--black);
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
}
.first_phase>h2{
    color: var(--brown2);
    font-family: Oldtime;
    font-size: clamp(40px,calc(40px + (50 - 40) * ((100vw - 768px) / (1320 - 768))),50px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -2.5px;
    text-transform: uppercase;
    margin-top: clamp(30px,calc(30px + (80 - 30) * ((100vw - 768px) / (1320 - 768))),80px);
    margin-bottom: clamp(15px,calc(15px + (30 - 15) * ((100vw - 768px) / (1320 - 768))),30px);
}
.stages{
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-content: space-between;
}
.stage{
    margin-top: 10px;
    position: relative;
    height: 320px;
    background-color: var(--brown-dark);
    border-radius: 20px;
    font-family: Montserrat_arm;
    font-weight: 600;
}
.stage_text_button{
    font-family: Montserrat_arm;
    font-weight: 700;
    position: absolute;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(13px,calc(13px + (20 - 13) * ((100vw - 768px) / (1320 - 768))),20px)
    clamp(10px,calc(10px + (25 - 10) * ((100vw - 768px) / (1320 - 768))),25px);
}
.stage_text_button ul{
}
.stage_text_button ul li{
    margin-top: 24px;
}
.stage>img{
    position: absolute;
    bottom:  clamp(10px,calc(10px + (25 - 10) * ((100vw - 768px) / (1320 - 768))),25px);
    right: clamp(2px,calc(2px + (10 - 2) * ((100vw - 768px) / (1320 - 768))),10px);
    height: clamp(30%,calc(30% + (60 - 30) * ((100vw - 320px) / (1320 - 320))),60%);
    width: initial;

}
.btn-secondary{
    background-color: transparent;
    border: 1px solid var(--white);
    display: flex;
    min-width: 218px;
    padding: clamp(10px,calc(10px + (15 - 10) * ((100vw - 768px) / (1320 - 768))),15px) 10px;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: clamp(14px,calc(14px + (18 - 14) * ((100vw - 768px) / (1320 - 768))),18px);
    font-style: normal;
    line-height: normal;
}
.lightning-small{
    min-width: 22px;
    width: 22px;
    height: 25px;
}
.icon-text{
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-text span{
    color: var(--white);
    font-family: Montserrat_arm;
    font-size: clamp(8px,calc(8px + (14 - 8) * ((100vw - 768px) / (1320 - 768))),14px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 70%;
}
.icon-text span.width-limit{
    max-width: 230px;
}
.duration{
    color: var(--white);
    font-family: Arial;
    font-size: clamp(12px,calc(12px + (20 - 12) * ((100vw - 768px) / (1320 - 768))),20px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.second_phase{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: clamp(20px,calc(20px + (45 - 20) * ((100vw - 768px) / (1320 - 768))),45px);
}
.second_phase h2{
    color: var(--brown2);
    font-family: Oldtime;
    font-size: clamp(40px,calc(40px + (50 - 40) * ((100vw - 768px) / (1320 - 768))),50px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -2.5px;
    text-transform: uppercase;
}
.row-1{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    min-height: 310px;
    margin-top: 20px;
}
.row-1>div{
    display: flex;
    flex-direction: column-reverse;
    border-radius: 20px;
    padding: 20px;
}
.row-1 .text_block{
    border: 1px solid var(--black);
}
.counter_block{
    background-color: var(--orange);
    color: var(--white);
    font-family: "Montserrat_arm";
    font-weight: 500;
}
.counter_row{
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
}
.counter_wrapper{
    width: 170px;

}
.counter_wrapper>div{
    font-size: clamp(64px,calc(64px + (96 - 64) * ((100vw - 768px) / (1320 - 768))),96px);
    line-height: 0.8;
}
.counterPlus{
    position: relative;
}
.counter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
}
.counterForFixingWidth{
    display: inline-block;
    position: relative;
    padding-right: clamp(30px,calc(30px + (50 - 30) * ((100vw - 768px) / (1320 - 768))),50px);
    color: transparent;
}
.counterForFixingWidth::after{
    position: absolute;
    content: "+";
    top: 0;
    right: 0;
    color: var(--white);

}
.counter_wrapper span{
    font-size: clamp(20px,calc(20px + (32 - 20) * ((100vw - 768px) / (1320 - 768))),32px);
}
.counter_next_text{
    font-size: clamp(20px,calc(20px + (24 - 20) * ((100vw - 768px) / (1320 - 768))),24px);
}
.text_block{
    font-family: "Montserrat_arm";
    font-size: clamp(20px,calc(20px + (24 - 20) * ((100vw - 768px) / (1320 - 768))),24px);
    font-weight: 400;
}
.text_block p{
    max-width: 520px;
}
.row-2{
    height: 330px;
}
.row-2 img{
    object-position: top right;
    border-radius: 20px;
}
.join_us{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:  clamp(15px,calc(15px + (35 - 15) * ((100vw - 768px) / (1320 - 768))),35px);
    padding-top: 15px;
    background-image: url("../images/bg.jpg");
    background-size: cover;
    border-radius: 20px;
    height: clamp(150px,calc(150px + (260 - 150) * ((100vw - 768px) / (1320 - 320))),260px);
    margin-top: clamp(20px,calc(20px + (67 - 20) * ((100vw - 768px) / (1320 - 768))),67px);
}
.join_us h3{
    color: var(--white);
    font-family: "Montserrat_arm";
    font-size: clamp(36px,calc(36px + (40 - 36) * ((100vw - 768px) / (1320 - 768))),40px);
    font-weight: 500;
    text-align: center;
}



.about_us{
    margin-top: clamp(30px,calc(30px + (80 - 30) * ((100vw - 768px) / (1320 - 768))),80px);

}
.about_us h2{
    color: #D25D1E;
    font-family: Oldtime;
    font-size: clamp(48px,calc(48px + (76 - 48) * ((100vw - 768px) / (1320 - 768))),76px);
    font-weight: 400;
    letter-spacing: -3.8px;
}
.about_us_row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 100%;
    min-height: 520px;
    margin-top: 40px;
    flex-shrink: 1;
}
.about_us_row>div{
    flex-direction: column-reverse;
    border: 1px solid var(--black);
    padding: clamp(10px,calc(10px + (20 - 10) * ((100vw - 1024px) / (1320 - 1024))),20px);
}
.about_us_row>div p{
    font-family: "Montserrat_arm";
    font-size: clamp(20px,calc(20px + (24 - 20) * ((100vw - 768px) / (1320 - 768))),24px);
    font-weight: 400;
    max-width: 100%;
}
.about_us_row>*{
    border-radius: 20px;
}
.about_us_row img{
    height: 520px;
    object-fit: cover;
    object-position: top right;
}

.teaches_block{
    margin-top: clamp(30px,calc(30px + (80 - 30) * ((100vw - 768px) / (1320 - 768))),80px);
    margin-bottom: clamp(30px,calc(30px + (85 - 30) * ((100vw - 768px) / (1320 - 768))),85px);
}
.teachers{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(30px,calc(30px + (40 - 30) * ((100vw - 768px) / (1320 - 768))),40px);
}
.teacher{
    display: flex;
    flex-direction: column;
    gap: 10px;
    aspect-ratio: 1/1;
    height:600px;
}
.teacher img{
    border-radius: 33px;
    height: 63%;

}
.teacher1 img{
    object-position: 0 -55px;
}
.teacher2 img{
    object-position: 0 -110px;
}
.about_teacher{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: var(--orange);
    padding: 20px;
    border-radius: 20px;
}

.teacher_name{
    color: var(--Style);
    font-family: "Montserrat_arm";
    font-size: 27px;
    font-weight: 700;
    height: 60px;
    text-align: center;
}
.teacher_role{
    color: #F3F3F3;

    font-family: Arial;
    font-size: 24px;
    margin-top: 17px;
}
.teacher_socs{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 13px;
}
.teacher_socs>a svg{
    width: 47px;
    height: 52px;
}
a svg.linkedin_icon{
    height: 41px;
}
.conditions{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: clamp(30px,calc(30px + (50 - 30) * ((100vw - 768px) / (1320 - 768))),50px);
    margin-top: clamp(40px,calc(40px + (90 - 40) * ((100vw - 768px) / (1320 - 768))),90px);
}
.conditions h2{
    color: #D25D1E;
    font-family: Oldtime;
    font-size: clamp(48px,calc(48px + (76 - 48) * ((100vw - 768px) / (1320 - 768))),76px);
    font-weight: 400;
    letter-spacing: -3.8px;
}
.conditions_stages{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;

}
.conditions_stage{
    height: 100%;
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.conditions_stage h3{
    border: 1px solid var(--brown2, #B1593A);
    border-radius: 20px;
    padding-top: clamp(30px,calc(30px + (45 - 30) * ((100vw - 768px) / (1320 - 768))),45px);
    padding-bottom: clamp(30px,calc(30px + (45 - 30) * ((100vw - 768px) / (1320 - 768))),45px);
    text-align: center;
    color: var(--brown2);
    font-family: "Montserrat_arm";
    font-size: clamp(38px,calc(38px + (50 - 38) * ((100vw - 768px) / (1320 - 768))),50px);
    font-weight: 600;
    text-transform: uppercase;
}
.conditions_stage h3.change_color{
    color: var(--orange);
    border: 1px solid var(--orange);
}

.conditions_lists{
    color: var(--white);
    background-color: var(--brown2);
    border-radius: 20px;
    height: 610px;
    padding: clamp(20px,calc(20px + (50 - 20) * ((100vw - 768px) / (1320 - 768))),50px)
    clamp(5px,calc(5px + (35 - 5) * ((100vw - 768px) / (1320 - 768))),35px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.conditions_lists.change_color{
    background: var(--brown3);
}
.conditions_lists .list{
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.conditions_lists .list2{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lightning-mid{
    width: 27px;
    height: 33px;
}
.children_icon{
    width: 45px;
    height: 45px;
}
.icon-text1{
    display: flex;
    align-items: center;
    gap: 8px;
}
.icon-text2{
    display: flex;
    align-items: center;
    gap: 25px;
}
.icon-text1 span{
    color: var(--white);
    font-family: Montserrat_arm;
    font-size: 26px;
    font-weight: 500;
}
.icon-text2 span{
    color: var(--white);
    font-family: Montserrat_arm;
    font-size: 26px;
    font-weight: 500;
    max-width: 80%;
}
.price{
    color: var(--white);
    background-color: var(--brown2);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    font-family: "Montserrat_arm";

}
.price2{
    color: var(--white);
    background: var(--brown3);
    border-radius: 20px;
    padding: 30px;
    font-family: "Montserrat_arm";
    font-size: clamp(20px,calc(20px + (28 - 20) * ((100vw - 768px) / (1320 - 768))),28px);
    font-weight: 500;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.price div{
    font-size: 52px;
    font-weight: 600;
}




footer{
    background-color: var(--brown2);
    color: var(--white);
    font-family: Montserrat;
    margin-top: 36px;
    padding-top: 77px;
    overflow: hidden;
}
.contact_row{
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

}
.number_column{

}
.tell{
    font-size: 24px;
    font-weight: 600;
}
.number_column p{
    font-family: Montserrat_arm;
    margin-top: 17px;
    font-size: 14px;
    font-weight: 400;
    width: min(340px, 95%);
}
.tell{

}

.email_column{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
    max-width: 340px;
    margin-left: auto;

}
.email_column a{
    font-weight: 600;
    width: max-content;
}
.soc_column{
    display: flex;
    justify-content: end;
    gap: 10px;
}
.soc_column svg{
    width: 35px;
    height: 35px;
}
.map_row{
    margin-top: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid white;
    overflow-y: hidden;
}
.map_row iframe{
    width: 100%;
    height: 250px;
    border: none;

}


.copy_right_row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow-y: hidden;

}
.legal2{
    display: none;
}

.info_column{
    display: flex;
    flex-direction: column;
    justify-content: space-between;


}
.cookies_column{
    font-size: 14px;
    font-weight: 400;

}
.cookies_column ul{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 17px;
}
.cookies_column span{
    text-decoration: underline;

}

.scroller {
    max-width: 100%;
    background-color: var(--brown2);
    color: var(--white);
    font-family: "Montserrat_arm";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-variant: all-small-caps;
    letter-spacing: 0.5px;
}

.scroller__inner {
    padding-block: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-height: 60px;
}
.animated_text_icon{
    display: flex;
    align-items: center;
    gap: 10px;
}
.scroller__inner svg{
    width: 33px;
    height: 33px;
}
.scroller[data-animated="true"] {
    overflow: hidden;
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 30s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 60s;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}

@media (max-width: 1320px){
    .container{
        overflow: hidden;
    }
}
@media (max-width: 1024px) {
    .teacher img{
        border-radius: 14px;
    }
    .about_teacher{
        border-radius: 14px;
    }
    .swiper1{
        margin-top: 10px;
    }
    .about_us_row img{
        max-height: 350px;
    }
    .about_us_row .text_block {
        /*padding-top: 50px;*/
    }
    .duration{
        font-weight: 600;
        padding-left: 10px;
        padding-bottom: 5px;
    }
    .discover_block{
        display: none;
    }

    .contact_row{
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 0;
    }
    .email_column{
        margin-left: 0;
        font-size: 26px;
        flex-direction: column-reverse;
        gap: 40px;
    }
    .tell{
        font-size: clamp(18px,calc(18px + (42 - 18) * ((100vw - 320px) / (1024 - 320))),42px);
    }
    .number_column p{
        font-size: clamp(9px,calc(9px + (20 - 9) * ((100vw - 320px) / (1024 - 320))),20px);
    }
    .email_column a{
        font-size: clamp(14px,calc(14px + (32 - 14) * ((100vw - 320px) / (1024 - 320))),32px);
    }
    .email_column{
        order: 3;
        max-width: 90%;
    }
    .email_column p{
        font-size: clamp(11px,calc(11px + (26 - 11) * ((100vw - 320px) / (1024 - 320))),26px);
    }
    .soc_column{
        margin-left: auto;
        position: relative;
        top: clamp(20px,calc(20px + (50 - 20) * ((100vw - 320px) / (1024 - 320))),50px);
    }
    .soc_column svg{
        height: clamp(20px,calc(20px + (48 - 20) * ((100vw - 320px) / (1024 - 320))),48px);
        width: clamp(20px,calc(20px + (48 - 20) * ((100vw - 320px) / (1024 - 320))),48px);
    }
    .copy_right_row{
        font-size: clamp(10px,calc(10px + (24 - 10) * ((100vw - 320px) / (1024 - 320))),24px);
        display: flex;
        flex-direction: column-reverse;
    }
    .legal1{
        display: none;
    }
    .legal2{
        display: block;
        margin-bottom: 30px;
    }
    .info_column p{
        margin-top: 50px;
    }
    .cookies_column{
        font-size: clamp(10px,calc(10px + (24 - 10) * ((100vw - 320px) / (1024 - 320))),24px);
        width: 95%;
    }


    .stages{
        display: flex;
        min-width: 0;
        cursor: grab;
    }
    .stages:active{
        cursor: grabbing;
    }
    .stage{
        width: 260px;
        flex-shrink: 0;
    }
    .teachers{
        width: auto;
    }
    .teacher{
        width: 400px;
        flex-shrink: 0;
        cursor: grab;
    }
    .teacher:active{
        cursor: grabbing;
    }
    .about_us_row{
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .text_block{
        padding-right: 0;
    }
    .conditions_lists .list{
        gap: clamp(10px,calc(10px + (30 - 10) * ((100vw - 320px) / (1024 - 320))),30px);
    }
    .icon-text1 span{
        font-size: clamp(20px,calc(20px + (24 - 20) * ((100vw - 320px) / (1024 - 320))),24px);

    }
    .icon-text2 span{
        font-size: clamp(20px,calc(20px + (24 - 20) * ((100vw - 320px) / (1024 - 320))),24px);

    }
    .icon-text2{
        gap: clamp(5px,calc(5px + (25 - 5) * ((100vw - 320px) / (1024 - 320))),25px);

    }





    .languages{
        margin-right: clamp(20px,calc(20px + (49 - 20) * ((100vw - 320px) / (1024 - 320))),49px);
        margin-left: auto;
        padding-bottom: 0;
    }
    .languages li{
        font-size: clamp(12px,calc(12px + (16 - 12) * ((100vw - 320px) / (1024 - 320))),16px);
        padding-bottom: 0;
    }
    footer{
        margin-top: clamp(15px,calc(15px + (36 - 15) * ((100vw - 320px) / (1024 - 320))),36px);
        padding-top:  clamp(25px,calc(25px + (77 - 25) * ((100vw - 320px) / (1024 - 320))),77px);
    }




    .burger_icon{
        display: flex;
    }
    .menu{
        position: fixed;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        gap: clamp(30px,calc(30px + (50 - 30) * ((100vw - 320px) / (768 - 320))),50px);
        align-items: start;
        padding-top: clamp(25px,calc(25px + (60 - 25) * ((100vw - 320px) / (768 - 320))),60px);
        padding-left: clamp(15px,calc(15px + (50 - 15) * ((100vw - 320px) / (768 - 320))),50px);
    }
    .menu li{
        font-size: clamp(16px,calc(16px + (38 - 16) * ((100vw - 320px) / (768 - 320))),38px);
        font-weight: 500;
        color: #252525;
    }
    .menu li a{
        padding: 5px clamp(5px,calc(5px + (17 - 5) * ((100vw - 320px) / (768 - 320))),17px);
    }
    .menu li a.active:after{
        opacity: 0;
    }
    .hide_menu{
        position: fixed;
        top: -120vh;
    }
}
@media (max-width: 768px) {
    .teacher img{
        border-radius: 10px;
    }
    .about_teacher{
        border-radius: 21px;
    }
    .logo_wrapper span{
        font-size: clamp(20px,calc(20px + (28 - 20) * ((100vw - 320px) / (768 - 320))),28px);
    }
    .overlay h2{
        font-size: clamp(16px,calc(16px + (28 - 16) * ((100vw - 320px) / (768 - 320))),28px);
    }
    .btn{
        font-size: clamp(10px,calc(10px + (13 - 10) * ((100vw - 320px) / (768 - 320))),13px);
    }
    .btn-main{
        padding: clamp(12px,calc(12px + (16 - 12) * ((100vw - 320px) / (768 - 320))),16px)
                 clamp(45px,calc(45px + (60 - 45) * ((100vw - 320px) / (768 - 320))),60px);
    }
    .discover_block_1 h2{
        font-size: clamp(12px,calc(12px + (18 - 12) * ((100vw - 320px) / (768 - 320))),18px);
    }
    .educational_program h2{
        font-size: clamp(24px,calc(24px + (48 - 24) * ((100vw - 320px) / (768 - 320))),48px);
        letter-spacing: 0.2px;
    }
    .img_text>p{
        font-size: clamp(12px,calc(12px + (20 - 12) * ((100vw - 320px) / (768 - 320))),20px);
        height: auto;
    }
    .first_phase>h2{
        font-size: clamp(20px,calc(20px + (40 - 20) * ((100vw - 320px) / (768 - 320))),40px);
        letter-spacing: 0.2px;
    }
    .second_phase h2{
        font-size: clamp(20px,calc(20px + (40 - 20) * ((100vw - 320px) / (768 - 320))),40px);
        letter-spacing: 0.2px;
    }
    .counter_wrapper>div{
        font-size: clamp(42px,calc(42px + (64 - 42) * ((100vw - 320px) / (768 - 320))),64px);
        letter-spacing: 0.2px;
    }
    .counter_wrapper span{
        font-size: clamp(12px,calc(12px + (20 - 12) * ((100vw - 320px) / (768 - 320))),20px);
    }
    .counter_next_text{
        font-size: clamp(12px,calc(12px + (20 - 12) * ((100vw - 320px) / (768 - 320))),20px);
    }
    .text_block{
        font-size: clamp(12px,calc(12px + (20 - 12) * ((100vw - 320px) / (768 - 320))),20px);
    }
    .join_us h3{
        font-size: clamp(16px,calc(16px + (36 - 16) * ((100vw - 320px) / (768 - 320))),36px);
        letter-spacing: 0.2px;
    }
    .about_us h2{
        font-size: clamp(24px,calc(24px + (48 - 24) * ((100vw - 320px) / (768 - 320))),48px);
        letter-spacing: 0.2px;
    }
    .about_us_row>div p{
        font-size: clamp(12px,calc(12px + (20 - 12) * ((100vw - 320px) / (768 - 320))),20px);
    }
    .conditions h2{
        font-size: clamp(24px,calc(24px + (48 - 24) * ((100vw - 320px) / (768 - 320))),48px);
        letter-spacing: 0.2px;
    }
    .conditions_stage h3{
        padding-top: clamp(15px,calc(15px + (30 - 15) * ((100vw - 320px) / (768 - 320))),30px);
        padding-bottom: clamp(15px,calc(15px + (30 - 15) * ((100vw - 320px) / (768 - 320))),30px);
        font-size: clamp(18px,calc(18px + (38 - 18) * ((100vw - 320px) / (768 - 320))),38px);
        letter-spacing: 0.2px;
    }
    .icon-text1 span{
        font-size: clamp(14px,calc(14px + (26 - 14) * ((100vw - 320px) / (768 - 320))),26px);
    }
    .price2{
        font-size: clamp(14px,calc(14px + (28 - 14) * ((100vw - 320px) / (768 - 320))),28px);
        padding: clamp(10px,calc(10px + (30 - 10) * ((100vw - 320px) / (768 - 320))),30px);
        height: clamp(100px,calc(100px + (160 - 100) * ((100vw - 320px) / (768 - 320))),160px);

    }
    .price{
        padding: clamp(15px,calc(15px + (40 - 15) * ((100vw - 320px) / (768 - 320))),40px);
        width: 100%;
    }
    .price div{
        font-size: clamp(24px,calc(24px + (52 - 24) * ((100vw - 320px) / (768 - 320))),52px);
        padding-left: 30%;

    }
    .price p{
        padding-left: 30%;

    }
    .icon-text2 span{
        font-size: clamp(12px,calc(12px + (26 - 12) * ((100vw - 320px) / (768 - 320))),26px);
        font-weight: 400;

    }
    .conditions_lists{
        height: clamp(400px,calc(400px + (600 - 400) * ((100vw - 320px) / (768 - 320))),600px);

    }
    .conditions_lists .list{
        gap: clamp(10px,calc(10px + (30 - 10) * ((100vw - 320px) / (768 - 320))),30px);
    }
    .children_icon{
        width: clamp(20px,calc(20px + (45 - 20) * ((100vw - 320px) / (768 - 320))),45px);
        height: clamp(20px,calc(20px + (45 - 20) * ((100vw - 320px) / (768 - 320))),45px);
    }
    .counter_row{
        gap: clamp(5px,calc(5px + (25 - 5) * ((100vw - 320px) / (768 - 320))),25px);
    }


    header{
        height: clamp(30px,calc(30px + (50 - 30) * ((100vw - 320px) / (768 - 320))),50px);
    }
    .header_fixed{
        height: clamp(40px,calc(40px + (50 - 40) * ((100vw - 320px) / (768 - 320))),50px);
    }
    .burger_icon{
        height: clamp(25px,calc(25px + (30 - 25) * ((100vw - 320px) / (768 - 320))),30px);
    }
    .icon-text2{
        gap: clamp(5px,calc(5px + (25 - 5) * ((100vw - 320px) / (768 - 320))),25px);

    }



    .first_screen{
        display: flex;
        flex-direction: column;

    }
    .discover_block{


    }
    .img_text{
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    .row-1{
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 15px;
    }
    .row-1>div{
        height: auto;
    }
    .row-2{
        height: clamp(170px,calc(170px + (330 - 170) * ((100vw - 320px) / (768 - 320))),330px);
    }


    .conditions_stages{
        flex-direction: column;
    }

}
@media (max-width: 320px) {
    .logo_wrapper span{
        font-size: clamp(10px,calc(10px + (20 - 10) * ((100vw - 200px) / (320 - 200))),20px);
    }
    .languages{
        margin-right: clamp(10px,calc(10px + (20 - 10) * ((100vw - 200px) / (320 - 200))),20px);
    }
    .languages li{
        font-size: clamp(8px,calc(8px + (12 - 8) * ((100vw - 200px) / (320 - 200))),12px);
        padding: 2px;
    }
    .img_text>p{
        padding: 10px;
        font-size: clamp(8px,calc(8px + (12 - 8) * ((100vw - 200px) / (320 - 200))),12px);
        height: auto;

    }
    .scroller__inner{
        padding: 5px;
    }
    .row-1>div{
        padding: 10px;
    }
    .price2{
        font-size: clamp(10px,calc(10px + (14 - 10) * ((100vw - 200px) / (320 - 200))),14px);
    }
    .email_column a{
        font-size: clamp(10px,calc(10px + (14 - 10) * ((100vw - 200px) / (320 - 200))),14px);

    }
    .soc_column{
        gap: 5px;
    }
}
