
  
    /* Header flotante */
    header {
      width: 90vw;
      background-color: #f2f2e8;
      border-radius: 3vw;
      padding: 1vh 2vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: absolute;
      top: 2vh;
      left: 5vw;
      right: 5vw;
      z-index: 10;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
     
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 1vw;
    }
    .logo img {
      width: 100px;
    }
    nav {
      display: flex;
      gap: 2vw;
      align-items: center;
    }
   /* --- Normalización del nav --- */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- Todos los enlaces --- */
nav a {
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* --- Efecto hover en todos los links --- */
nav a:hover {
  color: #6b4e1e;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}



/* --- Submenús desplegables --- */
.dropdown-menu {
  background-color: #f2f2e8;
  border: none;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  min-width: 10vw;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
  display: block;
  position: absolute;
}

/* --- Mostrar submenú cuando se pasa el mouse --- */
.nav-item.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

/* --- Opciones del submenú --- */
.dropdown-item {
  color: #333 !important;
 
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Hover bonito en submenú --- */
.dropdown-item:hover {
  background-color: #e0e0d5;
  color: #6b4e1e;
}


.lista{   
    height: 35px;
    width: 30px;
    cursor: pointer;
    transition: all ease 0.2s;
  }
  
  .lista:hover{
    transform: scale(0.9);
    transition: all ease 0.2s;
  }


 .nav-lista{
   gap: 3px; 
    
  }


.dropdown-toggle{
    color: #333 !important;
} 

.nav-link{
    color: #333 !important;
}

.nav-lista-2{
    display: none;
}


@media screen and (max-width: 1070px) {
    nav{
      font-size: 0.8rem;
    }
}

@media screen and (max-width: 719px) {
    .nav-lista{
        display: none ;
    }
    .nav-lista-2{
        display: block;
    }
}


a{
  color: transparent;
}