body{
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: black;
    line-height: 1.6;
}

*,
*:before;
*:after{
    box-sizing:border-box;
}

h1,h2,h3,h4,h5{
    margin: 0%;
}

/*Conteiner*/

.conteiner{
    max-width: 1200px;
    margin: 0 auto; 
   
}

/*intro*/



.intro{
    width:100%;
    height: 1100px;
    position: absolute;
    background: url("res/Avtomat-system-3.png")center
    no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    
}


/*header*/


.header{
    padding-top: 3%;
    width: 100%;
    position: absolute;
    top: 0;
    left:0;
    right:0;
    z-index: 1000;
    
}


.header_inner{
    display:flex;
    justify-content: space-between;
    align-items: center;
}


.logo{
    max-width: 260px;
    max-height: 50px;
    margin-top: 0,41%;
    margin-left: -1,6%;
}



.nav{
    font-size :14px; 
    text-transform: uppercase;  
    
}

.nav_link{
    display: inline-block;
    vertical-align: top;
    margin:0  15px;

    color:rgb(0, 0, 0);
    text-decoration: none;
    transition:color .1s linear ; /*плавность смены текста*/
    position: relative;
    
}

.nav_link:after{
    content: "";
    display:block;
    width: 100%;
    height: 1px;
    

    background-color: rgb(80, 37, 201);
    opacity: 0;

    position: absolute;
    top: 100%;
    left:0;
    z-index:1;
    transition: opacity .4 linear;
}

.nav_link:hover:after{
    opacity: 1;
}

.nav_link:hover{  /*цвет текста когда выбираем*/
    color: rgb(80, 37, 201);
}

.contacts{
    max-width: 360px;
    max-height: 90px;
    
}

.logo_phone{
    float: left;
    margin-top: 7px;
    margin-right: 10px; 
    width: 17px;
    height: 17px;
}

.logo_massage{
    margin-top: 5px;
}

.contact_text{
    float: right;
    max-width: auto;
    max-height: auto;
    font-size :18px; 
}

.field{
    width: 100%;
    height: 100%;
}


img{
    width: 100%;
    height:100%;
}

.about{
    margin-left: 7%;
    margin-right: auto;
    position: relative;
    margin-bottom: auto;
    margin-top: 12%;
    max-width: 1200px;
    height: 500px;
    padding: 2%;
    background-color:white;
    background-color: rgba(39,47,51, 0);
}

.about_img{
    max-width: 480px;
    height: 296px;
    margin-top: -27%;
    margin-left: 58%;

}

a{
    text-align: center;
text-decoration: none;
color: black;
}



h1{
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
    color: black;
}
p{
    font-size: 16px;
    text-align: left;
    padding: 3%;
    color: black;
}

/*information*/

.information{
    position: absolute;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    height: 23%;
    bottom: 0;
    background-color: whitesmoke;


}

.nav_link_footer{

    text-align: center;
    word-spacing: 20px;
    font-size:15px ;
    margin-top: 6%;
    

    color:rgb(0, 0, 0);
    text-decoration: none;
    transition:color .1s linear ; /*плавность смены текста*/
    position: relative;
    

}



.nav_link_footer:hover:after{
    opacity: 1;
}

.nav_link_footer:hover{  /*цвет текста когда выбираем*/
    color: rgb(80, 37, 201);
}


.logo_layer{
    max-width: 300px;
    max-height: 80px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
}


.layer2{
    text-align: center;
    width: 50%;
    height: 12%;
    float: left;
    background-color: whitesmoke;
    margin-left: auto;
    margin-right: auto;
    
    position: absolute;

    font-size: 13px;
    
}



.layer3{
    width: 50%;
    height: 12%;
    float: right;
    background-color: whitesmoke;
    text-align: center;
    font-size: 15px;
    margin-top: 2%;
}

/*btn_massege*/

button{
    position: relative;
    width: 20%;
    height: 50px;
    margin-left: auto;
    margin-right: 40%;
    margin-top: -2%;
    
    background-color:rgb(58, 44, 250);
    color: whitesmoke;
    display:flex;
    align-items: center;
    justify-content:center;
    border-radius: 25px;
    opacity:.7;
    
    font-size: 15px;
}


/*popups*/

.popups_inner{
    position: absolute;
    margin-top: 400px;
    margin-left: 40%;
    margin-right: auto;
    opacity: .9;
    display: none;
}

.popup_massage{
    
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 100%;
    background-color: rgb(98, 131, 238);
    
    padding: 30px 60px;
    border-radius: 15px;
    
}

.popups_inner.active{
    display: block;
}

.close_popup{
    position: absolute;
    top: 15px;
    right: 22px;
    font-size: 20px;
    color:black ;
    cursor: pointer;

}

h3{
    text-align:center;
    font-size: 25px;
}


input{
    display: block;
    margin: 0 auto 15px;
    width: 150px;
    padding: 10px 25px;
    border-radius: 5px;
    
}

/*адаптация*/

