html { font-size: 3.2vw; }
body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #ffffff;
  color: #4b3b2a;
  text-align: center;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}



h1 {
  font-size: 2em;
  margin-top: 0;
  color: #8b5e3c;
}

.flores-esquina {
  position: absolute;
  top: -15vw; /* ajusta según lo que quieras que se monte */
  /*left: 50%;*/
  z-index: 5;
  /*transform: translateX(-100%);*/
  width: 110vw; /* ajusta según el tamaño deseado */
  pointer-events: none; /* evita que interfiera con clics */

}

.icono{
  display: block;
  margin: 2vw auto; /* centra horizontalmente */
  width: 12vw; /* ajusta el tamaño a tu gusto */
  height: auto;
}

.contenedor-imagenArriba {
  position: relative;
  width: 100%;
  margin: 0vw auto;
  display: flex;
  justify-content: center;
}

.contenedor-imagen {
  position: relative;
  width: 100%;
  margin: 20vw auto;
}

.foto {
  position: relative;
  width: clamp(90vw, 80vw, 100vw);
  display: block;
  margin: 0 auto;
  height: auto;
  /*box-shadow: 0 2vw 8vw rgba(0,0,0,0.2);*/
}
.fotoLugar {
  width: 40vw;
  /*height: 40vw;*/
  overflow: hidden;
  margin: 0 auto; /* centra horizontalmente */
  display: block;
  transition: transform 0.2s ease;
}
.fotoLugar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta y ajusta sin deformar */
  display: block;

}
.fotoLugar:hover {
  transform: scale(1.05);
}

.foto-principal {
  position: relative;
  width: 70vw;
  display: block;
  margin: 9vw auto 0 auto; /* arriba 50px, centrada a los lados, abajo 0 */
  height: auto;
  /*border-radius: 50%;
  box-shadow: 0 2vw 18vw rgba(0,0,0,0.2); */
}

.foto-mancha {
  position: absolute;
  top: -15vw; /* ajusta según lo que quieras que se monte */
  /*left: 50%;*/
  z-index: -1;
  /*transform: translateX(-100%);*/
  width: 110vw; /* ajusta según el tamaño deseado */
  pointer-events: none; /* evita que interfiera con clics */
}


.QuinceA {
  position: relative;
  /*top: -15vw;  ajusta según lo que quieras que se monte */
  /*left: 50%;*/
  /*z-index: -1;*/
  /*transform: translateX(-100%);*/
  width: 50vw; /* ajusta según el tamaño deseado */
  /*pointer-events: none;  evita que interfiera con clics */
}

.flores-superpuestas {
  position: absolute;
  top: -20vw; /* ajusta según lo que quieras que se monte */
  left: 50%;
  transform: translateX(-50%);
  width: 63vw; /* ajusta según el tamaño deseado */
  pointer-events: none; /* evita que interfiera con clics */
}

.imagen-circular {
  width: 40vw;
  height: 40vw;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto; /* centra horizontalmente */
  display: block;
  transition: transform 0.2s ease;
}

.imagen-circular img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta y ajusta sin deformar */
  display: block;
  border-radius: 50%;
}

.imagen-circular:hover {
  transform: scale(1.05);
}

.contenedor-lugar {
  position: relative;
  width: fit-content;
  margin: 0vw auto;
}
.labanda-derecha {
    position: absolute;
    top: -32vw;
    right: -55vw;
    width: 8vw;
    transform: rotate(-40deg);
    pointer-events: none;
}
.foto-manchaDer {
  position: absolute;
  top: -15vw; /* ajusta según lo que quieras que se monte */
  right: -85vw;
  width: 90vw;
  transform: rotate(-40deg);
  pointer-events: none;
  opacity: 0.5;
  z-index: -1;
}
.foto-manchaDere {
  position: absolute;
  top: -30vw; /* ajusta según lo que quieras que se monte */
  right: -20vw;
  width: 100vw;
  transform: rotate(-60deg);
  pointer-events: none;
  opacity: 0.4;
  z-index: -1;
}
.foto-manchaIzq {
  position: absolute;
  top: -15vw; /* ajusta según lo que quieras que se monte */
  left: -80vw;
  width: 120vw;
  transform: rotate(-40deg);
  pointer-events: none;
  opacity: 0.5;
  z-index: -1;
}
.labanda-izquierda {
    position: absolute;
    top: -20vw;
    left: -51vw;
    width: 10vw;
    transform: rotate(30deg);
    pointer-events: none;
}
.flores-derecha {
    position: absolute;
    top: 0vw;
    right: -38vw;
    width: 20vw;
    transform: rotate(-20deg);
    pointer-events: none;
}

