
@font-face {
    font-family: 'CamiStyle';
    src: url('fonts/Birds of Paradise.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CamiStyle1';
    src: url('fonts/CampanaScript.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Signatra';
    src: url('fonts/Signatra.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BucklaneScript';
    src: url('fonts/BucklaneScript.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GoldenHills';
    src: url('fonts/GoldenHills.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #002366;
    color: #333;
}

header {
    position: relative;
    background-image: url(images/stars_1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 20px 20px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.textHeader {
    font-size: 2rem;
    font-family: 'CamiStyle1';
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.37); /* Negro tenue */
    z-index: 1; /* Encima de la imagen */
}

header > * {
    position: relative;
    z-index: 2; /* Encima de la capa oscura */
}

header h1 {
    margin: 0;
    font-size: 4rem;
    font-weight: normal;
    font-family: 'CamiStyle1';
}

header p {
    margin: 10px 0 0;
    font-size: 1.2em;
}

.details, .countdown, .gallery, footer {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.details h2, .countdown h2, .gallery h2 {
    margin-top: 0;
    font-size: 2em;
    color: hwb(231 5% 37% / 0.835);
}

.countdown #timer {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.countdown .time-box {
    text-align: center;
    color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    font-family: GoldenHills;
}

.countdown .time-box:hover {
    transform: scale(1.1);
}

.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.gallery .photo {
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery .photo img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery .photo:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    font-size: 1.2em;
    color: hwb(231 5% 37% / 0.835);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.agradecimientos {
    background-color: #002366;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

.divAgradecimientos {
    padding-bottom: 2rem;
    animation: fadeIn 4.5s ease forwards;
    transition: transform 0.3s ease;
     background-image: url(images/stars.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.textAgradecimientos {
    font-family: 'CamiStyle1';
    font-weight: normal;
    font-size: 3rem;
}

.label {
    font-family: 'GoldenHills';
    font-size: 1.3rem !important;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    background-color: #03030352;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(8, 16, 129, 0.342);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.time-box .label {
    font-size: 1rem;
    margin-top: 5px;
}

.ceremonia {
    background-color: #002366;
    padding: 30px 50px 0px 50px;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-family: monospace;
    font-size: 2rem !important;
     background-image: url(images/stars.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ceremonia h2 {
    font-size: 4rem;
    margin-bottom: 0rem;
    color: white;
    font-weight: normal;
}

.ceremonia p {
    font-size: 1.6rem;
    margin: 0.5rem 0;
    line-height: 2.4rem;
    font-family: GoldenHills;
}

.mapa-container {
    position: relative;
    width: 100%;
    padding-bottom: 70%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.mapa-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ceremonia-wrapper {
    padding: 0 10px; /* Espacio a los lados */
    margin: 20px auto;
    max-width: 900px; /* Limita el ancho para que no se vea muy extendido */
    animation: fadeIn 4.5s ease forwards;
}

.ceremonia img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.fade-in-section {
 animation: fadeIn 4.5s ease forwards;
}


.asistencia-wrapper {
  padding: 0 10px;
  margin: 10px auto;
  max-width: 900px;
  animation: fadeIn 2s ease forwards;
    background-image: url(images/stars.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.asistencia {
  background-color: #002366;
  padding: 40px 0px;
  margin: 20px;
  border-radius: 15px;
  text-align: center;
  color: white;
       background-image: url(images/stars.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rsvp-status {
  opacity: 0;
  transform: scale(0.8);
  animation: fadeZoomIn 0.5s forwards;
}

@keyframes fadeZoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.asistencia h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: normal;
  color: #ffffff;
}

.rsvp {
  background-color: #ffffff;
  padding: 2rem 2rem 1rem 2rem;
  margin: 2rem auto;
  max-width: 500px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.566);
}

.rsvp label {
  display: block;
  text-align: left;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 500;
}

.rsvp input,
.rsvp select {
  padding: 12px;
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.rsvp button {
  padding: 12px 24px;
  background-color: #002366;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.footerJoe {
  margin-top: 4rem;
  padding: 1rem 0;
  height: 10px;
  text-align: center;
  font-size: 0.75rem;
  margin: 0 !important;
  background-color: #00246641;
  border-radius: 0 !important;
  color: #aaa; /* Gris muy suave */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footerJoe div {
  background-color: #33333300;
}


.footerJoe strong {
  color: #333;
}

.rsvp button:hover {
  background-color: #001a4d;
}

.rsvp p {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.evento-footer {
  background-color: #f8f0e3; /* Color suave y elegante */
  color: #4a3f35; /* Texto en tono cálido */
  text-align: center;
  padding: 20px;
  font-family: GoldenHills !important;
  font-size: 1.5em;
  margin-bottom: 5rem;
  border-top: 3px solid #d4a373; /* Línea decorativa */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.432); /* Sombra sutil */
}

.evento-footer p {
  margin: 0;
}

.divfooter{
    height: 190px;
    width: 100%;
    background-image: url(images/stars.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.audio-container {
  position: fixed; /* 👈 Esto hace que se quede visible al hacer scroll */
  top: 1rem;
  right: 1rem;
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.audio-button-group {
  display: flex;
  align-items: center;
  background: #002366;
  border-radius: 50px;
  padding: 0rem 0rem 0rem 0rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  gap: 0.5rem;
}

.tipobutton {
  background: linear-gradient(to right, #ffffff, #7880b1);
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tipobutton:hover {
  transform: scale(1.05);
}

#soundGif{
    width: 3.5rem;
    padding-right: 0.5rem;
}

.icono-play {
  width: 2.5rem;
}

.sound-visualizer {
  width: 3rem;
  display: none;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

