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: relative;
    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%;
}

/*layer*/
.layer1{
    position: relative;
    width: 30%;
    height: 313px;
    margin-top: -374px; /*-481px*/
    margin-left: auto;
    margin-right: 8%;
    margin-bottom: 500px;
    background-color: whitesmoke;
    padding: 2%;
}

h1{
    text-align:center;
    font-size: 18px;
}

p{
   text-align: center; 
   font-size: 15px;
   color: black;
}

/*sliders*/

.flex-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    
}

.slider-wrapper{
    max-width: 650px;; /*600px*/
    max-height: 450px;
    position:relative;
    margin-top: 17%;
    margin-right: 40%;/*отступ справа*/
}

h5{
    padding: 20%;
    padding-top: 270%;
	width: 90%;
	color: black;
    font-size: 50px;
    
}

#btn-prev,#btn-next{
    position: absolute;
    left: 0;
    top: 0;
    height:100%;
    width: 50px;
    background-color: grey;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity .2 ease-in-out;
}

#btn-prev:hover, #btn-next:hover{
    opacity: 0.6;
}

#btn-next{
    left: auto;
    right: 0;
}

.slide{
    width: 100%;
    height:100%;
    display: none;
}

.slide.active{
    display: block;
}

img{
    width: 100%;
    height:100%;
}



span{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: gray;
    margin-right: 10px;
    cursor: pointer;
}

span:last-child{
    margin-right: 0;
}

/*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: -750px;
    margin-left: 42%;
    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*/

    .slider-wrapper {
        max-width: 530px;
        margin-top: 26%;
    }

    h5{
        padding: 20%;
        padding-top: 210%;
        width: 90%;
        color: black;
        font-size: 50px;
        
    }

    .layer1{
        margin-top: -31%;
        margin-right: 3%;
        height: 268px;
    }

    h1 {
        text-align: center;
        font-size: 13px;
    }

    p {
        text-align: center;
        font-size: 11px;
        color: black;
    }

    /*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*/

 .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;
    }

    .slider-wrapper {
        margin-left: 2%;
    }

    .layer1 {
        margin-right: 3%;
        height: 270px;
        margin-top: -307px;
    }

    h1 {
        font-size: 16px;
    }

    p {
        font-size: 10px;
    }


    /*footer*/

    .logo_layer {
        max-width: 250px;
        max-height: 52px;
    }

    .nav_link_footer {
        font-size: 13px;
        margin-top: 28px;
    }



    .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*/

      .flex-wrapper {
        margin-top: 0%;
        margin-left: 0%;
    }

    h5 {
        padding: 29%;
        padding-top: 130%;
        width: 90%;
        color: black;
        font-size: 34px;
    }

    .layer1 {
        margin-right: 3%;
        width: 27%;
        height: 325px;
        margin-top: -257px;
    }

      .slide {
          margin-left: 0%;
        width: 55%;
    }

    h1 {
        font-size: 11px;
    }

    p {
        font-size: 9px;
    }


      /*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%;
    }

    .slide {
        margin-top: 0%;
        margin-left: 3%;
        width: 89%;
    }
    .slider-wrapper {
        max-width: 530px;
        margin-top: 75%;
    }

    #btn-prev {
        position: absolute;
        left: 7px;
        top: 0;
        height: 100%;
        width: 50px;
        background-color: grey;
        opacity: 0.4;
        cursor: pointer;
        transition: opacity .2 ease-in-out;
    }

     #btn-next {
        position: absolute;
        left: 139%;
        top: 0;
        height: 100%;
        width: 50px;
        background-color: grey;
        opacity: 0.4;
        cursor: pointer;
        transition: opacity .2 ease-in-out;
    }
    

    .layer1 {
        margin-right: 3%;
        width: 90%;
        height: 16%;
        margin-top: -394px;
    }

    /*footer*/

    .layer3 {
        width: 100%;
        margin-top: -107%;
        font-weight: bold;
    }

    .popups_inner {
        margin-left: 6%;
    }
    
}

@media only screen and(max-width:320px){
}