.florSola {
  position: absolute;
  top: 5vw; /* ajusta según lo que quieras que se monte */
  left: 12%;
  z-index: 5;
  transform: translateX(-100%) rotate(24deg);
  width: 16vw; /* ajusta según el tamaño deseado */
  pointer-events: none; /* evita que interfiera con clics */
}


.florSola2 {
   position: absolute;
   top: 1vw;
   right: -4vw;
   width: 20vw;
   height: auto;
   pointer-events: none;
   opacity: 1;
   z-index: 3;
   transform: rotate(-5deg);
}




.botones {
  margin: 1vw 0;
}
.btn {
  display: inline-block;
  margin: 1vw;
  font-size: 4vw;
  padding: 1vw 2vw;
  background-color: #39156b;
  color: white;
  text-decoration: none;
  border-radius: 3vw;
}
.btn:hover {
  background-color: #c3ac88;
}


.texto1{
  font-size: 3vw;
  line-height: 1.2;
  font-family: 'Georgia', serif;
  color: #4b3b2a;
  text-align: center;
  padding: 3vw;
}
.titulos {
  line-height: 0.2;
  font-family: 'Ballet';
  font-size: 10vw; /* Ajusta el tamaño como desees */
  color: #997c38;  /* O el color que quieras */
  padding: 1vw;
   font-weight: bold;
  position: relative;
  text-align: center;
  z-index: 5;
}





.títulos-cinzel {
  line-height: 1.2;
  font-size: 4vw;
  align-items: center;
  font-family: 'Cinzel', serif; /* Puedes cambiar por la fuente que uses */
  color: #5b3715; /* Marrón oscuro elegante */

}
.títulos-cinzel .subtitulo {
  font-size: 5vw;
  align-items: center;
  font-family: 'Cinzel', serif; /* Puedes cambiar por la fuente que uses */
  color: #997c38; /* Marrón oscuro elegante */

}
.títulos-cursiva {
  font-size: 25vw;
  align-items: center;
  font-family: 'Cinzel', serif; /* Puedes cambiar por la fuente que uses */
  color: #997c38; /* Marrón oscuro elegante */
}

.animacionOpacidad {
  opacity: 0;
  transition: opacity 2s ease-out, transform 2s ease-out;
}
.animacionOpacidad.visible {
  opacity: 1;
  transform: translateY(0);
}

.animacionEscOpacidad {
  opacity: 0;
  transform: translateY(30vw);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;

}
.animacionEscOpacidad.visible {
  opacity: 1;
  transform: translateY(0);
}


.animacionDerOpacidad {
  opacity: 0;
  transform: translateX(20vw);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;

}
.animacionDerOpacidad.visible {
  opacity: 1;
  transform: translateX(0);
}


.animacionIzOpacidad {
  opacity: 0;
  transform: translateX(-10vw);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;

}
.animacionIzOpacidad.visible {
  opacity: 1;
  transform: translateX(0);
}

.animacionUpOpacidad {
  opacity: 0;
  transform: translateY(10vw);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;

}
.animacionUpOpacidad.visible {
  opacity: 1;
  transform: translateY(0);
}

.animacionDownOpacidad {
  opacity: 0;
  transform: translateY(-10vw);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;

}
.animacionDownOpacidad.visible {
  opacity: 1;
  transform: translateY(0);
}
.animacionEscala {
  transform: scale(1.1);
  opacity: 0;
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;

}
.animacionEscala.visible {
  transform: scale(1);
  opacity: 1;
}


.nombres {
  font-family: 'Ballet', cursive;
  font-size: 4em; /* Ajusta el tamaño como desees */
  color: #997c38;  /* O el color que quieras */
}



.ampersand {
  font-size: 0.6em; /* 60% del tamaño del texto padre */
  margin: 0 1vw;
  vertical-align: middle; /* Opcional: para que no se vea desalineado */
}

.fecha-invitacion {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif; /* Puedes cambiar por la fuente que uses */
  color: #5b3715; /* Marrón oscuro elegante */
  gap: 3vw;
  margin-top: 1vw;
}







.fecha-invitacion .dia-semana {
  font-size: 5vw;
  /* letter-spacing: 2vw; */

}
.fecha-invitacion .mes {
  font-size: 5vw;
  /* letter-spacing: 2vw; */
}
.contenedor-dia {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2vw;
  border-left: 0.5vw solid #997c38;
  border-right: 0.5vw solid #997c38;
}

