@media (max-width: 1400px){
    .how_we_work_line{
        display: none;
    }
    #cont .form input, #cont .form select{
        width: 280px;
    }
    .menu_a a, .menu_a p{
        font-size: 14px;
    }
    .work_div{
        min-height: 360px;
    }
}
@media (max-width: 1200px){
    .navbar-brand img{
        height: 50px;
    }
}
@media (max-width: 991px){
    #pc{
        display: none;
    }
    #mobile{
        display: flex;
    }
    .menu_secret{
        position: fixed;
        right: -100%;
        top: 0;
        transition: .4s;
        width: 100%;
        height: 100vh;
        padding: 120px 20px 0px 20px;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        background: #fff;
        z-index: 998;
    }
    .menu_secret_active{
        right: 0;
    }
    .menu_see{
        padding: 10px;
        position: fixed;
        width: 100%;
        z-index: 999;
        top: 0;
        left: 0;
    }
    .menu_see .soc_menu{
        margin: 0;
    }
    .menu_mobile .line{
        height: 4px;
        width: 40px;
        display: block;
        background: var(--main);
        margin: 0;
    }
    .menu_mobile .line_two{
        margin: 5px 0px;
    }
    .menu_mobile .line_three{
        width: 20px;
    }
    .menu_mobile .line_three_active{
        display: none;
    }
    .menu_mobile .line_active{
        transform: rotate(45deg) translate(0, 6px);
    }
    .menu_mobile .line_two_active{
        transform: rotate(-45deg) translate(0, -6px);
    }
    .menu_mobile{
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: space-between;
    }
    .work_row {
        flex-wrap: wrap;
    }
    .work_div{
        width: 50%;
    }
    .title_name .line, .swiper_slide_uslugi_text .line{
        margin-top: 20px;
    }
    #cont .form{
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    #cont .form input, #cont .form select{
        margin-bottom: 30px;
    }
    #cont .title_name{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    section{
        padding-top: 80px;
    }
    #how_we_work, footer{
        margin-top: 80px;
    }
    .menu_a, .soc_menu{
        margin-bottom: 30px;
    }
    .mobile_abs_button{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
        width: 60px;
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: var(--main);
        z-index: 999;
        border-radius: 50%;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    }
    .mobile_abs_button img{
        height: 25px;
        width: 25px;
    }
}
@media (max-width: 770px){
    h1 {
        font-size: 24px;
    }
    .swiper_slide_uslugi img{
        position: relative;
        max-height: 170px;
    }
    .swiper_slide_uslugi{
        padding: 0px;
    }
    footer .container{
        flex-direction: column;
    }
    .footer_div{
        margin: 30px 0px;
    }
}
@media (max-width: 600px){
    .work_row{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        overflow-x: auto;
        flex-wrap: nowrap;
        height: 300px;
    }
    .work_div{
        height: 300px;
        width: 100%;
        min-width: 300px;
        min-height: 300px;
    }
    #how_we_work .title_name{
        align-items: start !important;
        justify-content: start !important; 
    }
    #how_we_work{
        position: relative;
    }
    .drug{
        display: block;
    }
    #main{
        background-position: right 25% bottom 45%;
        padding: 160px 0px 60px 0px;
    }
    .main_btns {
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;
    }
    .btn_main{
        width: 100%;
    }
    .btn_main_second{
        margin-left: 0;
        margin-top: 10px;
    }
    .main_p{
        margin: 20px 0px 40px 0px;
        font-size: 16px;
        line-height: 20px;
    }
    h2{
        font-size: 24px;
    }
    .modal-content{
        padding: 50px;
    }
    #cont .form{
        width: 100%;
    }
    #cont .form input, #cont .form select{
        width: 100%;
        margin-right: 0;
    }
    .work_row{
        margin-top: 40px;
    }
    .swiper_slide_work{
        height: 300px;
    }
}
@media (max-width: 400px){
    .swiper_slide_uslugi{
        min-height: 480px;
    }
    .swiper_slide_work{
        height: 200px;
    }
}
