
    /* Estilos para el encabezado */
    header {
      background-color: #0000;
      padding: 10px;
      display: flex;
      justify-content: space-around;
      color: #FFD900;
      padding: 10px;
      border-bottom: solid 1px #FFD900;
  }

  /* Estilos para el logo y nombre de la empresa */
  .logo-container{
      display: flex;
      align-items: center;
      gap: 20px;
  }

  
  /* Logo está dentro de logo-container */
 .logo{
      width: 90px;
      height: 90px;
      border-radius: 50%;
      border: #FFD900 solid 4px;
      overflow: hidden;
      transition: 0.3s;
 }
 
 

 .logo:hover {
     cursor: pointer;
     box-shadow: 0 0 10px #FFD900;
     animation: bounce 0.5s ease infinite;
 }

 @keyframes bounce {
     0% {
      transform: scale(1);
        }
     50% {
      transform: scale(1.1);
        }
     100% {
      transform: scale(1);
     }
  }

 .logo .img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  /* h1 estilos  */

  h1 {
  font-size: 42px;
  font-weight: bold;
  margin: 0;
  color: #FFD900;
  font-family: 'Arial', sans-serif;
  text-shadow: 0 0 0 transparent;
}

  h1:hover {
  animation: shadowIn 0.4s forwards;
  }

  h1:not(:hover) {
  animation: shadowOut 0.4s forwards;
  }

  @keyframes shadowIn {
  from {
      text-shadow: 0 0 0 transparent;
  }
  to {
      text-shadow: 
          2px 2px 0 #261893,
          4px 4px 0 #DBFF5E,
          6px 6px 0 #d0e7c6;
  }
  }

  @keyframes shadowOut {
  from {
      text-shadow: 
          2px 2px 0 #261893,
          4px 4px 0 #DBFF5E,
          6px 6px 0 #d0e7c6;
  }
  to {
      text-shadow: 0 0 0 transparent;
  }
}

/* Estilos para la barra de navegación */
.main-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  gap: 20px;
}

.main-nav li {
  height: 30px;
  position: relative;
  display:  flex;
  justify-content: center;
  align-content: center;
  margin-top: auto;
}

.main-nav a {
  text-decoration: none;
  color: #FFD900;
  font-size: 24px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Efecto de subrayado al hover */
.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #FFD900;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}


/**  media query  **/ 

/* Ocultar el checkbox */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  
}

/* Estilos específicos para el menú de administración */
.admin-item {
      position: relative;
  }

  .admin-details {
      position: relative;
  }

  .admin-summary {
      list-style: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }

  .admin-summary::-webkit-details-marker {
      display: none;
  }

  .dropdown-icon {
      transition: transform 0.3s ease;
  }

  .admin-details[open] .dropdown-icon {
      transform: rotate(180deg);
  }

  .admin-submenu {
      position: absolute;
      left: 0;
      background-color: rgba(0, 0, 0, 0.9);
      border: 1px solid var(--primary-color);
      border-radius: 0.5rem;
      padding: 1rem;
      min-width: 200px;
      list-style: none;
      margin-top: 0.5rem;
      z-index: 10;
  }

  .admin-submenu li {
      margin-bottom: 0.5rem;
  }

  .admin-submenu li:last-child {
      margin-bottom: 0;
  }

  .admin-submenu a {
      white-space: nowrap;
      display: block;
      padding: 0.5rem;
  }

  .admin-submenu a:hover {
      background-color: rgba(255, 217, 0, 0.1);
  }

  /* Estilos para móvil */
  @media (max-width: 768px) {
      .admin-submenu {
          position: static;
          background-color: transparent;
          border: none;
          padding: 0 0 0 1.5rem;
          margin-top: 0;
      }

      .admin-submenu li {
          margin-bottom: 1.5rem;
      }

      .admin-summary {
          padding: 0.5rem 0;
      }
  }

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
  header {
      padding: 20px;
      justify-content: space-between;
  }

  /* Estilos para el botón hamburguesa */
  .nav-toggle-label {
      display: flex;
      flex-direction: column;
      margin-top: auto;
      margin-bottom: auto;
      margin-right: 10px;
      width: 50px;
      height: 35px;
      justify-content: space-between;
      cursor: pointer;
      z-index: 100;
  }

  .nav-toggle-label span {
      display: block;
      width: 100%;
      height: 3px;
      background-color: #FFD900;
      transition: all 0.3s ease;
  }

  /* Estilos para el menú */
  .main-nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.9);
      padding: 90px 30px;
      transition: 0.5s ease;
  }

  .logo-container h1{
      display: none;
  }

  .main-nav ul {
      flex-direction: column;
      gap: 40px;
  }

  /* Cuando el checkbox está marcado, mostrar el menú */
  .nav-toggle:checked ~ .main-nav {
      right: 0;
  }

  /* Animación del botón hamburguesa */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
      transform: rotate(45deg) translate(15px, 15px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
      opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }
}
 