.mob_block{
    display: none!important;
}
body, html{
    overflow-x: hidden;
}

@media screen and (min-width:1400px) {
    html{
        font-size: 16px!important;
    }
}
@media screen and (max-width:1400px) and (min-width:1300px) {
    html{
        font-size: 15px!important;
    }
}
@media screen and (max-width:1300px) and (min-width:1200px) {
    html{
        font-size: 14px!important;
    }
}
@media screen and (max-width:1200px) and (min-width:1100px) {
    html{
        font-size: 13px!important;
    }
}
@media screen and (max-width:1100px) and (min-width:1050px) {
    html{
        font-size: 12px!important;
    }
}
@media screen and (max-width:1050px) and (min-width:992px) {
    html{
        font-size: 11px!important;
    }
}

@media screen and (min-width:992px) {
    .box3_image_left{
        transform: rotate(-33deg);
        transition: all 0.5s;
    }
    .box3_image_left.animate__animated{
        transform: rotate(-6deg);
    }
    .box3_image{
        position: relative;
        top: 2rem;
        transition: all 0.5s;
    }
    .box3_image.animate__animated{

        top: 0;
    }
    .box3_image_right{
        transform: rotate(33deg);
        transition: all 0.5s;
    }
    .box3_image_right.animate__animated{
        transform: rotate(6deg);
    }

}