.numero-dia {
  font-size: 11vw;
  /* font-weight: bold; */
  line-height: 1;
}

.anio {
  font-size: 3vw;
  margin-top: -1vw;
  letter-spacing: 0.5vw;
}












.iconos-container {
  display: flex;
  flex-direction: column;
  gap: 7vw;              /* separación entre bloques relativa a pantalla */
  max-width: 90vw;       /* ocupa 90% del ancho de la ventana */
  margin: 0 auto;
}

.icono-bloque {
  display: flex;
  align-items: center;
  gap: 4vw;
  justify-content: center;             /* espacio entre icono y texto */
}

.icono-bloque.invertido {
  flex-direction: row-reverse;
  text-align: right;
}

.iconoA {
  width: 25vw;           /* el icono ocupa un 15% del ancho de la ventana */
  max-width: 120px;      /* límite para que no crezca demasiado en pantallas grandes */
  height: auto;
}

.titulosN {
  line-height: 0.2;
  font-family: 'Ballet';
  font-size: 7vw; /* Ajusta el tamaño como desees */
  color: #997c38;  /* O el color que quieras */
  padding: 1vw;
   font-weight: bold;
  position: relative;
  text-align: center;
  z-index: 5;
}
.textoA{
  text-align: center;
}


.respira {
  display: inline-block;
  animation: pulse 2s infinite ease-in-out; /* duración 2s, ciclo infinito */
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); } /* aumenta un poquito */
  100% { transform: scale(1); }
}












#controlMusica {
  background: none;
  border: 1vw solid #8b5e3c;
  padding: 3vw;
  border-radius: 50%;
  color: #8b5e3c;
  font-size: 6vw;
}


  #playPauseBtn {
    position: fixed !important;
    bottom: 3vw !important;
    left: 3vw !important;
    right: auto !important;
    width: 14vw !important;
    height: 14vw !important;
    z-index: 9999 !important;

  }


#playPauseBtn img {
  width: 100%;
  height: auto;
}

#playPauseBtn:hover {
  transform: scale(1.1);
}

#playPauseBtn:active {
  transform: scale(0.95);
}

#playPauseIcon {
  width: clamp(28px, 10vw, 40px);
  height: clamp(28px, 10vw, 40px);
  transition: opacity 0.2s ease;
}







.countdown {
  display: flex;
  justify-content: center;
  font-family: 'Cinzel', serif;
  color: #997c38;
  /* font-weight: bold; */
}

.time-box {
  text-align: center;
  margin: 0 5vw;
}

.time-box span {
  font-size: 8vw;
  display: block;
}

.label {
  font-size: 3vw;
  margin-top: 1vw;
}

.separator {
  font-size: 8vw;
  margin: 1 auto;
  line-height: 1;
  vertical-align: middle;
}
body { overflow-x: hidden; }


/* === Ensure no initial scroll is needed and button appears immediately === */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  overflow-x: hidden !important;
}

/* Extra rule for small height screens */
@media screen and (max-height: 1000px) {
  #playPauseBtn {
    bottom: 2vh !important;
  }
}


/* === Final adjustment: refined position and clean style === */
@media screen and (max-width: 1000px) {
  #playPauseBtn {
    position: fixed !important;
    bottom: 6vh !important;
    left: 4vw !important;
    right: auto !important;
    width: 14vw !important;
    height: 14vw !important;
    max-width: 70px;
    max-height: 70px;
    z-index: 9999 !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}


/* === Posicionamiento final y preparación para ícono dinámico === */
@media screen and (max-width: 1080px) {
  #playPauseBtn {
    position: fixed !important;
    bottom: 8vh !important;
    left: auto !important;
    right: 3vw !important;
    width: 14vw !important;
    height: 14vw !important;
    max-width: 70px;
    max-height: 70px;
    z-index: 9999 !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  #playPauseBtn img {
    width: 100% !important;
    height: auto !important;
    transition: opacity 0.3s ease;
  }

  /* Oculta el ícono actual cuando se pausa */
  #playPauseBtn.paused img.play-icon {
    display: block;
  }

  #playPauseBtn.paused img.pause-icon {
    display: none;
  }

  #playPauseBtn.playing img.play-icon {
    display: none;
  }

  #playPauseBtn.playing img.pause-icon {
    display: block;
  }
}
