.info {
  width: 90%;
  margin: 0 auto;
  padding: 2em 0;
  margin-bottom: 50px;
}

.info h1 {
  text-align: center;
  font-size: xx-large;
}

.general {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 2em;
  flex-wrap: wrap;
}

.niños, .adultos, .adolescentes {
  background-color: #BFC5F7;
  border-radius: 15px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Botón de inscripción */
.boton-inscripcion a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #374151;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.boton-inscripcion a:hover {
  background-color: #4b5563;
}

/* Footer */
footer {
  background-color: #000000;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

/* Redes */
.container {
  margin: 10px;
  display: flex;
  column-gap: 28px;
}

.icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  text-decoration: none;
  font-size: 25px;
  outline: 2px solid white;
  border-radius: 50%;
  transition-property: outline-offset, outline-color, background-color;
  transition-duration: 0.25s;
  color: white;
}

.icon:hover { outline-offset: 4px; }
.icon svg { margin: auto; width: 31px; }

.icon-instagram:hover { background-color: red; outline-color: red; }
.icon-dis:hover { background-color: rgb(76, 0, 255); outline-color: rgb(76, 0, 255); }
.icon-github:hover { background-color: #555555; outline-color: #555555; }
.icon-in:hover { background-color: #0a66c2; outline-color: #0a66c2; }

.icon:hover svg { animation: shake 0.25s; }

@keyframes shake {
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
}

/* Responsive */

/* Celulares (≤480px) */
@media (max-width: 480px) {
  .general {
    flex-direction: column;   /* apilados */
    align-items: center;
  }
  .niños, .adultos, .adolescentes {
    max-width: 90%;           /* ocupan casi todo el ancho */
  }
}

/* Tablet pequeña (481px – 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .general {
    flex-direction: column;   /* siguen apilados */
    align-items: center;
  }
  .niños, .adultos, .adolescentes {
    max-width: 400px;
  }
}

/* Tablet grande (768px – 979px) */
@media (min-width: 768px) and (max-width: 979px) {
  .general {
    flex-direction: row;      /* ya en fila */
    justify-content: center;
    gap: 2em;
  }
  .niños, .adultos, .adolescentes {
    max-width: 300px;
  }
}

/* Desktop (≥980px) */
@media (min-width: 980px) {
  .general {
    flex-direction: row;
    justify-content: space-around;
  }
}