@media screen and (max-width:992px) {

    .fancybox-slide--iframe .fancybox-content {
        width: 95%;
        height: auto;
    }
    .mob_full {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .menu_toggle {
        color: #ff3326;
    }
    .mob_none {
        display: none !important;
    }
    .mob_block {
        display: block !important;
    }
    .logo {
        width: 5rem;
    }
    .container {
        width: 100%;
        padding: 0 15px;
    }
    .menu a img {
        display: none;
    }
    .search--show{
        margin-right: 1.5rem;
    }
    .menu  {
        position: absolute;
        display: none;
        top: 104%;
        left: 0;
        width: 100%;
        bottom: unset;
        background: #F5E29E;
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
        padding: 2rem 15px;
        padding-bottom: 1rem;
        /* border-top: 1px solid #e8e8e8; */
        /* border-bottom: 1px solid #e8e8e8; */
        margin: 0;
        text-align: center;
        border-radius: 30px;
    }
    .menu a{
        color: black;
        font-size: 1.15rem;
        display: block;
        margin: 0;
        margin-bottom: 1.5rem;
    }
    .nav-mobile {
        position: relative;
        z-index: 3;
        top: -0.1rem;
        margin-left: 1rem;
    }
    #nav-toggle span,
    #nav-toggle span:before,
    #nav-toggle span:after {
        cursor: pointer;
        border-radius: 1px;
        height: 3px;
        width: 30px;
        background: #000000;
        position: absolute;
        display: block;
        content: "";
        transition: all 300ms ease-in-out;
    }
    #nav-toggle span:before {
        top: -10px;
    }
    #nav-toggle span:after {
        bottom: -10px;
    }
    #nav-toggle.active span {
        background-color: transparent;
    }
    #nav-toggle.active span:before, #nav-toggle.active span:after {
        top: 0;
    }
    #nav-toggle.active span:before {
        transform: rotate(45deg);
    }
    #nav-toggle.active span:after {
        transform: rotate(-45deg);
    }
    #nav-toggle{
        display: block;
        width: 30px;
    }

    header{
        border-radius: 100px;
        background: #F5E29E;
        box-shadow: 0px 4px 50px 0px rgba(0, 0, 0, 0.15);
        position: absolute;
        left: 15px;
        top: 15px;
        right: 15px;
        width: auto;
        padding: 0.2rem 0;
        padding-right: 1rem;
        padding-bottom: 0.1rem;
    }
    .lang_flex {
        margin-right: 0.4rem;
    }
    .lang_flex a, .lang_flex{
        color: black;
    }
    .slider h1 {
        font-size: 3.7rem;
    }
    .slider h1 span {
        font-size: 2.5rem;
    }
    .kaspi{
        position: static;
        width: 50%;
        border-radius: 10px;
        padding: 1rem 0.5rem;
        font-size: 0.75rem;
    }
    .mob_kaspi{
        display: flex;
        justify-content: flex-end;
        margin-top: 2rem;
    }
    .btn{
        width: 100%!important;
        min-width: unset!important;
        padding: 0!important;
        font-size: 1.1rem;
        font-family: InvolveMedium, sans-serif;
    }
    .btn span{
        height: 4rem!important;
    }
    .slider_btns .btn:last-child{
        margin-top: 0.5rem;
    }
    .slider_btns {
        padding-top: 2.4rem;
    }
    #box-1 {
        padding-bottom: 4.5rem;
    }
    #box-2 {
        padding-top: 2rem
    }

    .quiz_box {
        padding: 3rem 15px;
        border-radius: 20px;
        min-height: unset;
    }
    .quiz_row label {
        padding: 1.35rem 1.35rem;
    }
    .right_title{
        position: static;
        margin-bottom: 1rem;
        text-align: right;
        font-size: 1.25rem;
    }
    .section_title {
        font-size: 3.2rem;
        margin-bottom: 2rem;
    }
    .section_title span {
        font-size: 2.45rem;
    }
    #box-3 {
        padding-top: 4rem;
    }
    .box3_image_box {
        width: 15rem;
    }
    .box3_image {
        border-radius: 20px;
        height: 19.5rem;
    }
    .box3_image_left {
        border-radius: 20px;
        width: 9.188rem;
        height: 13.75rem;
        left: -5.5rem;
        top: 5.1rem;
    }
    .box3_image_right {
        border-radius: 20px;
        width: 9.188rem;
        height: 13.75rem;
        right: -5.5rem;
        top: 5.1rem;
    }
    .preims_row .mb_30{
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 5px;
    }
    .preims_row{
        margin: 0 -5px;
        align-items: center;
    }
    .preim_item{
        border-radius: 15px;
        min-height: 15.5rem;
        height: auto;
    }
    .preim_title {
        font-size: 1rem;
    }
    .preim_text{
        font-size: 1rem;
    }
    .preims_row .mb_30{
        margin-bottom: 10px;
    }
    .preims_row .mb_30:nth-child(1){
        order: 1;
    }
    .preims_row .mb_30:nth-child(2){
        order: 2;
    }
    .preims_row .mb_30:nth-child(3){
        order: 3;
    }
    .preims_row .mb_30:nth-child(4){
        order: 4;
    }
    .preims_row .mb_30:nth-child(5){
        order: 6;
    }
    .preims_row .mb_30:nth-child(6){
        order: 5;
    }
    .preims_row .mb_30:nth-child(7){
        order: 8;
    }
    .preims_row .mb_30:nth-child(8){
        order: 7;
    }
    #box-4{
        padding-top: 3rem;
    }
    .box4_img {
        height: 12.5rem;
    }
    #box-5 {
        padding-top: 3rem
    }
    .box5_btns_top .btn{
        width: auto!important;
    }
    .box5_btns_top {
        top: 0;
    }
    .box5_text {
        border-radius: 20px;
        padding: 1.8rem;
        height: 100%;
        display: block;
    }
    .box6_item_bottom {
        border-radius: 20px;
    }
    .box6_row .mb_30{
        margin-bottom: 2rem;
    }
    #box-6 {
        padding-top: 4rem
    }
    .box6_item_top {
        padding: 0.7rem 1.6rem;
    }
    #box-7 {
        padding-top: 2rem
    }
    .gallery_slider{
        width: 85%;
    }
    .gallery_slider .slick-list{
        overflow: unset;
    }
    .gallery_item {
        height: 28rem;
    }
    #box-8 {
        padding-top: 4rem
    }
    .box8_form{
        border-radius: 30px;
        padding: 2.5rem 1.7rem;
        padding-bottom: 0;
    }
    .box8_row .section_title {
        font-size: 2.7rem;
    }
    .form_text {
        width: 80%;
        margin-bottom: 2.5rem;
    }
    .form_text img {
        width: 9.9rem;
        left: 0;
    }
    .form-control {
        height: 4rem;
        padding: 0 1.5rem;
        font-size: 1.1rem;
    }
    .form_img{
        position: static;
        width: 214%;
        margin-left: -2rem;
        margin-bottom: -1rem;
        margin-top: -5.8rem;
        pointer-events: none;
    }
    #box-9 {
        padding-top: 4.1rem;
    }
    .rev_slider{
        width: 85%;
    }
    #box-10 {
        padding-top: 4.5rem;
        padding-bottom: 4rem;
    }
    .contacts_left {
        padding: 1.9rem;
        margin-bottom: 2.5rem;
    }
    .map {
        height: 20rem;
    }
    .footer_logo {
        width: 8rem;
        margin: 0 auto;
        margin-bottom: 1.4rem;
    }
    footer {
        padding-top: 3rem;
        text-align: center;
    }
    .left_mar {
        margin-left: 0;
    }
    .footer_right {
        padding-top: 1.7rem;
        margin-left: 0;
        padding-right: 0;
    }
    .footer_input .btn{
        width: auto!important;
        padding: 0 2rem!important;
        border-radius: 25px;
    }
    .footer_input .btn span{
        height: 100%!important;
    }
    .footer_input input {
        background: white;
        width: 100%;
        padding: 1.2rem 1.5rem;
        border-radius: 25px;
        font-family: InvolveMedium, sans-serif;
        font-size: 1.1rem;
    }
    footer .policy{
        text-align: left;
        font-size: 0.9rem;
        padding-left: 0.5rem;
    }
    .footer_bottom{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-top: 1.5rem;
        padding: 1.5rem 0;
    }

    .footer_bottom a{
        opacity: 0.5;
    }
    .footer_bottom a:hover{
        opacity: 1;
    }
    .footer_bottom a:last-child{
        margin-top: 1rem;
    }
    .footer_form_title{
        padding-left: 0.5rem;
        text-align: left;
    }
    h2 {
        font-size: 1.7rem;
    }
    .mob_step_slider .slick-list{
        margin: 0 -10px;
        overflow: unset;
        display: flex;
    }
    .mob_step_slider .slick-track{
        display: flex;
    }
    .mob_step_slider .slick-slide > div{
        padding: 0 10px;
        height: 100%;
    }
    .mob_step_slider{
        width: 90%;
    }
    .lang_flex span {
        margin: 0 0.35rem;
        margin-top: -0.2rem;
    }
    .quiz_final_box {
        padding: 1.7rem;
    }
    .q_final_title {
        font-size: 1.9rem;
        margin-bottom: 1.8rem;
    }
    .quiz_final {
        align-items: self-start;
    }
    .quiz_last {
        width: 88%;
    }
    .modal .modal__block {
        width: 95%;
        padding: 3rem 1rem;
        border-radius: 20px;
    }
    .modal_title {
        font-size: 1.6rem;
    }
    .modal.all_form .modal__block{
        width: 95%;
    }
    .modal .form_img{
        display: none;
    }
    .modal .box8_form{
        padding-bottom: 2rem;
        padding-top: 3rem;
    }
    .modal .form_text img{
        display: none;
    }
    .modal .form_text{
        margin-bottom: 1.5rem;
    }
    .modal .box8_row .section_title {
        font-size: 2.3rem
    }
    .modal .box8_row .section_title span {
        font-size: 1.8rem;
        margin-top: 0;
    }
  

}
@media screen and (max-width:550px) {
    body{
        font-size: 1.1rem;
    }
}
