/* 🔹 Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para el body */
body {
  font-family: "Bebas Neue", sans-serif;
  background-color: #1D1D27;
  animation: fadeIn 1s ease-in-out;
  background-image: url('./img/imgimgimg1.png'); /* Fondo */
  background-size: contain; 
  background-position: center;
}

/* Estilos para el logo */

.logo {
  display: flex;
  justify-content: center;
  margin: 3rem 0 3rem; /* 3rem arriba, 1rem abajo */
}

@media (max-width: 600px) {
  .logo {
    margin: 3rem 0 3rem;
  }
  .logo img {
    width: 18rem; /* un poco más pequeño en móvil */
  }
}

/* Estilos para el título principal */
.main-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-title p {
  margin: 0;
  font-size: 40px;
}

.main-title p:first-child {
  color: rgb(255, 255, 255);
}

.main-title p:nth-child(2) {
  color: white;
}

.main-title h2 {
  margin: 0;
  font-size: 40px;
  color: #FFD700;
}

.main-title p, .main-title h2 {
  animation: fadeIn 1.2s ease-in-out;
}

.main-title p, .main-title h2 {
  text-shadow: 4px 4px 8px rgba(2, 2, 2, 0.5); /* Ajusta los valores según tus necesidades */
}

/* Estilos para el botón de WhatsApp */
.whatsapp {
  margin: 3rem 0 1rem 0;
  display: flex;
  justify-content: center;
}

.button {
  padding: 0.6em 1.3em;
  display: flex;
  gap: 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  background-color: #17171B;
  border-radius: 10px;
  border: 1px solid #FFD700;
  color: aliceblue;
  box-shadow:
    0 0 25px #7B1FA2,
    0 0 25px #9C27B0,
    0 0 5px #7B1FA2 inset;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #3700ff,
              0 0 30px #3700ff,
              0 0 10px #3700ff inset;
}

/* Animación de pulsación en el botón */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.button {
  animation: pulse 2s infinite ease-in-out;
}

.button img {
  width: 30px;
}

/* Estilos para la sección "Mínimo" */
.MINIMO {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.MINIMO p {
  font-size: 25px;
  text-align: center;
}

/* Estilos para las secciones informativas */
.info-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 10px;
  margin: 30px auto;
  width: 500px; 
  max-width: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(136, 58, 58, 0.5);
  animation: fadeIn 1.5s ease-in-out; /* Animación de entrada */
}

.info-logo {   
  width: 60px;
  height: 60px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid #3700ff;
}

.info-text {
  color: rgb(5, 5, 5);
  font-size: 22px;
}

/* Estilos para el término de edad */
.TERMINO {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 40px auto;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
}

.TERMINO p {
  color: white;
}

/* 🔹 Diseño especial para dispositivos móviles de 320px a 600px */
@media (min-width: 320px) and (max-width: 600px) {
  .info-section {
    flex-direction: column; /* Cambiar de horizontal a vertical */
    padding: 8px;
    margin: 8px auto;
    width: 92%; /* Ajuste para no quedar pegado a los lados */
  }

  .info-logo {
    margin-bottom: 8px; /* Espacio entre la imagen y el texto */
    width: 35px; /* Imagen más pequeña */
    height: 35px;
  }

  .info-text {
    font-size: 20px; /* Reducir tamaño de texto */
    line-height: 1.3; /* Mejorar separación entre líneas */
  }
}
