html, body{
  height: auto;
}

.header{
  position: relative;
  width: 100%;
  left: 0;
  z-index: 50;
}
.header:before{
  content: '';
  position:absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:none;
  border-bottom: 1px solid rgba(225, 225, 225, 0.5);
}
.header__body{
  position:relative;
  display: flex;
  justify-content: space-between;
  height: 100px;
  align-items: center;
}
.header__list{
   display: flex;
   position: relative;
   z-index: 2;
}
.header__list li{
  list-style: none;
}
.header__link{
  color: white;
  margin-left:2rem;
  font-size: 1.8rem;
  z-index: 10;
  padding: 0 1rem 3.3rem 1rem;
  transition: 0.4s;
}
.header__burger{
  display: none;
}
.header__logo{
  position:relative;
  z-index: 3;
}
.header__menu{
  position: absolute;
  margin: 1rem 0 0;
  margin-left: 45%;
  transform: translateX(-50%);
  cursor: pointer;
}
.contact{
  position: absolute;
  right: -18rem;
  display: inline-block;
}
.img-contact{
  margin: 0 1rem 0;
}
@media (max-width: 1000px) {
  .header:before{
  z-index: 2;
}
  .header__link{
    font-size: 2rem;
    display: block;
    padding: 0;
    margin: 2rem 0;
  }
  .header__menu{
  margin: 0rem auto 0;
}
  .header__body{
    height: 100px;
  }
  .header__burger{
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    left: 2rem;
    position:relative;
  z-index: 3;
  margin-right: 3rem;
  }
  .header__burger:before,
  .header__burger:after{
   content: '';
   background-color:white;
   position: absolute;
   width: 100%;
   height: 2px;
   left:0;
   transition: all 0.4s;
  }
  .header__burger:before{
    top:0;
    left:0;
  }
  .header__burger span{
   background-color:white;
   position: absolute;
   width: 100%;
   height: 2px;
   left:0;
   top:9px;
   transition: all 0.4s;
  }
  .header__burger:after{
    bottom:0;
    left:0;
  }
  .header__menu{
    position:fixed;
    top:-100%;
    left:0;
    width: 100%;
    height: 100%;
    background-color:rgb(34, 34, 34);
    padding:70px 0px 0px 0px ;
    transition: all 0.4s;
  margin-left: 0%;
  transform: translateX(-0%);
  }
 .header__menu.active{
  top:0;
 }

.header__list{
   display:block;
   top: 5rem;
   left: -2.5rem;
}
.header__list li{
  margin: 0 auto;
  text-align: center;
}
.header__burger.active:before{
  transform: rotate(45deg);
  top:8px;
}
.header__burger.active span{
  transform: scale(0);
}
.contact{
  position: relative;
  display: block;
  margin: 0 auto;
  text-align: center;
  left: 0rem;
}
.header__burger.active:after{
  transform: rotate(-45deg);
  bottom:9px;
}}
.header-logo{
  background-color: rgb(17, 116, 158);
  position: relative;
  text-align: center;
  top: -1.3rem ;
  height: 7rem;
  width: 7rem;
}
.header-logo::before{
  content: '';
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  height: 7rem;
  width: 7rem;
  left: 1rem;
  top: 0.8rem;
  z-index: -1;
}
.h2-logo {
  color: white;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}
.li-center{
  position: relative;
  margin: 0 1.5rem 0 1.5rem ;
  transition: 0.4s;
}
@media(min-width: 1000px){
  .hover{
  display: none;
  position: absolute;
  background-color: rgb(17, 116, 158);
  width: 100%;
  left: 1rem;
  height: 0.5rem;
  top: 4rem;
  transition: 0.4s;
}
.header__link:hover{
  text-decoration:none;
  color: white;
}
.header__link:hover~.hover{
  display: inline-block;
  top: 5.7rem;
  transition: 0.4s;
  text-decoration:none;
}
}

/*SECTION*/
.main{
  color: white;
  background: url(../img/main.png) no-repeat center;
  background-size: 100% 100%;
  height: 100vh;
  position: relative;
  background-attachment:fixed;
}
@media (max-width: 778px){
  .main{
  background: url(../img/main.png) no-repeat left -1rem top;
  background-size: cover;
  height: 100vh;
  background-attachment:fixed;
}}
.box-main{
  text-align: center;
  margin: 15rem 1rem 0 1rem ;
}
.h{
  font-size: 9vw ;
  font-weight: bold;
}
.p-main{
  color: rgb(17, 116, 158);
  font-size: 21px;
  font-weight: bold;
  line-height: 51px;
  letter-spacing: 1.8rem ;
  font-size: 1.5vw ;
}
@media(max-width: 853px){
  .h{
  font-size: 11vw ;
}
.p-main{
  font-size: 2vw ;
}
@media(max-width: 533px){
  .h{
  font-size: 14vw ;
}
.p-main{
  font-size: 2vw ;
  line-height: 31px;
}
@media(max-width: 470px){
  .h{
  font-size: 14vw ;
}
.p-main{
  font-size: 12px ;
  line-height: 51px;
}
@media(max-width: 415px){
  .h{
  font-size: 14vw ;
}
.p-main{
  font-size: 12px ;
  letter-spacing: 1.2rem ;
}
