@font-face {
  font-family: "Gill Sans Light";
  src: url("../fonts/GillSansLight.woff2") format("woff2"),
    url("../fonts/GillSansLight.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gill Sans Bold";
  src: url("../fonts/GillSansBold.woff2") format("woff2"),
    url("../fonts/GillSansBold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  background-image: url("../img/bg-mobile.webp");
  background-size: 100vw 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Gill Sans Light", sans-serif;
  font-style: normal;
}

strong {
  font-family: "Gill Sans Bold", sans-serif;
}

a,
p,
.form-label,
.nav-link {
  font-size: 18px;
}

@media (min-width: 1199px) {
  body {
    background-image: url("../img/bg-desktop.webp");
  }
}

.password-error {
  color: #ff0000;
  font-weight: bold;
  font-size: 14px;
}

.btn {
  border-radius: 0;
  font-size: 18px;
}

.btn-outline-primary {
  color: #2377a4;
  border-color: #2377a4;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link {
  font-weight: 700;
}

.text-primary {
  color: #2377a4 !important;
}

.ave-volando-1 {
  position: relative;
  animation: aleteoSuave1 4s infinite alternate ease-in-out;
}

.font-size-18 {
  font-size: 18px;
}

@keyframes aleteoSuave1 {
  0% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  50% {
    transform: translateY(0) translateX(0);
  }
  75% {
    transform: translateY(10px) translateX(-5px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

.ave-volando-2 {
  position: relative;
  animation: aleteoSuave2 4.5s infinite alternate-reverse ease-in-out 0.5s;
}

@keyframes aleteoSuave2 {
  0% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(12px) translateX(-7px);
  }
  50% {
    transform: translateY(0) translateX(0);
  }
  75% {
    transform: translateY(-8px) translateX(3px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

.sol-girando {
  animation: rotarSol 15s linear infinite;
}

@keyframes rotarSol {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  display: none;
}

.video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 769px) {
  .desktop-only {
    display: block;
  }
  .mobile-only {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none;
  }
}

section {
  padding: 4rem 0;
}

.semi-circle {
  background-color: hsla(60, 100%, 99%, 0.674);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.animation {
  margin-bottom: 20px;
}

.animation_desktop {
  display: none;
}

.animation_mobile {
  display: block;
}

.animation_image {
  width: 100%;
}

@media (min-width: 769px) {
  .animation_desktop {
    display: block;
  }

  .animation_mobile {
    display: none;
  }
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 0px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.8em;
  min-width: 90px;
}

.countdown-item span {
  display: block;
}

.countdown-item .label {
  font-size: 0.5em;
  font-weight: normal;
  margin-top: 5px;
  text-transform: uppercase;
}

.hidden {
  display: none;
}

@media (max-width: 600px) {
  .countdown-container {
    padding: 20px 30px;
  }
  h1 {
    font-size: 2em;
  }
  .countdown-item {
    font-size: 1.8em;
    min-width: 70px;
  }
  .countdown-item .label {
    font-size: 0.4em;
  }
  .countdown {
    gap: 10px;
  }
}

.the-experience-continues-image {
  width: 100%;
  border-radius: 24px;
}

.travel-and-stay-map {
  width: 100%;
  border-radius: 24px;
}

/* the experience start */

.the-experience-illustration-1,
.the-experience-illustration-2 {
  position: absolute;
}

.the-experience-illustration-1 {
  left: 12px;
  bottom: 890px;
  width: 90px;
}

.the-experience-illustration-2 {
  width: 80px;
  right: 17px;
  bottom: 1195px;
}

@media (min-width: 769px) {
  .the-experience-illustration-1 {
    bottom: 1130px;
    left: 30px;
  }

  .the-experience-illustration-2 {
    bottom: 1430px;
    right: 30px;
  }
}

@media (min-width: 1024px) {
  .the-experience-illustration-1 {
    width: 150px;
    left: 30px;
    bottom: 1430px;
  }

  .the-experience-illustration-2 {
    bottom: 1730px;
    width: 150px;
  }
}

@media (min-width: 1200px) {
  .the-experience-illustration-1,
  .the-experience-illustration-2 {
    width: 200px;
  }

  .the-experience-illustration-1 {
    bottom: 1310px;
    left: 70px;
  }

  .the-experience-illustration-2 {
    bottom: 1580px;
    right: 50px;
  }
}

/* the experience end */
/*  */

/* Estilos para el Preloader */
#preloader {
  position: fixed; /* Fija el preloader en la ventana del navegador */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Color de fondo del preloader (puedes cambiarlo) */
  display: flex; /* Para centrar el contenido de carga */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Asegura que esté por encima de todo lo demás */
  transition: opacity 0.5s ease-out; /* Transición suave cuando se oculta */
}

.loader-content {
  text-align: center;
  color: #333; /* Color del texto "Cargando..." */
  font-family: sans-serif;
  font-size: 1.2em;
}

.loader-gif {
  max-width: 80px; /* Tamaño de tu GIF de carga, si usas uno */
  height: auto;
  display: block; /* Para centrar la imagen */
  margin: 0 auto 10px auto;
}

/* Opcional: Un spinner CSS si no quieres usar un GIF */

.loader-content::before {
  content: "";
  border: 4px solid #f3f3f3;
  border-top: 4px solid #099176;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  display: block;
  margin: 0 auto 10px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Estilos para ocultar el preloader */
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Permite que los clics pasen a través una vez oculto */
}

.rsvp-image {
  width: 100%;
  border-radius: 24px;
}

/* our story */

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, 385px);
  justify-content: center;
  margin: 0 auto;
}

.grid-item {
  width: 385px;
  margin-bottom: 20px;
  border-radius: 16px;
  background-color: lightgray;
}

@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(auto-fill, 120px);
  }
  .grid-item {
    width: 120px;
    margin-bottom: 10px;
    border-radius: 16px;
    background-color: lightgray;
  }
}

.mb-38px {
  margin-bottom: 38px;
}

.the-wedding-text-image {
  margin-left: -12px;
  margin-top: 25px !important;
}

@media (min-width: 1200px) {
  .the-wedding-text-image {
    margin-top: 20px !important;
  }
}

.birds-palm-left,
.birds-palm-right {
  position: absolute;
  width: 87px;
  bottom: 180px;
}

.birds-palm-left {
  left: 2px;
}

.birds-palm-right {
  right: 2px;
}

@media (min-width: 769px) {
  .birds-palm-left,
  .birds-palm-right {
    width: 110px;
    bottom: 170px;
  }
}

@media (min-width: 1024px) {
  .birds-palm-left,
  .birds-palm-right {
    width: 140px;
    bottom: 170px;
  }
}

@media (min-width: 1200px) {
  .birds-palm-left,
  .birds-palm-right {
    width: 280px;
    bottom: 100px;
  }

  .nombres-de-novios {
    margin-top: 40px;
  }
}
