*{
    margin: 0;
    padding: 0;
    font-family: 'Calibri', 'Arial', sans-serif;
}

.wrapper{
    width: 100%;
    display: flex;
   flex-direction: column;
}

.headContainer{
    height: 80px;
    display: flex;
    align-items: center;
    flex-wrap:wrap;
    background-color: #0a1623;
}

.logo{
    margin-left: 14%;
}

.logo img{
    height: 40px;
} 

nav.mobileMenu{
    background: #0a1623;  
    padding: 15px;
    z-index: 2;
    position: absolute;
    top: 16px;
    right: 0;

   
  }
  .list-menu{
    display: flex;
    list-style: none;
  }
  .list-menu > li > a{
    color: #fff;
    display: block;
    padding: 5px 15px;
  }
  .list-menu > li > a:hover{
    background: #000;
  }
  
  #btn-menu{
    display: none;
  }
  #btn-menu + label{
    display: none; 
    position: relative;
    color: #fff; 
    height: 20px;
    z-index: 1;
    cursor: pointer;
  }
  #btn-menu + label:before{
    content: '\f0c9';  
    display: inline-block;
    font-family:'FontAwesome';
    font-size: 22px;
  }
  #btn-menu:checked + label:before{
    content: '\f00d';
    color: #fff;
  }
  
  @media screen and (max-width: 767px) {
   
     #btn-menu + label{
        display: inline-block;
     }
    #btn-menu + label + .list-menu{
      display: none;
    }
    #btn-menu:checked + label + .list-menu{
      display: block;
    }
  }

nav.desctopMenu {
    display: none;
 
}

ul{
    /*width: 598px;*/
    list-style: none;
    display: none;
    flex-wrap: wrap;
    justify-content: flex-start;
}


li>a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.heading{
    padding-top: 50px;
    height: 100px;
    vertical-align: middle;
    margin-bottom: 20px;
}

h1{
    
    font-size: 38px;
    font-weight: 100;
    color: rgba(35, 31, 32, 255);
    text-align: center;
    

}

.brends{
    margin: 0 auto;
  
    display: flex;
   flex-wrap: wrap;
   justify-content: center;
    
}

.companyName{
    margin-bottom: 20px;
}
.aboutCompany{
    margin: 0 30px;
    text-align: center;
}
.sloganOfCompany{
    font-size: 30px;
    text-align: center;
}

.containerU, .containerFL, .containerFF{
    margin-bottom: 30px;
    width: 320px;
    height: 320px;
    position: relative;
    perspective: 800px;

}



.rotationU{
    border: 1px solid #bcbec0;
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    -webkit-transition: transform 2s;
    -moz-transition: transform 2s;
    -o-transition: transform 2s;
    transition: transform 2s;

}

.rotationU div{
        margin: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -o-backface-visibility: hidden;
        backface-visibility: hidden;
}

