body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(270deg, #6a00ff, #00eaff, #ff00cc);
  background-size: 600% 600%;
  animation: fondoAnimado 15s ease infinite;
  color: #eee;
}

@keyframes fondoAnimado {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  background: rgba(0,0,0,0.6);
  padding: 30px;
  text-align: center;
}

header h1 {
  font-size: 3em;
  color: #fff;
  font-family: 'Impact', sans-serif;
  text-shadow: 0 0 10px #00eaff, 0 0 20px #6a00ff, 0 0 30px #ff00cc;
  margin: 0;
  animation: tituloGlow 3s ease-in-out infinite alternate;
}

@keyframes tituloGlow {
  from { text-shadow: 0 0 10px #00eaff; }
  to { text-shadow: 0 0 25px #ff00cc, 0 0 40px #6a00ff; }
}

nav {
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px;
  flex-wrap: wrap; /* para móviles */
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 5px #00eaff;
  transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  color: #ffcc00;
  text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
  transform: scale(1.1);
}

section {
  padding: 40px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h2 {
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px #6a00ff, 0 0 20px #00eaff;
  margin-bottom: 20px;
  animation: tituloSeccion 2s ease-in-out infinite alternate;
}

@keyframes tituloSeccion {
  from { text-shadow: 0 0 10px #6a00ff; }
  to { text-shadow: 0 0 20px #00eaff, 0 0 30px #ff00cc; }
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 10px 0;
  font-size: 1.1em;
}

a {
  color: #00eaff;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 5px #00eaff;
  transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
  color: #ffcc00;
  text-shadow: 0 0 10px #ffcc00;
}

p {
  font-size: 1.2em;
  line-height: 1.6;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2em;
  }

  nav {
    flex-direction: column;
    gap: 15px;
  }

  section {
    margin: 20px;
    padding: 20px;
  }

  p, ul li {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
    padding: 8px;
  }
  .contenedor {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 10px;
  }
  .contenedor {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  body {
    font-size: 17px;
    padding: 12px;
  }
  .contenedor {
    flex-direction: row;
    gap: 15px;
  }
}

@media (max-width: 1280px) {
  body {
    font-size: 18px;
    padding: 15px;
  }
  .contenedor {
    flex-wrap: wrap;
  }
}

@media (max-width: 1440px) {
  body {
    font-size: 19px;
    padding: 20px;
  }
}

.miembro {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.miembro .foto {
  width: 80px;   /* tamaño de la foto */
  height: 80px;
  border-radius: 50%; /* opcional: hace la foto circular */
  margin-right: 15px;
}

.miembro .info h3 {
  margin: 0;
  font-size: 1.2em;
}

.miembro .info p {
  margin: 5px 0;
}

header {
  background: rgba(0,0,0,0.6);
  padding: 30px;
  text-align: center;
  display: flex;
  justify-content: space-between; /* título a la izquierda, selector a la derecha */
  align-items: center;
}

#languageSwitcher {
  padding: 5px 10px;
  font-size: 1em;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 5px;
}
