html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}


body {
  font-family: 'Times New Roman', serif;
  background: url(img/fondo-2.png) no-repeat center center fixed;
  background-size: cover; 
  background-attachment: fixed; 
  text-align: center;
  color: #4b2e1e;
}

.container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


header {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 20px;
  color: #4b3d2a;
}

.footer {
  text-align: center;
  padding: 15px 0 10px 0; 
  margin-top: 10px; 
  width: 100%;
  height: 50px;
  background-color: #f7d9c4;
  color: #4b2b1b;
  font-weight: bold;
}

.footer p {
  margin: 0;
  font-size: 15px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #4b2b1b;
  margin: 0 10px;
  font-size: 18px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.rox {
  font-family: "Dancing Script", cursive;
  font-size: 1.8em;
  display: block;
  margin-top: 8px;
  color: #4b3d2a;
}

h2 {
  font-size: 1.3em;
  color: #4b3d2a;
  margin: 5px 0 10px;
}

img.portada {
  width: 100%;
  max-width: 250px; 
  height: auto;
  border-radius: 10px;
  margin: 10px auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.iconos {
  width: 100%;
  max-width: 150px; 
  height: auto;
  border-radius: 10px;
  margin: 10px auto;
  display: block;
}

.iconos2 {
  width: 100%;
  max-width: 85px; 
  height: auto;
  border-radius: 10px;
  margin: 10px auto;
  display: block;
}

.contador p {
  margin: 10px 0;
  font-style: italic;
  color: #4b3d2a;
  font-size: 2em;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding: 0 10px;
}

.time-box {
  background-color: #f7d9c4;
  color: #4b3d2a;
  border-radius: 10px;
  padding: 10px 12px;
  width: 65px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.time-box span {
  display: block;
  font-family: "PT Serif", serif;
  font-size: 1.8em;
  font-weight: 600;
}

.time-box p {
  margin-top: 5px;
  font-size: 0.8em;
  font-weight: bold;
  color: #5b4a39;
}

#nombreInvitado {
  margin-top: 40px; 
  text-align:center; 
  font-size: 2em;
}

#boletosInvitado {
  margin-top: 40px; 
  text-align:center; 
  font-size: 1em;
}

.frase {
  margin: 20px auto;
  background-color: #fff8f2;
  padding: 12px;
  width: 90%;
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-style: italic;
}

section {
  margin: 15px auto;
  padding: 10px;
  width: 90%;
  max-width: 400px;
  background-color: #fff8f2;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h1 {
  font-size: 1.5em;
}

h3 {
  color: #a06a52;
  margin-bottom: 8px;
  font-size: 2em;
  font-style: italic;
}

#confirmación h3 {
  font-style:normal;
  font-size: 20px; 
}


a {
  color: #8c5a3c;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
}

.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
}

.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.7);
  border: none;
  padding: 8px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
}
.prev { left: 10px; }
.next { right: 10px; }

.audio-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1000;
}

.audio-control.visible {
  opacity: 1;
}

.audio-control button {
  background: none;
  border: none;
  font-size: 26px;
  padding: 10px;
  cursor: pointer;
  color: #4b2e1e;
}

.audio-control button:hover {
  transform: scale(1.2);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(40px);
}

#confirmacion h3 {
  color: #c7886e;
  margin-bottom: 20px;
}

#formularioConfirmacion {
  margin-top: 10px;
}

.opcionBtn {
  background-color: #f7d9c4;
  border: none;
  color: #4b2b1b;
  font-weight: bold;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.opcionBtn:hover {
  background-color: #f1c3a6;
  transform: scale(1.05);
}
.opcionBtn:active {
  background-color: #e2ac8b;
}

#mensaje-confirmacion {
  margin-top: 15px;
  font-size: 16px;
  color: #4b2b1b;
  background-color: #fdf0ea;
  padding: 12px;
  border-radius: 12px;
}

@media (max-width: 480px) {
  header {
    font-size: 1.8em;
  }

  .rox {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.5em;
  }

  h1 {
font-size: 1.5em;
  }

  .countdown {
    gap: 6px;
  }

  .time-box {
    width: 55px;
    padding: 8px;
  }

  .time-box span {
    font-size: 1.4em;
  }

  .time-box p {
    font-size: 0.7em;
  }
}

@media (min-width: 768px) {
  header {
    font-size: 2.5em;
  }

  .rox {
    font-size: 2em;
  }

  .time-box {
    width: 80px;
    padding: 15px;
  }

  .time-box span {
    font-size: 2em;
  }

  .time-box p {
    font-size: 0.9em;
  }
}