.rotationFrontU {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.rotationFrontU img {
    width: 100%;
    max-width: 260px;
  
  }

  .rotationU .rotationBackU {
    background-color: #01a2d8;
    color: #fff;
    font-size: 16px;
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -ms-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
    display: flex;
   flex-direction: column;
    justify-content: center;
    align-items: center;
   
  }

  .rotationU .rotationBackU a{
    margin-top: 20px;
    color: #fff;
    font-size: 24px;
  }
  .rotationU:hover{
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -ms-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
  }

 
.rotationFL{
    border: 1px solid #bcbec0;
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    -webkit-transition: transform 2s;
    -moz-transition: transform 2s;
    -o-transition: transform 2s;
    transition: transform 2s;
}

.rotationFL div{
        margin: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -o-backface-visibility: hidden;
        backface-visibility: hidden;
}

.rotationFrontFL {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.rotationFrontFL img {
     width: 100%;
    max-width: 284px;
  }
  .rotationFL .rotationBackFL {
    background-color: #ae84be;
    color: #fff;
    font-size: 16px;
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -ms-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .rotationFL .rotationBackFL a{
    margin-top: 20px;
    color: #fff;
    font-size: 24px;
  }
  .rotationFL:hover{
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -ms-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
  }



.rotationFF{
    border: 1px solid #bcbec0;
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    -webkit-transition: transform 2s;
    -moz-transition: transform 2s;
    -o-transition: transform 2s;
    transition: transform 2s;
}

.rotationFF div{
        margin: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -o-backface-visibility: hidden;
        backface-visibility: hidden;
}

.rotationFront {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rotationFront img {
    width: 100%;
    max-width: 260px;
  }
  .rotationFF .rotationBack {
    background-color: #fde2a0;
    font-size: 16px;
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -ms-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
    display: flex;
    flex-direction: column;
     justify-content: center;
     align-items: center;
  }

  .rotationFF .rotationBack a{
    margin-top: 20px;
    color: #000;
    font-size: 24px;
  }

  .rotationFF:hover{
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -ms-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
  }

  .blockOfNews{
      margin-top: 20px;
  }

 .blockOfNews h3 {
     margin-bottom: 18px;
    text-align: center;
    font-size: 30px;
    font-weight: 100;
  }

  .newsRow{
      display: flex;
      flex-wrap: wrap;
      justify-content: space-evenly;

  }

  .newsItem{
      margin: 18px auto;
      width: 80%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
  }
  .newsItem img{
      max-height: 100px;
  }

.briefNew {
    padding: 20px 0;
    font-size: 15px;
    text-align: center;
}

.briefNew h4{
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 400;
}

.briefNew p {
    margin-bottom: 10px;
    font-weight: 100;
}

.briefNew a {
    color: #00a2d9;
}

.footerContainer {
    padding-left: 8.5%;
    padding-top: 25px;
    padding-bottom: 40px;
    background-color: #0a1623;
    color: #fff;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
}
.footerItems.social{
    width: 80%;
}
.footerItems.contacts{
    width: 80%;
    margin-bottom: 26px;

}

.footerItems.contacts p{
    font-size: 16px;
    line-height: 22px;
}
.footerItems h3 {
   margin-bottom: 26px;
    color: #00a2d9;
    font-size: 20px;
    font-weight: 100;
}

p.phone a, p.email a {
    font-size: 18px;
    text-decoration: none;
    color: #fff;
}

p.email{
    margin-bottom: 20px;
}

p.copyright {
    padding-bottom: 5px;
    padding-top: 5px;
    background-color: #0a1623;
    color: gray;
    text-align: center;
}

.brendsSocial{
    margin:16px auto;
    display: flex;
    flex-wrap: wrap;
} 

.logotypes { 
width: 60%;
}

.links { 
    width: 40%;
    }

.links a{
    margin-right:  10px;
}


.links a img {
    width: 22px;
}

.logoU {
    width: 80px;
}

.logoFF {
    width: 80px;
}

.logoFL {
    width: 104px;
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { 

   

 }

 /* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) { 
    .headContainer{
        height: 86px;

    }

    .logo{
        margin-left: 8%;
        margin-right: 10px;
    }
    .logo img{
        height: 46px;
    }
    nav.mobileMenu{
        display: none;
    }
   
   ul{
    display: block;
       list-style: none;
       display: flex;
       flex-wrap: wrap;
       justify-content: flex-start;
    }
    
    li{
     margin-left: 14px;
     margin-right: 14px;
  }

  h1{
      font-size: 46px;
  }
li>a{
    font-size: 15px;
}

.containerU, .containerFL, .containerFF{
    width: 386px;
    height: 386px;
    margin-left: 30px;
}

.rotationFrontU img{
    max-width: 280px;
}

.rotationFrontFL img{
    max-width: 298px;
}

.rotationFront img{
max-width: 280px;

}

.rotationU .rotationBackU, .rotationFL .rotationBackFL, .rotationFF .rotationBack {
    font-size: 20px;
}

.blockOfNews h3{
    font-size: 32px;
}

.newsItem img{
    max-height: 110px;
    }

   .briefNew {
       font-size: 17px;
   }
   .briefNew h4{
       font-size: 18px;
       text-align: center;
   }

   .footerContainer{
       flex-direction: row;
   }
   .footerItems h3{
       font-size: 20px;
   }
   .logotypes{
       width: 40%;
   }
   .logoU{
       width:90px;
   }
   .logoFL{
       width: 110px;
   }
   .links a img{
       width: 26px;
   }

   p.phone a, p.email a{
       font-size: 20px;
   }

   .footerItems.contacts p{
       font-size: 18px;
   }
   
 }

 /* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) { 
    .headContainer{
    height: 100px;
}
.logo{
    margin-left: 14%;
    margin-right: 40px;
}
li {
    margin-left: 18px;
    margin-right: 18px;
}

li>a {
    font-size: 17px;
}
.heading {
    padding-top: 60px;
    height: 110px;
}

h1 {
    font-size: 52px;
}
.containerU, .containerFL, .containerFF {
    width: 400px;
    height: 400px;
    margin-left: 30px;
}

.rotationFrontFL img {
    max-width: 318px;
}
.rotationFrontU img {
    max-width: 300px;
}
.rotationFront img {
    max-width: 300px;
}
.blockOfNews h3 {
    font-size: 36px;
}
.newsItem {
    margin: 22px auto;
    width: 42%;
}
.newsItem img {
    max-height: 115px;
}


.footerContainer{
    flex-direction: row;
}
.footerItems h3 {
    font-size: 26px;
}
.logoU {
    width: 100px;
}
.logoFL {
    width: 130px;
}
.links a img {
    width: 30px;
}
.logoFF {
    width: 100px;
}
p.phone a, p.email a {
    font-size: 24px;
}
.footerItems.contacts p {
    font-size: 20px;
}
}







/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { 
    nav{
        margin-left: 14%;
    }
    li{
   
        margin-right: 30px;
    }
    
    li>a {
        font-size: 16px;
    }
    .containerU, .containerFF, .containerFL {
 
        margin-left: 10px;
    
    }
    .headContainer{
        height: 100px;
    }
        
    
    .heading{
        padding-top: 40px;
        height: 130px;
        vertical-align: middle;
    }
    
    .logo img{
        height: 60px;
    }
    h1{
        
        font-size: 64px;
        font-weight: 100;
        color: rgba(35, 31, 32, 255);
        text-align: center;
        
        
    }
    .blockOfNews {
        margin-top: 30px;
    }
    
    .newsRow{
        margin: 20px auto;
    }
    .newsItem {
        width: 35%;
        flex-wrap: nowrap;
        align-items: center;
    }
    .newsItem img {
        max-height: 110px;
        margin-right: 35px;
    }
    .briefNew {
        font-size: 16px;
        text-align: justify;
    }
    
    .briefNew h4{
        font-size: 19px;
    }
    
    .rotationFront img, .rotationFrontU img, .rotationFrontFL img{
        width: 80%;
        margin-bottom: 30px;
    }
    .sloganOfCompany{
        font-size: 25px;
    }
    .footerItems h3{
        font-size: 26px;
        margin-bottom: 40px;
    }
    .footerItems.contacts p {
        font-size: 16px;
        line-height: 26px;
    }
    p.phone a, p.email a {
        font-size: 26px;
    }
    .footerContainer {
        padding-top: 60px;
        flex-direction: row;
    }



}
/*


@media (max-width:1500px){
    
}
    
    /*Page News*/
    
    .newsSection{
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .headofNews{
        margin-top: 66px;
        margin-bottom: 50px;
        text-align: center;
        font-size: 25px;
        line-height: 1.17em;
    }
    
    .newsBody{
    width: 70%;
    margin: 0 auto;
    text-align: justify;
    line-height: 30px;
    font-size: 20px;
    }
    
    .newsBody p {
        margin-bottom: 30px;
    }
    
    div.map{
        padding-left: 10%;
        padding-right: 10%;
    }
    div.images img{
        width: 100%;
    }
    div.imagesFlex {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }
    
    div.imagesFlex img{
        width: 425px;
        height: 600px;
    }
    
    p.copyright{
        color: gray;
    
    }
