main {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
    animation: fadeIn 1s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  main h1 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
 main p {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 18px;
  }
  
  
  
  
  
  
  
    
  
/* Menú principal (puede estar dentro de un ul grande) */
/* IMPORTAMOS UNA FUENTE MODERNA */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f9fc;
  color: #333;
}

/* HEADER */
#head {
  background-color: #1e1e1e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

/* LOGO / ENLACE PRINCIPAL */
#index {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}


/* BOTÓN DE MENÚ (MÓVIL) */
#menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  transition: transform 0.3s ease;
}

#menu-toggle:hover {
  transform: scale(1.1);
}

/* MENÚ PRINCIPAL */
#menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

/* ENLACES DEL MENÚ */
#menu li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
}

#menu li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #00bcd4;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

#menu li a:hover::after {
  width: 100%;
}

#menu li a:hover {
  color: #00bcd4;
}

/* SUBMENÚ */
.submenu {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: #ffffff;
  display: none;
  flex-direction: column;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  animation: fadeIn 0.3s ease-in-out;
}

.submenu:hover .dropdown {
  display: flex;
}

.dropdown li a {
  padding: 0.75rem 1.25rem;
  display: block;
  color: #333;
  white-space: nowrap;
  font-weight: 500;
  transition: background-color 0.3s;
}

.dropdown li a:hover {
  background-color:  white;
  border-radius: 8px;
}

/* ANIMACIÓN DE ENTRADA */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  #menu {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  #menu.show {
    display: flex;
  }

  #menu li a {
    color: #333;
    padding: 1rem;
  }

  .submenu .dropdown {
    position: static;
    box-shadow: none;
    background-color: #f9f9f9;
  }

  .submenu.active .dropdown {
    display: flex;
  }

  .submenu:hover .dropdown {
    display: none;
  }
}
/* ====================================================================================================================== */
/* .aviso-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fefefe;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.7;
  }
  
  .aviso-container h1 {
    font-size: 2.3rem;
    color: #c0392b;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .aviso-container h2 {
    font-size: 1.4rem;
    color: #a93226;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid #e6b0aa;
    padding-left: 10px;
  }
  
  .aviso-container p {
    margin-bottom: 1rem;
  }
  
  .aviso-container ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: disc;
  }
  
  .aviso-container a {
    color: #e74c3c;
    text-decoration: none;
  }
  
  .aviso-container a:hover {
    text-decoration: underline;
  }
   */