html {
  background-color: #fff;
}

body {
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffe8e7;
  max-width: 464px;  /* Máximo ancho, pero se ajusta si es más chico */
  width: 100%;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.libre-baskerville-regular {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
}

.libre-baskerville-bold {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-style: normal;
}

.libre-baskerville-regular-italic {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: italic;
}

.libre-baskerville-regular {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
}

.libre-baskerville-bold {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-style: normal;
}

.libre-baskerville-regular-italic {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: italic;
}


header img {
  width: 100%;
}

header h1 {}

header h2 {}

p {
  font-family: "Libre Baskerville", serif;
  color: #aa7c7b;
  margin: 0;
}

.main-photo {
  width: 100%;
  max-width: 500px;
}

.botonesmusica {
  display: flex;
  /* activa flexbox */
  justify-content: center;
  /* centra horizontalmente */
  align-items: center;
  /* alinea verticalmente */
  gap: 15px;
  /* espacio entre elementos */
  margin: 20px auto;
  /* separa del resto del contenido */
}

.cancion button {
  background-color: #e4aeb3;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5em;
  cursor: pointer;

  text-align: center;
  padding-bottom: 7px;
  padding-left: 7px;
}

hr {
  border: none;
  height: 2px;
  background: #e4aeb3;
  /* color rosado */
  margin: 20px auto;
  width: 60%;
  /* ancho de la línea */
  border-radius: 2px;
}

.mensaje {
  background-color: #d68095;
  color: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  font-family: "Libre Baskerville", serif;
  font-style: italic;
}

.mensaje p {
  color: #fff;
}

.padres img {
  height: auto;
  /* mantiene proporción */
  width: 464px;
}

.evento {
  margin: 0px 0;
}

.evento img {
  height: auto;
  /* mantiene proporción */
  width: 464px;
}

.regalo img {
  height: auto;
  /* mantiene proporción */
  width: 464px;
}

#countdown {
  font-size: 2.2em;
  font-weight: bold;
  color: #aa7c7b;
  font-family: "Libre Baskerville", serif;
}

.crono {
  height: auto;
  /* mantiene proporción */
  width: 464px;
}

.lugar {
  padding-bottom: 0px;
  background-color: #fff;
}

.lugar img {
  height: auto;
  /* mantiene proporción */
  width: 464px;
}

.btn {
  display: inline-block;
  background: linear-gradient(to right, #d68095, #b06075);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 30px;
}

footer {
  background-color: #d68095;
  color: white;
  width: 100%;   /* Siempre ocupa todo el ancho */
  height: auto;  /* Ajusta su altura según el contenido */
  text-align: center; /* Centra el contenido dentro del footer */
  padding: 10px 10px; /* Espacio interno para que no quede tan apretado */
  box-sizing: border-box; /* Incluye el padding dentro del ancho */
}


.itinerario {}

.itinerario h3 {
  color: #d68095;
  margin-bottom: 15px;
}


.itinerario img {
  height: auto;
  /* mantiene proporción */
  width: 464px;
}

.asistencia {}

.asistencia img {
  height: auto;
  /* mantiene proporción */
  width: 464px;
  margin-top: 20px;
}

section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-in-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Todas las imágenes se adaptan */
img {
  max-width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Media query para móviles */
@media (max-width: 768px) {
  body {
    margin: 0;   /* Quita márgenes laterales */
    box-shadow: none; /* Opcional: quita sombra en móvil para más espacio */
  }
}