@media only screen and (max-width:1200px){
    
    /*header*/
    
    .logo {
        max-width: 240px;
        margin-top: -1%;
    }

    .nav {
        font-size: 13px;
    }


    .logo_massage {
        margin-top: -3px;
    }

    .contacts{
        margin-right: 2%;
    }

    .contact_text {
        margin-top: 1%;
        font-size: 14px;
    }

    .logo_phone {
        margin-top: 6px;
        width: 16px;
        height: 16px;
    }

        /*intro*/

        h1 {
            font-size: 26px;
        }

        p {
            margin-top: 3%;
            margin-left: -4%;
            font-size: 11px;
        }

        .about{
            margin-top: 13%;
        }

        .about_img {
            max-width: 400px;
            height: 250px;
            margin-top: -42%;
            margin-left: 56%;
        }

          /*footer*/

    .logo_layer {
        max-width: 274px;
    }
    .nav_link_footer {
        font-size: 14px;
    }
    .nav_link_footer {
        margin-top: 8%;
    }

    /*popups*/

    .popups_inner {
        margin-left: 37%;
     }
          
    }
    
    
    @media only screen and (max-width:992px){
        
        .header_inner{
            margin-right: -19%;
        }
    
    
        .logo {
            max-width: 214px;
            margin-top: -1%;
            margin-left:1% ;
        }
        .nav {
            font-size: 12px;
        }
    
    
    
        .logo_massage {
            margin-top: -3px;
        }
    
        .contact_text {
            margin-top: 1%;
            font-size: 12px;
        }
    
        .logo_phone {
            margin-top: 1px;
            width: 14px;
            height: 14px;
        }

        /*intro*/

        .intro{
            width: 120%;
            height: 1000px;
        }
        .about_img {
            max-width: 0;
            height: 0;
        }

        .about {
            margin-top: 12%;
        }


           /*footer*/

           .logo_layer {
            max-width: 250px;
            max-height: 52px;
        }

        .nav_link_footer {
            font-size: 13px;
            margin-top: 28px;
        }

        h1 {
            font-size: 31px;
        }

        p {
            font-size: 20px;
        }

        .layer2 {
            font-size: 11px;
        }

        .layer3 {
            font-size: 13px;
            margin-top: 0%;
        }
        
        h2 {
            margin-top: 4%;
        }

        .layer3 {
            font-size: 11px;
        }

        h4 {
            font-size: 12px;
        }

        /*popups*/
        .popups_inner {
            margin-left: 41%;
        }
    }


    
    @media only screen and (max-width:768px){
       
        /*header*/
       
     .header{
        height: 33%;
    }

    .conteiner{
        height: 0%;
    }

    .header_inner {
     height: 43px;
    
 }

 .logo{
     margin-top: 0%;
     margin-left: 3%;
     max-width: 100px;
 }
 img {
     width: 180%;
     height: 100%;
     margin-top: 0%;
 }

 .nav_link {
     display: inline-block;
     vertical-align: top;
     margin-right: 0%;
     color: rgb(0, 0, 0);
     text-decoration: none;
     transition: color .1s linear;
     position: relative;
 }

 .nav {
     margin-top: 2%;
     font-size: 10px;
     margin-left:24%;
     width: 66%;
     height: 96%;
 }

     .logo_phone {
         margin-top: -3px;
         margin-right: 148px;
         width: 0px;
         height: 10px;
     }


     .contacts{
     max-width: 0%;
     max-height: 0%;
     }

     .contact_text {
         margin-top:0;
         font-size: 0px;
     }

     .logo_massage {
         margin-top: -5px;
     }

       

        /*intro*/
        .intro {
            height: 1100px;
        }

        .about{
            margin-top: 20%;
            margin-left: 5%;
        }

        h1 {
            font-size: 18px;
        }

        p {
            font-size: 14px;
        }

       /*footer*/
     .layer3 {
        width: 100%;
        margin-top: -63%;
        font-weight: bold;
    }

    .information {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        height: 485px;
      }

      .logo_layer {
        max-width: 185px;
        max-height: 52px;
        margin-right: 40%;
        margin-top: 17%;
    }
    .nav_link_footer {
        margin-left: 2%;
        font-size: 12px;
        word-spacing: 5px;
    }

    .layer2 {
        margin-left: 24%;
        font-size: 9px;
    }

    hr {
        width: 100%;
    }

    .popups_inner {
        margin-left: 27%;
    }

    }
    
    @media only screen and (max-width:480px){

    /*header*/

    .header_inner{
        width: 100%;
    }

    .logo {
        margin-top: 0%;
        margin-left: 3%;
        max-width: 50px;
    }
.nav {
    margin-top: 7%;
    font-size: 6px;
    margin-left: 25%;
    width: 66%;
    height: 96%;
}

    /*intro*/

    .intro {
        width: 100%;
    }

    .our_contacts {
        margin-top: 51%;
    }

    .about{
        margin-top: 29%;
    }

    h1 {
        font-size: 15px;
    }

    p {
        font-size: 12px;
    }
    /*footer*/
    .layer3 {
        margin-top: -107%;
    }

    .popups_inner {
        margin-left: 6%;
    }

    }
    
    @media only screen and(max-width:320px){
    }
    
}









