
@media only screen and (max-width: 1600px) {
    .wallpaper, .wallaper_mask, .wallaper_mask_back{
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio (height/width * 100) */
      
      }

      .wallaper_tel_fake_mask_1 {
		position: absolute;
		top: 54%;
		left: 67%;
		width: 15%;
		height: 11%;
        padding-bottom: 0; /* 16:9 aspect ratio (height/width * 100) */
	}

    }

@media only screen and (max-width: 1400px) {
    .bottom_wall_main {
        height: 150px;
    }
    .bottom_wall h2{
        margin: 0;
        margin-top: 10px;
        font-size: 60px;
    }
    .bottom_wall p{
        margin: 0;
        margin-top: 10px;
        font-size: 20px;
    }
    .main_text_inside h3{
        font-size: 25px;
    }
    
    .main_text_inside h1 {
        font-size: 45px;
    }
    .main_text_inside h2 {
        font-size: 18px;
    }
    .block_for_line p {
        font-size: 40px;
    }
    .about h1{
        font-size: 33px;
    }

    .flex_figure_div {
        width: 400px; 
    }

    
    }
    
    @media only screen and (max-width: 1166px) {
        .main_text_inside h3{
            font-size: 22px;
            margin-top: 235px;
        }
        
        .main_text_inside h1 {
            font-size: 40px;
            
        }
        .main_text_inside h2 {
            font-size: 15px;
        }
        .slideshow {
            height: 610px;
        }
    }
    
    @media only screen and (max-width: 1040px) {
        .only_navigation {
            margin-right: 20px;
        }
        .two_footer_flex_2 {
            padding-left: 50px;
            /* width: 200px; */
            padding-right: 50px;
        }
        .bottom_wall_main {
            height: 115px;
        }
        .bottom_wall h2{
            margin: 0;
            margin-top: 10px;
            font-size: 35px;
        }
        .bottom_wall p{
            margin: 0;
            margin-top: 10px;
            font-size: 15px;
        }
        .main_menu {
            height: 70px;
        }
        .above_menu_black_block {
            height: 70px;
        }
        .only_text_buttom_menu a {
            font-size: 16px;
            margin-top: 24px;
        }
        .phone_top {
            font-size: 23px;
        }
        .mail_top {
            font-size: 14px;
        }
        .main_menu_logo {
            min-width: 155px;
        }
        .button_inside_main_menu {
            margin-top: 22px;
            width: 100px;
            height: 30px;
            font-size: 15px;
        }
        .slideshow {
            height: 413px;
        }
        .main_text_inside h3 {
            margin-top: 136px;
            font-size: 20px;
        }
        .main_text_inside h1 {
            font-size: 26px;
        }
        .main_text_inside h2 {
            font-size: 12px;
            width: 341px;
        }
        .button_inside_slideshow {
            margin-top: 26px;
            width: 100px;
            height: 30px;
            font-size: 15px;
        }
        .block_for_line p {
            font-size: 29px;
        }
        /* .block_for_line {
            margin-top: 40px;
        } */
        .about h1 {
            margin-top: 24px;
            font-size: 30px;
        }
        .more_about {
            font-size: 17px;
        }
        .flex_about_content_img {
            width: 65px;
        }
        .flex_about_content_heading {
            font-size: 18px;
        }
        .flex_about_content_description {
            font-size: 15px;
        }
        .flex_about_3_image {
            height: 240px;
            margin-top: 100px;
        }
        .flex_about_3 {
            width: calc(50%);
            padding-left: 0px;
        }
        .flex_about_2 {
            width: calc(50%);
        }
        .galery_img {
            height: 158px;
        }
        .div_flex_words_direct_block1 h2 {
            font-size: 23px;
        }
        .div_flex_words_direct_block1 p {
            font-size: 17px;
        }
        .div_flex_words_direct_block2 img {
            width: 285px;
        }
        .two_footer {
            flex-wrap: wrap;
            justify-content: center;
        }
        .two_footer_flex_2 {
            text-align: center;
        }
        .two_footer_flex_2 h3 {
            text-align: center;
        }
        .p_news {
            margin-top: 70px;
        }
            #about {
            margin-top: -110px;
            padding-top: 110px; /* чтобы компенсировать отрицательный отступ */
            }
            #products {
            margin-top: -110px;
            padding-top: 110px; /* чтобы компенсировать отрицательный отступ */
            }
            #galary {
            margin-top: -110px;
            padding-top: 110px; /* чтобы компенсировать отрицательный отступ */
            }
            #contacts {
            margin-top: -110px;
            padding-top: 110px; /* чтобы компенсировать отрицательный отступ */
            }
            #news {
            margin-top: -110px;
            padding-top: 110px; /* чтобы компенсировать отрицательный отступ */
            }
    }
    @media only screen and (max-width: 940px) {
        .one_footer_for_img_all {
            width: 35px;
            height: 35px;
        }
        .p_all_news {
            display: block;
        }
        .one_footer_all h3 {
            font-size: 20px;
        }
        .one_footer_all p {
            font-size: 15px;
        }
        .one_footer_all {
            width: auto;
        }
        .two_footer_flex_1 img {
            width: 230px;
            margin-left: auto;
            margin-right: auto;
            display: block;
        }
        .two_footer_flex_3 {
            width: 260px;
        }
        .two_footer_flex_3 h3 {
            text-align: center;
        }
        .two_footer_flex_1 p {
            text-align: center;
        }
        .soc_footer {
            margin-top: 10px !important;
            width: 30px !important;
            margin-right: 10px !important;
            margin-left: 10px !important;
            
        }

        .two_footer_flex_1 h4 {
            text-align: center;
        }
        .soc_footer_all_img {
            width: max-content;
            margin-left: auto;
            margin-right: auto;
        }
        .download_footer {
            display: none;
            opacity: 0;
        }
        .for_news_page {
            margin-top: 50px;
            display: flex;
            margin-left: auto;
            margin-right: auto;
            max-width: 1360px;
            padding-left: 20px;
            padding-right: 20px;
            flex-wrap: nowrap;
            justify-content: center;
            flex-direction: column-reverse;
            align-content: center;
            align-items: center;
        }
        .left_menu {
            margin-top: 50px !important;
            position: relative !important;

        }

    }

    @media only screen and (max-width: 820px) {
           
        .two_footer_flex_2 ul li {
            float: none !important;
            width: auto !important;
            list-style-type: none !important;
        }
        .top_menu {
            display: none;
        }
        .flex_figure_div {
            width: 640px; 
        }
        .tooltips {
            z-index:0;
        }
        .flex_figure_div p{
            font-size: 17px; 
            padding-left: 20px;
            padding-right: 20px;
        }
        .flex_figure_div img{
            margin-top: 20px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        .flex_figure_div h3{
            text-align: center;
            /* margin-top: 35px; */
            font-weight: 500;
            font-size: 27px; 
            color: white;
        }
        .uslovia {
            /* margin-top: 20px; */
            padding-bottom: 100px;
            }
        .uslovia p{
                color: #ffffff;
            }
        
        .p_news {
                margin-top: 50px;
            }
            .bottom_wall_main{
                /* position: relative; */
                /* background-color: #341d69ee; */
                display: none;
            }
            #bottom_wall_main2{
                /* position: relative; */
                /* background-color: #341d69ee; */
                display: flex;
            }

    .main_menu {
        height: 70px;
        display: none;
        
    }
    .blue_box {
        right: 27%;
        backdrop-filter: blur(2px);
    }
    .flex_about_1 {
        /* border: 1px solid black; */
        flex-direction: column;
        align-content: center;
        flex-wrap: wrap;
    }
    .flex_about_2 {
        width: 100%;
    }
    .flex_about_3 {
        width: 320px;
        /* padding-left: 0px; */
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    .flex_about_3_image {
        height: 240px;
        margin-top: 22px;
    }
    .above_menu_black_block {
        height: 50px;
    }
    .alt_body_0 {
        display: block;
    }
    .nav-top {
        display: flex;
    }
    .h4_download_footer {
        display: none;
    }
}
    @media only screen and (max-width: 700px) {
        .more_about {
            font-size: 15px;
        }
        .div_flex_words_direct_block1 p {
            font-size: 15px;
        }
        .two_footer_flex_2 {
            margin-left: 0px;
            padding-left: 0;
            padding-right: 0;
        }
        .main_product {
            width: 180px;
            /* background-color: #49a1ca; */
        }
        .main_product h3 {
            font-size: 20px;
        }
        .main_product p {
            font-size: 13px;
        }
        .button_product_more {
            width: 120px;
            height: 30px;
            font-size: 17px;
        }
        .button_product_order {
            width: 120px;
            height: 30px;
            font-size: 17px;
        }
        .main_product img {
            scale: 1;
            height: 90px;
        
            /* cursor: zoom-in; */
        }
        .div_flex_words_direct {
            display: flex;
            margin-left: 20px;
            margin-right: 20px;
            margin-top: 50px;
            flex-direction: column-reverse;
        }
        .div_flex_words_direct_block1 img {
            position: absolute;
            width: 200px;
            margin-top: -61px;
            margin-left: 145px;
        }
        .a_download img {
            width: 17px !important;
            height: 17px !important;
            margin: 4px !important;

        }
        .main_block_news {
            width: 250px;
            min-width: 250px;
            /* height: 500px; */
        }
        .main_block_news_photo {
            height: 185px;
        }
        .news_more h1 {
            font-size: 20px;
        }
        .news_more button {
            width: 120px;
            height: 40px;
        }
        .news_more {
            height: 180px;
        }
        .wallaper {
            background-position: right top !important;
        }
    }
    @media only screen and (max-width: 625px) {
        .one_footer { 
            justify-content: space-evenly;
            flex-wrap: wrap;
            flex-direction: column;
            align-content: center;
        }
        .one_footer_place {
            margin-left: 0;
        }
        .two_footer_flex_2 ul li {
            white-space: nowrap;
            /* text-indent: -28px; */
            list-style-type: none;
        }
        .blue_box {
            right: -30%;
            backdrop-filter: blur(1px);
            transform: none;
            background-color: #0090d3;
        }
        .main_text_inside h3 {
            margin-top: 65px;
        }
        .test2 {
            display: block;
        }
        .slideshow {
            height: 464px;
        }
       
    }
    @media only screen and (max-width: 570px) {
        .wallpaper {
            background-position: right top;
        }
        #mask {
            background-position: right top;
        }
        .wallaper_tel_fake_mask_1 {
            top: 59%;
            left: 67%;
        }
        .bottom_wall_main {
            height: 70px;
        }
        .bottom_wall h2{
            margin: 0;
            margin-top: 2px;
            font-size: 20px;
        }
        .bottom_wall p{
            margin: 0;
            margin-top: -5px;
            font-size: 12px;
        }
        .main_menu {
            height: 70px;
        }
     
        .more_about_flex_box {
            flex-wrap: wrap;
            justify-content: flex-start;
            flex-direction: row;
        }
        .more_about_box2 {
            margin-left: 0;
        }
        .br_for_more_about {
            display: block;
        }
        .galery_img {
            height: 100px;
        }
        .main_black_footer {
            padding-bottom: 52px;
        }
        .p_priem {
            margin-top: 25px;
        }
        .main_photo div {
            max-width: 320px;
            width: 100%;
            height: 201px;
        
        }
        .other_photo div {
            height: 70px;
            width: 100%;
            max-width: 70px;

        }
        .other_photo  {
            padding: 0;

        }
        .block_for_line p {
            font-size: 35px !important;
        }
    }
    @media only screen and (max-width: 480px) {
        .main_product {
            margin-left: 8px;
            margin-right: 8px;

            /* background-color: #49a1ca; */
        }
        .main_product img {
            height: 85px;
            /* cursor: zoom-in; */
        }
    }
    @media only screen and (max-width: 450px) {
        .flex_figure_div {
            width: 100%; 
        }
        .flex_figure_div p{
            font-weight: 200;
            font-size: 15px; 
        }
        .flex_figure_div img{
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        .flex_figure_div h3{
            text-align: center;
            /* margin-top: 35px; */
            font-weight: 500;
            font-size: 22px; 
            color: white;
        }
        .uslovia {
            /* margin-top: 20px; */
            padding-bottom: 100px;
            }
        .uslovia p{
                color: #ffffff;
            }
        
        



      
        .galery_img {
            height: 90px;
        }
        .two_footer_flex_2 {
            margin-left: 0;
        }
        .block_for_line p {
            font-size: 22px;
        }
        .about h1 {
            margin-top: 24px;
            font-size: 22px;
        }
        .div_flex_words_direct_block1 img {
            position: absolute;
            width: 130px;
            margin-top: -45px;
            margin-left: 145px;
        }
        .div_flex_words_direct_block2 img {
            width: 180px;
        }
        .nav-top h4 {
            font-size: 19px;
        }
        .nav-top img {
            margin-left: 15px;
            width: 40px;
        }
      
    }
    @media only screen and (max-width: 380px) {
        
        .flex_about_2 {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        .flex_about_content {
            width: auto;
        }
       
    }
    @media only screen and (max-width: 435px) {
        .test2 {
            top: 260px;
        }
        .slideshow {
            height: 494px;
        }
    }

    @media only screen and (max-width: 360px) {
   
        .flex_about_3 {
            width: 290px;
        }
        .main_text_inside h2 {
            width: 300px;
        }
        .main_text_inside h1 {
            font-size: 24px;
        }
        .nav-top h4 {
            font-size: 18px;
            right: 50px;
        }
        .nav-top img {
            margin-left: 10px;
            width: 40px;
        }
    }
