@media (min-width: 768px) {
  html {
    font-size: 20px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  /* position: relative;
  min-height: 100%; */
  font-size: 18px;
  overflow-x: hidden;

  margin: 0;
  padding: 0;
  font-size: 18px;
}

body {
  margin-bottom: 0px;
  padding-bottom: 0px;
  font-family: 'Cormorant', serif;
  /* color: #AA4F2B; */
  /*terracota */
  color: #512615;
  /*cafe*/

  font-style: italic;
  overflow-x: hidden;
}

body h1 {
  font-size: 40px;
}

body p {
  margin: 0;
  line-height: 1.2;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

.marcoInvitacionDiv {
  background-color: #AA4F2B;
  position: relative;
  z-index: 1;
}

.InvitacionArea {
  /* background-color: beige; */
  max-width: 767px;
  max-width: 500px;
  /* background-image: url("/images/fondoDePantalla.webp"); */
  /* background-size: cover;
  background-position: center;
  background-repeat: repeat; */
  background-image: url("/images/fondo2.png");
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
  padding-left: 0;
  padding-right: 0;
  background-color: white;
  width: calc(100% - 20px);
  margin: 0 auto;
}

.divSecciones {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* FOTO PRINCIPAL */
.fotoPrincipal {
  /* width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 500px;
  display: block;
  margin: 0 auto; */

  object-fit: cover;
  width: 100%;
  display: block;
  margin: 0;
}

.fraseDiv {
  padding-top: 20px;
  /* padding-bottom: 20px; */
  font-style: italic;
  font-weight: bold;
}

.fraseDiv p {
  margin: 0;
  line-height: 1.2;
}

.compañiaPadres {
  color: #AA4F2B;
  padding-bottom: 15px;
}

.nombrePadresDerecha {
  padding-right: 25px;
}

/* NOMBRES NOVIOS */
.nombresNoviosPic {
  object-fit: cover;
  width: 100%;
  display: block;
  margin: 0;
}

/* FECHA */
.fechaDiv {
  margin-bottom: 0px;
}

.fechaDiv p {
  margin: 0;
  line-height: 1.2;
}

.diaYhora {
  margin-top: 10px;
}

.fechaDia {
  border-right: 2px solid black;
}

.fechaPic {
  width: 100%;
  margin: 0;
  height: auto;
  object-fit: cover;
  padding-top: 10px;
}

/* UBICACION */
.ubicacion {
  margin-bottom: 20px;
}

.ubicacion p {
  margin: 0;
  line-height: 1.2;
}

.ubicacionBoton {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #AA4F2B;
  color: white;
  text-decoration: none;
  /* quita el subrayado */
  border-radius: 26px;
  font-weight: bold;
}

.recepcionUbicacion {
  padding-top: 20px;
}

.nombreIglesia,
.nombreRancho {
  color: #AA4F2B;
}

.iglesiaPic,
.vestimentaPic,
.arcoPic,
.sobrePic {
  width: auto;
  height: 100px;
  margin: 0;
}


/* ITINERARIO */
.itinerario {
  width: auto;
  /* background-color: white; */
  color: #AA4F2B;
  padding-top: 20px;
  padding-bottom: 0;
  margin-bottom: 0;
}

.karmannGhiaPic {
  object-fit: cover;
  width: 100%;
  display: block;
  margin: 0;
}

/* NO NINOS */
.ventanaNinos {
  background-color: #AA4F2B;
  border-radius: 10px 10px 0 0;
  color: white;
  margin-left: 15px;
  margin-right: 15px;

  width: auto;
  height: 400px;
  border-top-left-radius: 400px;
  border-top-right-radius: 400px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.noNinos {
  /* width: 75%; */
  /* text-align: center; */
  position: relative;
  top: 100px;
  padding-left: 10px;
  padding-right: 10px;
}

.noNinos p {
  font-style: italic;
  font-size: 22px;
  line-height: 1.8;
  /* margin-bottom: 10px; */
}

.noNinos h1 {
  margin-top: 50px;
  font-size: 30px;
  letter-spacing: 8px;
  font-weight: normal;
}

/* VESTIMENTA */
.vestimentaPic {
  margin-top: 10px;
}

/* REGALOS */
.sobrePic {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* GALERIA */
.carousel-indicators button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .6);
}

.carousel-indicators .active {
  background-color: white;
}

/* RESERVADOS */
.ventanaReservados {
  background-color: #AA4F2B;
  border-radius: 10px 10px 0 0;
  color: white;
  margin-left: 15px;
  margin-right: 15px;

  width: auto;
  height: 500px;
  border-top-left-radius: 400px;
  border-top-right-radius: 400px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.reservados {
  /* width: 75%; */
  /* text-align: center; */
  position: relative;
  top: 50px;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reservados h1 {
  font-size: 32px;
}

.reservados p {
  font-size: 400px;
  line-height: .5;
  margin: 0;
  padding-top: 100px;
  font-variant-numeric: lining-nums tabular-nums;

  transform: translateY(-60px);
}

.dropdown-btn.errorConfirmacion {
  border: 2px solid red;
}

#popupOverlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);

  opacity: 0;
  visibility: hidden;

  transition: opacity .3s ease;

  z-index: 9998;
}

#popupOverlay.show {
  opacity: 1;
  visibility: visible;
}


.thankYouPopup {
  position: fixed;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  background: white;
  color: #512615;

  padding: 25px 35px;
  border-radius: 15px;

  box-shadow: 0 5px 25px rgba(0, 0, 0, .3);

  opacity: 0;
  visibility: hidden;

  transition: .3s ease;

  z-index: 9999;
}

.thankYouPopup.show {
  opacity: 1;
  visibility: visible;
}

/* ASISTENCIA */
.asistenciaMainDiv {
  margin-bottom: 0;
  padding-bottom: 0;
}

.rsvp-container {
  width: 100%;
  max-width: 720px;
  margin-left: 20px;
  margin-right: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.rowReserva {
  display: flex;
  gap: 28px;
}

.rowReserva .form-group {
  flex: 1;
}

label {
  display: block;
  /* font-size: 28px; */
  /* font-weight: 600; */
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: auto;
  border: none;
  border-bottom: 2px solid #111;
  background: transparent;
  outline: none;
  font-family: 'Cormorant Garamond', serif;
  /* font-size: 28px; */
  color: #2f2f2f;
  padding: 10px 0 14px 0;
}

input::placeholder,
textarea::placeholder {
  color: #777;
  font-style: italic;
}

textarea {
  min-height: 250px;
  resize: vertical;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 8 10 12 14 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 40px;
}

/* .submit-btn {
  display: block;
  margin: 0 auto;
  border: none;
  background: #000;
  background-color: aqua;
  color: white;
  padding: 18px 55px;
  border-radius: 40px;
  font-family: 'Cormorant Garamond', serif;
  /* font-size: 28px; 
  cursor: pointer;
  transition: 0.25s ease;
  letter-spacing: 1px;
} */

/* .submit-btn:hover {
  transform: scale(1.03);
  opacity: 0.9;
} */

/* FOTO FINAL */
.fotoFinalDiv {
  margin-bottom: 0;
}

.fotoFinal {
  object-fit: cover;
  width: 100%;
  display: block;
  margin: 0;
  margin-bottom: 0;
}




#invitationOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: white; */

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

#invitationOverlay.open {
  pointer-events: none;
}

/* invitation container */
.invitation-container {
  position: relative;
  width: 100%;
  height: 350px;
  height: 100%;
  /* overflow: hidden; */
}

/* two halves of invitation */
.invite-left,
.invite-right {
  position: absolute;
  height: 100%;
  /* background-image: url("../images/InvitacionHoja.webp"); */
  background-size: cover;

}

.invite-left {
  left: -240px;
  /* left: 0; */
  width: 150%;
  width: 159%;
  background-image: url("/images/InvitacionHoja.webp");
  background-size: cover;
  background-position: 0 center;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  z-index: 1;
  transition: transform 2.5s ease;

}

.invite-right {
  right: 0;
  /* width: 100%; */
  width: 53%;
  /* width: 100%; */
  background-position: right;
  right: 20;
  /* right: 50%; */
  top: 0;
  background-image: url("/images/InvitacionHoja.webp");
  background-size: 200% 100%;
  background-position: 0px center;
  filter: drop-shadow(0 0 0 3px #c9b37a);
  z-index: 2;
  transition: transform 1.5s ease;
}


/* wax seal */
.seal {
  position: absolute;
  width: 120px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

/* animation */
.open .invite-left {
  transform: translateX(-100%);
}

.open .invite-right {
  transform: translateX(100%);
}

.open .seal {
  opacity: 0;
}















/* body {
  background-color: #f5f3f0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #2e2b27;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
} */

.testForm {
  margin-left: 15px;
  margin-right: 15px;

}

form {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* .field label {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: #2e2b27;
} */

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #c4bdb5;
  padding: 0.5rem 0 0.75rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: #2e2b27;
  width: 100%;
  transition: border-color 0.3s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: #2e2b27;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(100, 90, 80, 0.55);
  font-style: italic;
}

.field textarea {
  resize: none;
}

/* number input — remove arrows */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 480px) {
  .two-col {
    grid-template-columns: 1fr;
  }
} */

/* Custom dropdown */
.dropdown-wrapper {
  position: relative;
}

.dropdown-btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid #c4bdb5;
  padding: 0.5rem 0 0.75rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #2e2b27;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.3s;
}

.dropdown-btn:focus {
  outline: none;
  border-bottom-color: #2e2b27;
}

.chevron {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid #888;
  border-bottom: 1.5px solid #888;
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-top: -6px;
  flex-shrink: 0;
}

.chevron.open {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #f5f3f0;
  border: 1px solid #c4bdb5;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 10;
  overflow: hidden;
  display: none;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #2e2b27;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-menu button:hover {
  background: #ede9e4;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 1rem;
  background: #AA4F2B;
  color: #f5f3f0;
  border: none;
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s;
  margin-bottom: 10px;
}

.submit-btn:hover {
  opacity: 0.85;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success screen */
#success {
  display: none;
  text-align: center;
  max-width: 400px;
}

#success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.heart-icon {
  width: 64px;
  height: 64px;
  background: rgba(74, 69, 64, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#success h2 {
  font-weight: 400;
}

#success p {
  color: #7a7068;
  line-height: 1.7;
}