.main {
    font-family: "Roboto","Open Sans", sans-serif;
    background: #ffffff;
    scroll-behavior: smooth;
}

.main_logo{
    text-decoration: none;
}

.mess_link{
    text-decoration: none;
}

.wrapper {
    min-width: 320px;
    width: 100%;
    margin: 0 auto;
}
.head_nav{
    padding-bottom: 12px;
    padding-top: 12px;
    background-color: #791221;

}
.head_nav_block{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.head_nav_links{
    width: 43%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}
.head_nav_link{
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    color: #ffffff;
    text-decoration: none;
}
.head_nav_button{
    padding: 10px 32px;
    border-radius: 100px;
    background-color: #ffffff;
    color: #791221;
    cursor: pointer;
    border: none;
    font-size: 19px;
    font-weight: 500;
    line-height: 27px;
    text-decoration: none;
}

.lang_block{
    width: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #D9D9DB1F;
    border-radius: 20px;
}
.lang_block_text{
    font-family: Roboto;
    box-sizing: border-box;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}
.lang_block_act{
    background: #FFFFFF26;
    border-radius: 20px;
}
.lang_block_header-burger{
    margin-top: 28px;
}

.white_line{
    height: 3px;
    width: 100%;
    color: #ffffff;
}

.top{
    background: url("../img/cartoon-map-world-with-map-world-it.jpg") no-repeat center;
    background-size: cover;
    padding-top: 160px;
    padding-bottom: 100px;
    border-bottom: 3px solid #791221;
    position: relative;
}
.top_block{
    position: relative;
}
.h1_top{
    font-family: Roboto;
    color: #FFFFFF;
}
.content_top{
    font-family: Roboto;
    color: #ffffff;

}
.button_top_box{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.button_top{
    color: #ffffff;
    background: none;
    font-family: Open Sans;

    padding: 14px 43px;
    border: 4px solid #791221;
    border-radius: 38px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 70px 0px #BFACD359;

    cursor: pointer;
}
.top_messengers_box{
    display: flex;
    justify-content: center;
}
.top_messengers{
    display: flex;
    flex-direction: row;
}
.svg_top_pos {
    position: absolute;
    left: calc(50% - 41px);
    bottom: -43px;
    text-decoration: none;
    cursor: pointer;
}
.svg_top{
}

.about{
    margin-top: 64px;
    margin-bottom: 20px;
}
.about_title{
    font-family: Roboto;
    font-weight: 600;
    line-height: 62px;
    color: #791221;
}
.about_top_block{
    width: 100%;
    box-sizing: border-box;
    background-color: #791221;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
}
.about_top_box{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.about_top_box_content{
    margin-left: 12px;
}
.about_top_box_content_text_top{
    font-family: Open Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #ffffff;
}
.about_top_box_content_text{
    font-family: Open Sans;
    font-size: 28px;
    font-weight: 600;
    line-height: 24px;
    color: #ffffff;
}

.lesson_type_block{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.lesson_type_content_box{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.lesson_type_box{
    padding: 24px 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #791221;
    border-radius: 30px;
}
.lesson_type_box_title{
    font-family: Open Sans;
    font-size: 32px;
    font-weight: 600;
    line-height: 44px;
    text-align: left;
    color: #ffffff;
    margin-bottom: 26px;

}
.lesson_type_box_content{
    font-family: Open Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #ffffff;
    margin-bottom: 32px;
}
.lesson_block_coast_line{
    height: 100%;
    box-sizing: border-box;
    width: 1px;
    margin-left: 6px;
    margin-right: 6px;
    background: #000000;
}
.lesson_block_coast_line_white{
    height: 100%;
    box-sizing: border-box;
    width: 1px;
    margin-left: 6px;
    margin-right: 6px;
    background: #FFFFFF;
}
.lesson_coast{
    font-family: Open Sans;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #000000;
}
.lesson_coast_white{
    font-family: Open Sans;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #ffffff;
}
.lesson_type_img{
    max-width: 35%;
    background-color: #791221;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
}
.lesson_type_img_white{
    max-width: 35%;
    background-color: #F3F3F3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
}
.lesson_type_box_white{
    padding: 24px 16px;
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 46%;
    background-color: #F3F3F3;
}
.lesson_type_box_title_white{
    font-family: Open Sans;
    font-size: 32px;
    font-weight: 600;
    line-height: 44px;
    text-align: left;
    color: #000000;
    margin-bottom: 26px;

}
.lesson_type_box_content_white{
    font-family: Open Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #000000;
    margin-bottom: 32px;
}
.lessons_price{
    width: fit-content;
    border-radius: 30px;
    border: 1px solid #FFFFFF;
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}
.lessons_price_white{
    width: fit-content;
    border-radius: 30px;
    border: 1px solid #000000;
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}
.lessons_price_title{
    padding: 10px 10px;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #ffffff;
}
.lessons_price_title_white{
    padding: 10px 10px;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #000000;
}
.lesson_block_coast{
    padding: 10px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 30px;
    background-color: #ffffff;

}
.lesson_block_coast_white{
    padding: 10px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 30px;
    background-color: #791221;
}

.lesson_type_btns{
    margin-top: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.lesson_type_btn_left{
    transform: scaleX(-1);
    transition: opacity .5s;
    opacity: .5;
    cursor: pointer;
    margin-right: 3px;
}
.lesson_type_btn_left:hover{
    transition: opacity .5s;
    opacity: 1;
}
.lesson_type_btn_right{
    transition: opacity .5s;
    opacity: .5;
    cursor: pointer;
    margin-left: 3px;
}
.lesson_type_btn_right:hover{
    transition: opacity .5s;
    opacity: 1;
}

.lesson_type_mob{
    width: 100%;
    background-color: #791221;
    border-radius: 30px;
    padding: 26px 20px 38px 20px;
    box-sizing: border-box;
}
.lesson_type_mob_title{
    font-family: Open Sans;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    color: #FFFFFF;
    margin-bottom: 10px;
}
.lesson_type_mob_text{
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.lessons_price_mob{
    box-sizing: border-box;
    width: fit-content;
    border-radius: 30px;
    border: 1px solid #FFFFFF;
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    align-items: center;
}
.lessons_price_title_mob{
    box-sizing: border-box;
    padding: 10px 16px;
    font-family: Open Sans;
    font-size: 11px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #ffffff;
}
.lesson_block_coast_mob{
    box-sizing: border-box;
    border-radius: 28px;
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.lesson_coast_mob{
    font-family: Open Sans;
    font-size: 11px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    padding: 10px 16px;
    color: #000000;
    box-sizing: border-box;
}
.lesson_coast_line_mob{
    box-sizing: border-box;
    width: 1px;
    height: 24px;
    background-color: #000000;
}
.lesson_type_img_mob{
    margin-top: 22px;
    background-color: #791221;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
    height: 210px;
    object-fit: cover;
}
.lesson_img_mob{
    object-fit: cover;
}
.lesson_img_mob_s1{
    background: url("../img/online.jpg") no-repeat top;
    background-size: cover;
}
.lesson_img_mob_s2{
    background: url("../img/bussines.png") no-repeat top;
    background-size: cover;
}
.lesson_img_mob_s3{
    background: url("../img/zno.png") no-repeat top;
    background-size: cover;
}
.lesson_img_mob_s4{
    background: url("../img/offline.png") no-repeat top;
    background-size: cover;
}
.lesson_type_btn_block_mob{
    margin-top: 38px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.lesson_type_btn_left_mob{
    transform: scaleX(-1);
    transition: opacity .5s;
    opacity: .5;
    cursor: pointer;
    margin-right: 3px;
}
.lesson_type_btn_left_mob:hover{
    transition: opacity .5s;
    opacity: 1;
}
.lesson_type_btn_right_mob{
    transition: opacity .5s;
    opacity: .5;
    cursor: pointer;
    margin-left: 3px;
}
.lesson_type_btn_right_mob:hover{
    transition: opacity .5s;
    opacity: 1;
}

.teacher_background{
    padding-bottom: 50px;
    background-color: #791221;
}
.teacher_title{
    font-family: Open Sans;
    font-weight: 600;
    line-height: 63px;
    text-align: center;
    color: #ffffff;
}
.teacher_box{
    transition: all .5s;
    box-sizing: border-box;
    display: inline-block;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 30px;
    background: #00000033;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-right: 20px;
    cursor: pointer;
}
.teacher_box:hover{
    background: #FFFFFF;
    transition: all .5s
}
.teacher_box_last{
    margin-right: 0;
}

.teacher_photo_box{
    text-align: center;
    margin-left: 22px;
    margin-right: 22px;
    border-radius: 22px;
    height: 320px;
    overflow: hidden;
}
.teacher_photo{
    width: 100%;
}
.teacher_name{
    font-family: Open Sans;
    font-size: 32px;
    font-weight: 600;
    line-height: 44px;
    text-align: left;
    margin-bottom: 40px;
    color: #ffffff;
    transition: all .5s ;
}
.teacher_box:hover .teacher_name{
    color: #791221;
    transition: all .5s ;
}
.teacher_level{
    transition: all .5s;
    overflow: hidden;
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #000000;
    padding: 8px 12px;
    background-color: #ffffff;
    border-radius: 20px;
}
.teacher_box:hover .teacher_level {
    transition: all .5s;
    color: #FFFFFF;
    background-color: #791221;

}
.teacher_level_mb{
    margin-bottom: 10px;
    width: fit-content;
}
.teacher_data{
    margin-top: 12px;
    margin-left: 22px;
    margin-right: 22px;
}
.teachers_block{
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space:nowrap;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.teachers_block::-webkit-scrollbar {
    width: 0;
}
.teacher_level_data{
    text-align: left;
    height: 80px;
    white-space: pre-wrap;

}
.teachers_type_btns{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 40px;
}
.teachers_type_btn_left{
    transform: scaleX(-1);
    margin-right: 10px;
    transition: opacity .5s;
    opacity: .5;
    cursor: pointer;
}
.teachers_type_btn_left:hover{
    transition: opacity .5s;
    opacity: 1;
}
.teachers_type_btn_right{
    margin-left: 10px;
    transition: opacity .5s;
    opacity: .5;
    cursor: pointer;
}
.teachers_type_btn_right:hover{
    transition: opacity .5s;
    opacity: 1;
}

.about_school_background{
    margin-top: 40px;
    margin-bottom: 70px;
    /*height: 900px;*/
}
.about_school_title{
    font-family: Open Sans;
    font-weight: 700;
    line-height: 63px;
    color: #791221;
    margin-bottom: 34px;
}
.about_school_block{
    position: relative;
}

.future_background{
    padding-bottom: 50px;
    background-color: #791221;
}
.future_block{
    display: flex;
    justify-content: space-between;
}
.future_title{
    font-family: Open Sans;
    font-weight: 600;
    line-height: 63px;
    color: #ffffff;
}
.future_data{
    position: relative;
}
.future_data_box{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 3px solid #FFFFFF;
    border-radius: 30px;
}
.future_data_box_mb{
    margin-bottom: 32px;
}
.future_data_box_text{
    font-family: Open Sans;
    font-weight: 400;
    text-align: left;
    color: #ffffff;
    margin-left: 12px;
}
.future_free_lesson {
    position: relative;
    background: url("../img/Background_lesson.png") no-repeat center, #00000033;
    background-size: 100% 100%;
    /*width: 40%;*/
    border-radius: 30px;

}
.future_free_lesson_title_box{
    width: 100%;
    background-color: #ffffff;
    border-radius: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    margin-bottom: 16px;
}
.future_free_lesson_title{
    font-family: Open Sans;
    font-weight: 600;
    text-align: center;
    color: #791221;
}
.future_free_lesson_time{
    padding: 17px;
    border: 1px solid #FFFFFF;
    border-radius: 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 32px;
}
.future_free_lesson_time_data{
    font-family: Open Sans;
    font-weight: 400;
    line-height: 24px;
    color: #ffffff;
}
.future_free_lesson_time_line{
    width: 1px;
    background: #ffffff;
}
.future_free_lesson_gift_box{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.future_free_lesson_gift_img{
    position: absolute;
    left: 10%;
}
.future_free_lesson_gift_text{
    text-align: center;
    width: 60%;
    font-family: Open Sans;
    font-weight: 400;
    line-height: 24px;
    color: #ffffff;
}
.future_free_lesson_button_box{
    position: relative;
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.future_free_lesson_button{
    text-align: center;
    width: fit-content;
    padding: 20px 60px;
    background-color: #791221;
    border-radius: 100px;
    border: 10px solid #FFFFFF;
    font-family: Open Sans;
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;
    color: #ffffff;
    cursor: pointer;
}

.test_background{
    padding-top: 36px;
    padding-bottom: 36px;
    background-color: #791221;

}
.text_title{
    font-family: Open Sans;
    font-weight: 600;
    line-height: 63px;
    color: #ffffff;
}
.test_top_block{
    background-color: #791221;
    display: flex;
    justify-content: space-between;
    border: 10px solid #ffffff;
    border-radius: 30px;
    align-items: center;
    margin-bottom: 20px;
}
.test_top_block_text{
    font-family: Open Sans;
    font-weight: 700;
    color: #ffffff;
}
.test_top_block_button{
    padding: 18px 34px;
    background-color: #ffffff;
    color: #791221;
    border: none;
    font-family: Open Sans;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    border-radius: 100px;
    cursor: pointer;
}
.test_block{
    background-size: 100% 100%;
    border: 10px solid #ffffff;
    border-radius: 30px;
}
.test_block_top_content{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}
.test_block_top_text{
    font-family: Open Sans;
    margin-left: 14px;
    font-weight: 600;
    text-align: left;
    color: #000000;
}
.test_block_top_text_color{
    color: #ffffff;
}
.test_block_text{
    font-family: Open Sans;
    font-weight: 400;
    line-height: 27px;
    text-align: left;
    color: #ffffff;
    margin-top: 38px;
    margin-bottom: 86px;
}
.test_block_text_mob{
    margin-bottom: 24px;

}

.test_block_text_bolt{
    font-weight: 700;
}

.input_block_background{
    background:linear-gradient(to right, rgba(18, 39, 60, 0.82), rgba(18, 39, 60, 0.82)), url("../img/inpBack.png") no-repeat center;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}
.input_block_title{
    font-family: Open Sans;
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}
.input_block{
    margin: 0 auto;
}
.input_block_top{
    display: flex;
    justify-content: space-between;
}
.input_style{
    padding: 4px 0;
    background: none;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid #FFFFFF;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
    color: #FFFFFF;
    width: 100%;
    margin-bottom: 32px;
}

.input_style:focus{
    outline: none;
}
.input_style::placeholder{
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
    color: #FFFFFF;
}
.input_style:focus::placeholder{
    opacity: 0.2;
}
.input_block_text{
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    margin-bottom: 32px;
    color: #FFFFFF;
}


.footer_background{
    background-color: #791221;
    padding-top: 30px;
    padding-bottom: 30px;
}
.footer_top{

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.footer_top_content_pos{
    display:flex ;
    flex-direction: column;
    align-items: end;

}
.footer_top_content{
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #ffffff;
    text-decoration: none;
}
.footer_nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.footer_bottom_fullStack_mr{
    margin-right: 5px;
}
.footer_bottom_content_cookies{
    flex-direction: row;
    justify-content: space-between;
}
.footer_bottom_content_cookies_mr{
    margin-right: 20px;
}
.top_messengers_footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_bottom{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.footer_bottom_content{
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #ffffff;
}
.contact_input_background{
    padding-top: 80px;
    padding-bottom: 60px;
    background-color: #791221;
}
.contact_input_block{
    display: flex;
    justify-content: space-between;
}
.contact_input_content_title{
    font-family: Open Sans;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    color: #FFFFFF;
    margin-bottom: 12px;
}
.contact_input_content_text{
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #FFFFFF;
}
.contact_top_block_button{
    background-color: #FFFFFF;
    color:#791221;
}

.invisible{
    display: none;
}

@media (min-width: 320px) {
    .wrapper {
        max-width: 290px;
    }
    .messenger{
        width: 24px;
        height: 24px;
    }
    .head_nav_block{
        display: none;
    }
    .h1_top{
        font-family: Roboto;
        font-size: 24px;
        font-weight: 600;
        line-height: 30px;
        text-align: left;
        margin-bottom: 10px;
    }
    .content_top{
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        text-align: left;
        margin-bottom: 30px;
    }
    .button_top_img{
        display: none;
    }
    .button_top{
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 60px;
    }
    .top_messengers{
        width: 80%;
        justify-content: space-around;
    }

    .about_title{
        font-size: 24px;
        text-align: left;
        margin-bottom: 20px;
    }
    .about_top_block{
        padding: 24px 24px;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .about_top_box_content_text_top{
        display: none;
    }
    .about_top_box{
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #FFFFFF ;
    }
    .about_top_box_content_text{
        font-size: 15px;
    }
    .lesson_type{
        display: none;
    }

    .teacher_background {
        padding-top: 34px;
    }
    .teacher_title{
        font-size: 24px;
        text-align: left;
        margin-bottom: 20px;

    }
    .teacher_box {
        width: 320px;
    }

    .about_school_title{
        font-size: 24px;
        text-align: left;

    }
    .about_school_s1{
        overflow: hidden;
        box-sizing: border-box;
        padding: 14px 24px;
        border-radius: 30px;
        background: #791221;
    }
    .about_school_s1_img{
        border-radius: 20px;
        margin-bottom: 24px;
        width: 100%;
    }
    .about_school_s_text_title{
        font-family: Open Sans;
        font-size: 20px;
        font-weight: 600;
        line-height: 33px;
        text-align: left;
        margin-bottom: 22px;
        color: #FFFFFF;

    }
    .about_school_s_text{
        font-family: Open Sans;
        font-size: 14px;
        font-weight: 400;
        line-height: 27px;
        text-align: left;
        color: #FFFFFF;
    }
    .about_school_s2{
        overflow: hidden;
        box-sizing: border-box;
        padding: 14px 24px;
        border-radius: 30px;
        background: #791221;
    }
    .about_school_s3{
        overflow: hidden;
        box-sizing: border-box;
        height: 187px;
        padding: 14px 24px;
        border-radius: 30px;
        background: #791221;
    }
    .about_school_s3_content{
        display: flex ;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .about_school_s3_img{
        display: none;
    }
    .about_school_s4{
        overflow: hidden;
        box-sizing: border-box;
        border-radius: 30px;
        padding: 14px 24px;
        background: #791221;
    }
    .about_school_s4_img{
        width: 60%;
        margin-bottom: 16px;
    }
    .about_school_s5{
        overflow: hidden;
        box-sizing: border-box;
        border-radius: 30px;
        padding: 14px 24px;
        background: #791221;
    }
    .about_school_s5_img{
        display: none
    }
    .about_school_big_img{
        width: 100%;
    }
    .about_school_block_mb{
        margin-bottom: 12px;
    }

    .future_background{
        padding-top: 34px;
    }
    .future_title{
        font-size: 24px;
        text-align: left;
        margin-bottom: 20px;

    }
    .future_block{
        flex-direction: column;
    }
    .future_data_box{
        width: 100%;
        padding: 18px 13px;
    }
    .future_data_box_img{
        width: 37px;
        height: 34px;
    }
    .future_data_box_text {
        font-size: 12px;
        line-height: 16px;

    }
    .future_free_lesson_title{
        font-size: 20px;
        line-height: 25px;
    }
    .future_free_lesson{
        margin-top: 12px;
        width: 100%;
        box-sizing: border-box;
        padding: 16px 16px 280px 16px;
    }
    .future_free_lesson_time_data {
        font-size: 12px;
    }
    .future_free_lesson_gift_text {
        font-size: 12px;

    }

    .text_title{
        font-size: 24px;
        text-align: left;
        margin-bottom: 22px;
    }

    .test_top_block{
        flex-direction: column;
        padding: 32px 46px;

    }
    .test_top_block_text{
        font-size: 19px;
        line-height: 25px;
        margin-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    .test_top_block_button{
        font-size: 16px;
    }

    .test_block{
        background: #791221;
        padding: 14px 16px;
    }
    .test_block_top_text {
        font-size: 16px;
        line-height: 20px;
    }
    .test_block_top_content_img{
        width: 42px;
        height: 37px;
    }
    .test_block_text {
        font-size: 16px;
        width: 100%;
        text-align: left;
    }
    .test_block_mob_img{
        background: url("../img/Test1.jpg") no-repeat center, #791221;
        border-radius: 20px;
        box-sizing: border-box;
        width: 100%;
        height: 226px;
        margin-top: 24px;
    }
    .test_top_block_button_box{
        width: 100%;
        text-align: center;
    }
    .test_block_top_content_big{
        display: none;
    }


    .input_block{
        width: 80%;
    }
    .input_block_top{
        flex-direction: column;
    }
    .input_style_top{
        width: 100%;
    }

    .footer_nav{
        flex-direction: column;
    }
    .footer_nav_link{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    .top_messengers_footer{
        display: none;
    }
    .footer_bottom_content_cookies{
        display: none;
    }
    .footer_bottom_fullStack{
        display: none;
    }
    .footer_bottom{
        justify-content: center;
    }
    .footer_bottom_fullStack_mob{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .footer_bottom_content_mob{
        font-family: Open Sans;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        color: #ffffff;
    }
    .contact_input_block{
        flex-direction: column;
    }
    .input_block_contacts{
        width: 100%;
    }
    .contact_input_content{
        width: 100%;
        padding-right: 0;
        margin-bottom: 24px;
    }

}
@media (min-width: 410px) {
    .wrapper {
        max-width: 370px;
    }
}
@media (min-width: 510px) {
    .wrapper {
        max-width: 470px;
    }
}
@media (min-width: 610px) {
    .wrapper {
        max-width: 570px;
    }
    .lesson_type_mob{
        display: none;
    }
    .lesson_type{
        display: block;
    }
    .lesson_type_box{
        width: 100%;
    }
    .lesson_type_box_white{
        width: 100%;
    }

    .teacher_background{
        padding-top: 75px;
    }
    .teacher_title{
        font-size: 46px;
        text-align: center;
        margin-bottom: 60px;

    }
    .teacher_box {
        width: 360px;
    }
}
@media (min-width: 710px) {
    .wrapper {
        max-width: 670px;
    }
    .messenger{
        width: 36px;
        height: 36px;
    }
    .about_top_block{
        flex-direction: row;
        margin-bottom: 42px;
    }
    .about_top_box{
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    .input_block{
        width: 60%;
    }
    .input_block_top{
        flex-direction: row;
    }
    .input_style_top{
        width: 48%;
    }

    .contact_input_block{
        flex-direction: row;
    }
    .input_block_contacts{
        width: 48%;
    }
    .contact_input_content{
        width: 48%;
        padding-right: 100px;
        margin-bottom: 0;

    }
}
@media (min-width: 768px) {
    .top_messengers{
        display: flex;
        width: 30%;
        justify-content: space-between;
    }
    .future_background{
        padding-top: 75px;
    }
    .future_title{
        font-size: 46px;
        text-align: center;
        margin-bottom: 60px;
    }
    .future_block{
        flex-direction: row;
    }
    .future_free_lesson{
        width: 40%;
        padding: 16px;
        margin-top: 0;
    }
    .future_free_lesson_title {
        font-size: 32px;
        line-height: 44px;
    }
    .future_free_lesson_time_data {
        font-size: 18px;
    }
    .future_data_box_s2{
        position: relative;
        left: 30%;
        padding-right: 80px;
    }
    .future_data_box_s4{
        position: relative;
        left: 10%;
    }
    .future_free_lesson_gift_text {
        font-size: 18px;
    }
    .future_data_box_img{
        width: auto;
        height: auto;
    }
    .future_data_box_text {
        font-size: 18px;
        line-height: 24px;
    }
    .future_data_box{
        width: fit-content;
        padding: 25px 19px;
    }
    .text_title{
        font-size: 46px;
        text-align: center;
        margin-bottom: 36px;
    }
    .test_block_top_content_big{
        display: block;
    }
    .test_block_top_content_mob{
        display: none;
    }
    }
@media (min-width: 810px) {
    .wrapper {
        max-width: 770px;
    }
    .button_top_img{
        display: block;
    }
    .about_title{
        font-size: 46px;
        text-align: center;
        margin-bottom: 40px;
    }
    .about_top_block{
        padding: 34px 80px;
        flex-direction: row;
    }
    .about_top_box_content_text_top{
        display: block;
    }
    .about_top_box_content_text{
        font-size: 28px;
    }

    .about_school_title{
        font-size: 46px;
        text-align: center;
    }
    .about_school_s1{
        position: relative;
        left: 0;
        top: -64px;
        overflow: hidden;
        box-sizing: border-box;
        width: 416px;
        padding: 30px;
        border-radius: 30px;
        background: #791221;
    }
    .about_school_s1_img{
        border-radius: 20px;
        margin-bottom: 24px;
    }
    .about_school_s_text_title{
        font-family: Open Sans;
        font-size: 24px;
        font-weight: 600;
        line-height: 33px;
        text-align: left;
        margin-bottom: 22px;
        color: #FFFFFF;
    }
    .about_school_s_text{
        font-family: Open Sans;
        font-size: 20px;
        font-weight: 400;
        line-height: 27px;
        text-align: left;
        color: #FFFFFF;
    }
    .about_school_s2{
        position: relative;
        right: -60px;
        top: -32px;
        overflow: hidden;
        box-sizing: border-box;
        width: 454px;
        padding: 30px;
        border-radius: 30px;
        background: #791221;
    }
    .about_school_s3{
        overflow: hidden;
        box-sizing: border-box;
        width: 800px;
        height: 187px;
        padding: 30px;
        border-radius: 30px;
        background: #791221;
    }
    .about_school_s3_content{
        display: flex ;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .about_school_s3_img{
        display: block;
    }
    .about_school_s4{
        bottom: 0;
        right: 0;
        position: absolute;
        overflow: hidden;
        box-sizing: border-box;
        width: 464px;
        border-radius: 30px;
        padding: 30px;
        background: #791221;
        z-index: 200;
    }
    .about_school_s4_img{
        width: 60%;
        margin-bottom: 16px;
    }
    .about_school_s5{
        position: absolute;
        top: 50px;
        right: 0;
        overflow: hidden;
        box-sizing: border-box;
        width: 500px;
        border-radius: 30px;
        padding: 30px;
        background: #791221;
    }
    .about_school_s5_img{
        display: block;
        position: absolute;
        right: 0;
        top: -2px;
    }
    .about_school_big_img{
        position: absolute;
        top:0;
        left:50%;
        transform:translate(-50%, 0%);
        padding-bottom: 150px;
        width: auto;
    }

    .footer_nav{
        flex-direction: row;
    }
    .footer_msgs{
        display: none;
    }
    .footer_bottom_fullStack{
        display: flex;
        flex-direction: row;

    }
    .footer_bottom{
        justify-content: space-between;
    }
    .mob_only{
        display: none;
    }

}
@media (min-width: 910px) {
    .wrapper {
        max-width: 870px;
    }
    .head_nav_block{
        display: flex;
    }
    .h1_top{
        font-size: 46px;
        font-weight: 600;
        line-height: 62px;
        text-align: left;
        width: 50%;
        margin-bottom: 36px;
    }
    .content_top{
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;
        text-align: left;
        width: 40%;
        margin-bottom: 44px;
    }
    .button_top{
        font-size: 24px;
        font-weight: 600;
        line-height: 44px;
        margin-bottom: 64px;
    }
    .messenger{
        padding: 0;
    }
}
@media (min-width: 992px) {
    .wrapper {
        max-width: 952px;
    }
}
@media (min-width: 1010px) {
    .wrapper {
        max-width: 970px;
    }
    .test_top_block{
        flex-direction: row;
        padding: 36px 70px;

    }
    .test_top_block_text{
        font-size: 32px;
        line-height: 44px;
        text-align: left;
        margin-top: 0;
        margin-bottom: 0;
    }
    .test_top_block_button{
        font-size: 19px;
    }
    .test_block{
        background: url("../img/BackgroundTest.png") no-repeat center;
        padding: 36px 70px;
    }
    .test_block_top_text{
        font-size: 46px;
        line-height: 63px;
    }
    .test_block_top_content_img{
        width: auto;
        height: auto;
    }
    .test_block_text {
        font-size: 20px;
        width: 60%;
        text-align: left;
    }
    .test_block_mob_img{
        display: none;
    }
    .test_top_block_button_box{
        width: 100%;
        text-align: left;
    }
}
@media (min-width: 1110px) {
    .wrapper {
        max-width: 1070px;
    }
}
@media (min-width: 1210px) {
    .wrapper {
        max-width: 1160px;
    }
    .lesson_type_box{
        width: 46%;
    }
    .lesson_type_box_white{
        width: 46%;
    }
    .footer_bottom_content_cookies{
        display: flex;
    }

}
@media (min-width: 1440px) {
    .wrapper {
        max-width: 1340px;
    }
}