
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #242e4c; 
  color: #ffffff;  
  z-index: 100; /* Asegura que el encabezado esté por encima de otros elementos */
  font-family:'Sawarabi Mincho','Times New Roman', Times, serif;

}
.header{
  font-family:'Sawarabi Mincho','Times New Roman', Times, serif;
}

nav{
  background: #242e4c;
  color: #ffffff;
  font-family:'Sawarabi Mincho','Times New Roman', Times, serif;

}

.enlace{
  position: absolute;
  padding: 20px 30px;
  font-family:'Sawarabi Mincho','Times New Roman', Times, serif;

}

header .logo{
  width: 420px;
  height: 40px;
}

.logo__sidebar{
  opacity: 0;
  visibility: hidden;
}

header nav ul{
  float: right;
  margin-right: 20px;
}

header nav ul li{
  display: inline-block;
  line-height: 35px;
  margin: 0 10px;
}

header nav ul li a{
  color: #fff;
  font-size: 18px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
}

header li a.active, li a:hover{
  background: #000090;
  transition: .5s;
}

header .checkbtn{
  font-size: 30px;
  color: #ffffff;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check{
  display: none;
}

header section{
  background: url(fondo.jpg) no-repeat;
  background-size: cover;
  background-position: center center;
  height: calc(100vh - 80px);
}


@media (max-width: 952px){

  header nav ul li a{
      font-size: 10px;

  }

  header .logo{
    width: 80px;
  }


}


@media (max-width: 2000px){
    header .checkbtn{
    display: block;
}

.enlace{
  padding: 20px 0 40px 0px;
}

header .logo{
  width: 80px;
  height: 80px;
}


/*

APARTADO BOTON

*/
header nav ul li a{
  border-bottom: 2px solid rgba(116, 116, 116, 0.3);

}

.enlace{
  padding: 20px 0 10px 10px;
}

header ul{
    position: fixed;
    width: 100%;
    height: 60%;
    background: #000000;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    
}
header ul li button{
  font-size: 20px;
}

header nav ul li{
    display: block;
    margin: 30px 0;
    line-height: 3px;
}

header nav ul li a{
    font-size: 20px;
}

header li a:hover, li a.active{
    background: none;
    color: #007BD6;
}

header #check:checked ~ ul{
    left:0;
}

}

@media (max-width: 700px){

  header .logo{
    width: 200px;
    padding-left: 1px;
  }

  .enlace{
    padding: 20px 0 10px 10px;
  }
}