
@media (max-width: 1600px) {
    .logo>img {
        max-width: 220px;
    }
    .container {
        padding: 40px;
    }
    .header_contacts {
        padding: 40px;
    }
    .footer {
        padding: 0;
    }
    .sert_gallary {
        flex-wrap: wrap;
    }
}
@media (max-width: 1400px) {
    .advantage_items_block {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
    .header_contacts>.socials {
        display: none;
    }
    .footer_socials {
        flex-wrap: wrap;
    }
    .form_and_contacts .socials a {
        margin-bottom: 20px;
    }
    .footer_socials a {
        margin-bottom: 20px;
        height: 36px;
    }
}



@media (max-width: 1280px) {
    .header_contacts {
        display: none;
    }
    .left_side {
        display: none;
    }
    .right_side {
        display: none;
    }
    .header_line {
        display: none;
    }
    .mobile_header_line {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: radial-gradient(100% 474.44% at 0% 0%, #293344 0%, #405579 100%);
        height: 60px;
        padding: 20px 40px;
        position: relative;
        z-index: 10;
        position: fixed;
        width: 100%;
    }
    .mobile_header_line .logo>img{
        max-height: 40px;
    }
    .scroll.show .mobile_header > .menu_btn {
        border: 2px solid black;
    }
    .scroll.show .mobile_header > .menu_btn .bar {
        background-color: black;
    }
    .menu_btn {
    	width: 40px;
    	height: 40px;
    	position: relative;
    	z-index: 3;
    	overflow: hidden;
        border: none;
        background: linear-gradient(91.44deg, #009A76 0%, #02C5AE 100%);
        cursor: pointer;
        border-radius: 2px;
    }
    .menu_btn .bar {
    	width: 25px;
    	height: 3px;
    	position: absolute;
    	top: 50%;
    	left: 50%;
        border-radius: 4px;
    	transform: translate(-50%, -50%);
    	background-color: #FFF;
    	transition: all 0.3s ease-in;
    }
    .menu_btn .bar:nth-of-type(2) {
    	top: calc(50% - 7px);
    }
    .menu_btn .bar:nth-of-type(3) {
    	top: calc(50% + 7px);
    }
    .menu_btn.active .bar:nth-of-type(1) {
        display: none;
        background-color: #ffffff;
    }
    .menu_btn.active .bar:nth-of-type(2) {
        top: 50%;
        transform: translate(-50%, 0%) rotate(45deg);
        background-color: #ffffff;  
    }
    .menu_btn.active .bar:nth-of-type(3) {
        top: 50%;
        transform: translate(-50%, 0%) rotate(-45deg);
        background-color: #ffffff;
    }
    .menu_btn.active {
        border: 2px solid #ffffff;
        z-index: 4;
    }
    .menu_nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        background: #FFFFFF;
        padding: 20px 40px;
        padding-top: 60px;
        transform: translateX(100vw);
        transition: transform 0.5s;
        z-index: 2;
    }
    .menu_nav img {
        margin-right: 40px;
        float: left;
    }
    .menu_nav.active {
        transform: translateX(0);
    }
    .menu_nav>.mail_link {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        margin-bottom: 20px;
        margin-top: 100px;
        font-size: 20px;
    }
    .menu_nav>.header_adress {
        justify-content: flex-start;
        padding: 0;
        margin-bottom: 20px;
        font-size: 24px;
    }
    .menu_nav>.header_adress p {
        padding: 0;
        text-align: left;
        font-size: 18px;
        text-wrap-style: pretty;
    }
    .menu_nav>.mail_link a {
        font-size: 28px;
    }
    .heder_phones_mobile {
        text-align: left;
    }
    .menu_nav>.heder_phones {
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
        margin-bottom: 20px;
    }
    .menu_phones {
        display: flex;
        flex-direction: column;
    }
    .menu_phones > a {
        font-weight: 600;
        color: #535353;
        margin-bottom: 10px;
        font-size: 20px;
    }
    .menu_nav>.socials {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 20px;
        margin-left: 80px;
    }
    .menu_nav>.to_form_button {
        justify-content: center;
        text-align: -webkit-center;
        margin: 0;
        margin-top: 60px;
        margin-left: 80px;
        max-width: 300px;
    }
    .sert_gallary a {
        width: 50%;
    }
    .mail_link:hover {
        background: none
    }
}

@media (max-width: 980px) {
    .advantag_item {
        margin-bottom: 20px;
    }
    .second_form_block {
        display: block;
    }
    .form_contacts {
        width: 100%;
        margin-bottom: 40px;
    }
    .second_form {
        width: 100%;
    }
    .about_company {
        display: block;
    }
    .text_about {
        width: 100%;
    }
    .director {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .director>:first-child {
        width: 50%;
    }
    .director>:last-child {
        width: 50%;
        padding: 20px;
        box-sizing: border-box;
    }
    .call_director {
        margin-top: 50px;
    }
    .form_and_contacts {
        display: block;
    }
    .form_block_third {
        width: 100%;
        margin-bottom: 20px;
    }

    .contacts_block {
        width: 100%;
    }
    .footer_block {
        flex-wrap: wrap;
    }
    .footer_map {
        width: 100%;
        order: 2;
        margin-bottom: 80px;
    }
    .footer_contacts {
        width: 100%;
        order: 1;
        margin-bottom: 20px;
    }
    .advantag_item {
        width: 45%;
        margin-bottom: 80px;
    }
    .accordion p {
        font-size: 18px;
        line-height: 18px;
        margin: 0px 15px;
        text-transform: uppercase;
        display: flex;
        align-items: center;
    }
    .panel p {
        font-size: 18px;
        font-weight: 400;
        padding: 0 18px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 22px;
    }
    .advantag_item p {
        font-size: 18px;
    }
    .form_block_first>form {
        flex-wrap: wrap;
    }
    .form_block_first input {
        width: 100%;
        margin-bottom: 20px;
        font-size: 16px;
    }
    .first_screen_content>.form_block_first button {
        width: 100%;
    }
    #form-two {
        flex-wrap: wrap;
        position: relative;
    }
    .second_form>.form_text {
        font-size: 20px;
    }

    .second_form input {
        width: 100%;
        font-size: 16px;
    }
    .field__file-wrapper {
        width: 100%;
        font-size: 16px;
    }
    .form_header {
        font-size: 22px;
    }
    .form_block_third>form {
        flex-wrap: wrap;
    }
    .form_block_third input {
        width: 100%;
        margin-bottom: 20px;
        font-size: 16px;
    }
    .form_block_third button {
        width: 100%;
    }
    .form_and_contacts {
        margin: 40px auto;
    }
}
@media (max-width: 560px) {
    h1 {
        font-size: 28px;
        margin-top: 115px;
        margin-bottom: 40px;
        line-height: 45px;
    }
    h2 {
        font-size: 32px;
        margin-top: 20px;
        padding: 0;
    }
    h3 {
        font-size: 20px;
    }
    .container {
        padding: 20px;
    }
    .advantag_item p {
        font-size: 18px;
    }
    .form_block_first>p {
        font-size: 16px;
    }
    .brand_images {
        justify-content: space-evenly;
    }
    .advantag_item {
        padding: 80px 20px 20px 20px;
        margin-bottom: 80px;
        width: 100%;
    }
    .brand_images img {
        max-height: 32px;
    }
    .text_about {
        padding: 20px;
        margin-bottom: 20px;
        font-size: 16px;
    }
    .director {
        flex-wrap: wrap;
    }
    .call_director {
        width: 100%;
    }
    .director>:first-child {
        width: 100%;
    }
    .director>:last-child {
        width: 100%;
        padding: 0;
    }
    .yellow_form {
        padding: 40px 0;
    }
    .mobile_bar {
        position: fixed;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        background: radial-gradient(100% 474.44% at 0% 0%, #293344 0%, #405579 100%);
        padding: 10px 20px 20px 20px;
        z-index: 10;
    }
    .mobile_bar a {
        width: 40px;
        height: 40px;
    }
    .mobile_header_line {
        padding: 20px;
    }
    .menu_nav {
        padding: 20px;
        padding-top: 60px;
    }
    .menu_nav>.mail_link {
        justify-content: space-between;
    }
    .menu_nav>.header_adress {
        justify-content: space-between;
    }
    .menu_nav>.header_adress p {
        text-align: right;
    }
    .menu_nav>.heder_phones {
        justify-content: space-between;
    }
    .menu_phones {
        display: flex;
        flex-direction: column;
    }
    .menu_nav>.socials {
        justify-content: flex-end;
    }
    .menu_nav>.to_form_button {
        justify-content: center;
        text-align: -webkit-center;
        margin: 0;
        margin-top: 40px;
        max-width: 100%;
        display: flex;
        height: 40px;
        align-items: center;
    }
    .form_and_contacts .socials a {
        height: 75px;
    }
    .footer_socials a {
        height: 75px;
    }
    .footer_phones {
        font-size: 25px;
        line-height: 40px;
    }
    .footer_contacts>a {
        font-size: 24px;
        line-height: 30px;
    }
    .accordion p {
        font-size: 18px;
        line-height: 26px;
    }
    .menu_phones > a {
        font-size: 28px;
        line-height: 50px;
    }
    #menu_nav .socials {
        margin-top: 40px;
    }
    #menu_nav .socials>a {
        height: 60px;
    }
    .heder_phones_mobile {
        text-align: right;
    }
}