* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.fade-in:nth-child(1) { animation-delay: 0s; }
.fade-in:nth-child(2) { animation-delay: 0.5s; }
.fade-in:nth-child(3) { animation-delay: 1s; }

body {
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(to bottom right, #1f1f1f, #1f1f1f);
  color: #1c1c1c;
  overflow-x: hidden;
  text-align: center;
}
  nav {
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav li {
    flex: 1;
  }

  nav a {
    display: block;
    padding: 14px 16px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  nav a:hover {
    background-color: #575757;
  }

  nav a.active {
    background-color: #04AA6D;
  }

  @media (max-width: 600px) {
    nav ul {
      flex-direction: column;
    }
  }

.menu {
  position: sticky;
  top: 0;
  background-color: #1a1a1a;
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: #dfdfdf;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color:  #ff3D00;
}

/* HERO */
.hero {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.hero-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1400px;
}

.hero-texto {
  flex: 1 1 300px;
  text-align: left;
}

.hero-texto h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #dfdfdf;
  line-height: 1.2;
}

.descripcion {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #dfdfdf;
}

.hero-imagen {
  flex: 1 1 50px;
  text-align: center;
}

.hero-imagen img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 20px auto;
}

/* BLOQUES */
.contenido-bloque {
  text-align: left;
  padding: 1rem;
  width: 100%;
}

.contenido-bloque h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #dfdfdf;
}

.contenido-bloque ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contenido-bloque ul li {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #dfdfdf;
}
.bloques {
  display: flex;
  flex-wrap: wrap;              /* Permite que se acomoden en varias filas si no entra todo */
  gap: 2rem;                    /* Espacio entre bloques */
  justify-content: center;      /* Centra horizontalmente los bloques */
  padding: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.bloque {
  flex: 1 1 250px;              /* Permite que cada bloque tenga un mÃ­nimo pero sea flexible */
  max-width: 350px;
  background-color: #f0f0f0;    /* PodÃ©s personalizar esto por bloque */
  border-radius: 20px;
  padding: 0.65rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.bloque:hover {
  transform: scale(1.02);
}

/* INTEGRANTES */
.integrantes-bloques {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.integrante-bloque {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f0f0f0;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, background-color 0.3s;
  margin-bottom: 1rem;
}

.integrante-bloque:hover {
  transform: scale(1.02);
  background-color: #f0f0f0;
}

.integrante-bloque img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 1rem;
}

.integrante-bloque .texto {
  text-align: left;
  font-size: 14px;
}

/* CLASES */
.menu-clases {
  padding: 1rem 1rem;
  text-align: center;
}

.menu-clases h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #dfdfdf;
}

.menu-clases ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.menu-clases li a {
  text-decoration: none;
  color: #1a1a1a;
  background-color: #dfdfdf;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s;
}

.menu-clases li a:hover {
  background-color: #ff3D00;
}



/* FOOTER */
.footer {
    margin-top: 1rem;
  background-color: #dfdfdf;
  color: #ff3D00;
  padding: 1rem;
  font-size: 0.6rem;
margin-bottom: 1rem; /* Esto agrega espacio entre el fondo del footer y el final de la pÃ¡gina */}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-col {
  flex: 1 1 300px;
}

.footer-info {
   font-size: 0.6rem;
  line-height: 1.5;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 1s ease-out forwards;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
