body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Barra superior con degradado */

.barra-superior {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  width: 100%;
  background: linear-gradient(to right, #a2c517, #1aabdb, #56a53f);
  z-index: 900;
  padding: 0 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}


/* Contenedor de los botones a la derecha */
.barra-botones {
  position: absolute;
  left: 50px;
  display: flex;
  gap: 10px;
}

/* Estilo base para ambos botones */
.barra-botones button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  height: 32px;
  width: 32px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.boton-uno:hover{
      transform: scale(1.2); /* 20% más grande */
}

.boton-dos:hover{
    transform: scale(1.2); /* 20% más grande */
}

.boton-uno:hover img{
    content: url("../links/btn-header-home-hover.png");
}

.boton-dos:hover img{
    content: url("../links/btn-header-back-hover.png");
}

/* Estilo independiente para cada botón */
.boton-uno img,
.boton-dos img {
  height: 100%;
  width: auto;
  display: block;
}


/* Logo en el centro */
.logo-central {
  height: 45px;
}

/* Botón hamburguesa */
.hamburguesa-men {
  position: fixed;
  top: 14px; /* debajo de la barra */
  right: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1100;
  background-color: #fff;
  padding: 8px 8px;
  border-radius: 10px;
  border: solid 2px #f9bb12;
  padding-top: 12px;
}

.hamburguesa-men span {
  display: block;
  width: 100%;
  height: 4px;
  background: #f9bb12;
  margin-bottom: 5px;
  border-radius: 2px;
  
}


.hamburguesa-men:hover{
  background-color: #f9bb12;
}

.hamburguesa-men:hover span{
  background: #ffffff;
}





/* Menú lateral */
.menu-principal {
  position: fixed;
  top: 0px; 
  right: -220px;
  width: 200px;
  height: 100vh;
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  transition: right 0.3s ease;
  z-index: 1001;
  
}

.menu-principal.activo {
  right: 0;
}

.menu-principal a {
  padding: 5px 20px;
  color: #cccccc;
  text-decoration: none;
  border-bottom: 1px solid #34495e;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  font-size: 50px;
}

.menu-principal a:hover {
  
  color: #56a53f ;
}

.menu-BE a{
  padding: 5px 20px;
  color: #cccccc;
  text-decoration: none;
  border-bottom: 1px solid #34495e;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  font-size: 50px;
}

.menu-BE a:hover{
  color: #1aabdb;
}

.submenu-nivel-3-BE a:hover{
  color: #1aabdb !important;
}

/* Submenú nivel 2 */
.submenu-nivel-2-BE,
.submenu-nivel-2 {
  position: fixed;
  top: 0px;
  right: 200px;
  height: 100vh;
  display: none;
  flex-direction: column;
  background-color: #e5e6e6;
  width: 300px;
  padding-top: 30px;
  z-index: 1000;
  
  
}
.submenu-nivel-2-BE a{
  padding-top: 30px;
  color: #cccccc;
  text-decoration: none;
  border-bottom: 1px solid #2c3e50;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  font-size: 20px;
}
.submenu-nivel-2 a {
  padding-top: 30px;
  color: #cccccc;
  text-decoration: none;
  border-bottom: 1px solid #2c3e50;
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  font-size: 20px;
}

.submenu-nivel-2 a:hover {
  
  color: #56a53f;
}

/* Submenú nivel 3 */
.submenu-nivel-3 {
  position: fixed;
  top: 0px;
  right: 500px;
  height: 100vh;
  display: none;
  flex-direction: column;
  background-color: #cccccb;
  width: 200px;
  padding-top: 30px;
  z-index: 999;
  
}

.submenu-nivel-3 a {
  padding: 15px 20px;
  color: #999999;
  text-decoration: none;
  border-bottom: 1px solid #2c3e50;
}

.submenu-nivel-3 a:hover {
  
  color: #56a53f ;
}

/* Mostrar submenús con hover */
.has-submenu:hover .submenu-nivel-2 {
    
  display: flex;
}
.has-submenu-BE:hover .submenu-nivel-2-BE {
    
  display: flex;
}



.submenu-item-2:hover .submenu-nivel-3 {
  
  display: flex;
}



.submenu-item-2{
    padding-top: 20px;
}




.menu-principal::after,
.submenu-nivel-2::after,
.submenu-nivel-2-BE::after,
.submenu-nivel-3::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  box-shadow: -10px 0 15px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 10000;
}