:root {
  /*Paleta de colores*/

  --colorprimero: #1d858f;
  --colorsegundo: #a6d69c;
  --colortercero: #eb8252;
  --colorcuarto: #bfd9c6;
  --colorquinto: #448756;
  --colorfondo: #f5e1ae;

  /*Fuentes*/
  --fuenteuno: "Chewy", system-ui;
  --fuentedos: "PT Sans Narrow", sans-serif;
  --fuentetres: "Comic Neue", cursive;
}

.body {
  background-color: var(--colorfondo);
}

/*Loader*/
#loader {
  background-color: var(--colorfondo);
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.iconoloader {
  width: 50%;
}

.texto-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo-loader {
  font-size: 2.5rem;
  font-family: var(--fuenteuno);
  color: var(--colorquinto);
  text-align: center;
  margin-bottom: 0;
}

.loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* text-shadow: 8px 4px 6px var(--colorprimero); */
}

.info-loader {
  font-size: 1.5rem;
  text-align: center;
  font-family: var(--fuentedos);

  color: var(--colorprimero);
  /* text-shadow: 8px 4px 6px var(--colortercero); */
}

.boton-loader {
  align-self: center;
  background-color: var(--colortercero);
  border-radius: 5px;
  border-style: solid;
  border-width: 2px;
  border-color: var(--colorsegundo);
  box-shadow: var(--colorsegundo) 15px;
  box-sizing: border-box;
  color: var(--colorcuarto);
  cursor: pointer;
  display: inline-block;
  font-family: var(--fuenteuno);
  font-size: 1.5rem;
  line-height: 1rem;
  outline: none;
  padding: 1.5rem;
  text-decoration: none;
  touch-action: manipulation;
  max-width: 200px;
}

.boton-loader:hover {
  box-shadow: var(--colorsegundo) 5px;
  transform: translate3d(0, 5px, 0);
}

.boton-loader:focus {
  box-shadow: var(--colorsegundo) 2px;
}

/*Portada*/
.bgimg-1 {
  background-image: url("../assets/fondo.jpg");
  height: 10vh;
  z-index: 5000;
}

.bgimg-1 {
  position: relative;
  background-attachment: scroll;
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: cover;
}

.imageninicio {
  width: 100%;
}

.imagenuno {
  width: 5%;
  position: absolute;
  bottom: 72%;
  left: 50%;
  animation-name: flecha;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  opacity: 0.5;
}

@keyframes flecha {
  0% {
    transform: translate(0px, 40px);
  }

  50% {
    transform: translate(0px, 80px);
  }

  100% {
    transform: translate(0px, 40px);
  }
}

.imagendos {
  position: absolute;
  width: 40%;
  top: 10%;
  left: 5%;
  z-index: 2;
  animation-name: nombre;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

@keyframes nombre {
  0% {
    transform: translate(0px, 40px);
  }

  50% {
    transform: translate(0px, 80px);
  }

  100% {
    transform: translate(0px, 40px);
  }
}

.imagentres {
  position: absolute;
  bottom: 0%;
  right: 0;
  z-index: 3;
  width: 70%;
  animation-name: img3;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  overflow: hidden;
}

@keyframes img3 {
  0% {
    transform: translate(0px, 0px);
  }

  50% {
    transform: translate(-50px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

/*Contador*/
.contador {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  background-color: var(--colorsegundo);
  box-shadow: 0px 33px 30px 14px var(--colorsegundo);
  -webkit-box-shadow: 0px 33px 30px 14px var(--colorsegundo);
  -moz-box-shadow: 0px 33px 30px 14px var(--colorsegundo);
  margin-top: -1rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.countdown {
  text-transform: uppercase;
  font-size: 1rem;
  padding-top: 2rem;
  margin-top: 0rem;
}

.countdown > div {
  display: inline-block;
}

.countdown > div > span {
  display: block;
  text-align: center;
}

.countdown-container {
  margin: 0 5px;
}

.countdown-container .countdown-heading {
  font-size: 30px;
  margin: 3px;
  color: var(--colorprimero);
  font-size: var(--fuentedos);
}

.countdown-container .countdown-value {
  font-family: var(--fuenteuno);
  font-size: 70px;
  background: var(--colortercero);
  padding: 10px;
  color: var(--colorcuarto);
  text-shadow: 2px 2px 2px var(--colorprimero);
}

.textocontador {
  font-size: 4rem;
  font-family: var(--fuenteuno);
  color: var(--colorprimero);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 2px var(--colorcuarto);
}

/*Te invito*/
.iconoprimero {
  width: 15%;
  margin-top: -4rem;
  animation-name: vela;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

@keyframes vela {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.07);
  }

  100% {
    transform: scale(1);
  }
}

.iconoteinvito {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 15rem;
  padding-bottom: 15rem;
}

.texto-teinvito {
  font-family: var(--fuenteuno);
  font-size: 3rem;
  color: var(--colortercero);
  margin-left: 4rem;
}

/*Info del lugar*/
.dias .lugar {
  display: flex;
  flex-direction: column;
}

.mapa {
  display: flex;
  flex-direction: column;
  margin-top: 10rem;
}

.item-mapa {
  position: relative;
  z-index: 5;
}

.personajesmapa {
  position: absolute;
  z-index: 4;
  width: 100%;
  right: 0%;
  top: 0;
  animation-name: mapa;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

@keyframes mapa {
  0% {
    transform: translate(0px, -15px);
  }

  50% {
    transform: translate(0px, -130px);
  }

  100% {
    transform: translate(0px, -15px);
  }
}

.infolugar {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding-bottom: 10rem;
  background-color: var(--colorcuarto);
  box-shadow: 0px -60px 30px 14px var(--colorcuarto);
  -webkit-box-shadow: 0px -60px 30px 14px var(--colorcuarto);
  -moz-box-shadow: 0px -60px 30px 14px var(--colorcuarto);
}

.tituloinfo {
  text-align: center;
  font-size: 1.8rem;
  font-family: var(--fuenteuno);
  color: var(--colorprimero);
  font-weight: bold;
  text-shadow: 4px -2px 6px var(--colorsegundo);
}

.textoinfo {
  text-align: center;
  font-family: var(--fuentedos);
  line-height: 2%;
  color: var(--colorquinto);
  font-size: 1.2rem;
  margin-top: 10px;
  font-weight: bold;
}

/*Pregunta*/
.texto-pregunta {
  text-align: center;
  font-family: var(--fuentetres);
  font-size: 6rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
  color: var(--colortercero);
  text-shadow: 4px 4px 6px var(--colorcuarto);
  z-index: 4;
}

.pregunta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -2rem;
  background-color: var(--colorfondo);
  box-shadow: 0px -33px 30px 14px var(--colorfondo);
  -webkit-box-shadow: 0px -33px 30px 14px var(--colorfondo);
  -moz-box-shadow: 0px -33px 30px 14px var(--colorfondo);
  padding-top: 5rem;
  z-index: 4;
}

.botones {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.botonconfirmar {
  padding: 1rem 3rem 1rem 3rem;
  border: 1px;
  border-radius: 15px;
  text-decoration: none;
  background-color: var(--colorquinto);
  color: var(--colorsegundo);
  font-family: var(--fuentedos);
  font-size: 1.5rem;
  margin-bottom: 5rem;
  box-shadow: 0px 0px 40px 0px var(--colorprimero);
  -webkit-box-shadow: 0px 0px 40px 1px var(--colorprimero);
  -moz-box-shadow: 0px 0px 40px 0px var(--colorprimero);
  animation-name: boton;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  z-index: 4;
}

.botonconfirmar:hover {
  transform: scale(1.08);
  -webkit-transform: scale(1.08);
  -moz-transform: scale(1.08);
  transition: 2s all;
}

@keyframes boton {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.imagencuatro {
  position: relative;
  top: 400%;
  z-index: 1;
  width: 30%;
  animation-name: img4;
  animation-duration: 8s;
  animation-iteration-count: infinite;
}

@keyframes img4 {
  0% {
    transform: translate(-500px, -400px);
  }

  50% {
    transform: translate(-150px, -400px);
  }

  100% {
    transform: translate(-150px, -400px);
  }
}

/*Galeria de fotos*/
.galeria {
  background-image: url("../assets/fondogaleria.jpg");
  height: 190vh;
  position: relative;
  background-attachment: fixed;
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0px 0px 20px 14px var(--colorquinto);
  -webkit-box-shadow: 0px 0px 20px 14px var(--colorquinto);
  -moz-box-shadow: 0px 0px 20px 14px var(--colorquinto);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}

.texto-galeria {
  font-family: var(--fuenteuno);
  font-size: 3.5rem;
  color: var(--colorprimero);
  /* text-shadow: 4px -2px 6px var(--colorcuarto); */
}

.botongaleria {
  padding: 1rem 3rem 1rem 3rem;
  border: 1px;
  border-radius: 15px;
  text-decoration: none;
  background-color: var(--colortercero);
  color: var(--colorsegundo);
  font-family: var(--fuentedos);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 5.5rem;
  margin-bottom: 2rem;
  box-shadow: 0px -4px 24px 3px rgba(0, 0, 0, 1);
  -webkit-box-shadow: 0px -4px 24px 3px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px -4px 24px 3px rgba(0, 0, 0, 1);
}

.botongaleria:hover {
  transform: scale(1.08);
  -webkit-transform: scale(1.08);
  -moz-transform: scale(1.08);
  transition: 2s all;
}

/* .foto:hover img {
  height: 80vh;
  width: 30vw;
  position: relative;
  z-index: 10;
} */

/*MĆŗsica*/
.boton-musica {
  width: 4%;
  height: auto;
  position: fixed;
  top: 120px;
  right: 15px;
  z-index: 9998;
  animation-name: example;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-direction: reverse;
}

@keyframes example {
  0% {
    transform: scale(1.1);
  }

  20% {
    transform: scale(1.3);
  }

  40% {
    transform: scale(1.4);
  }

  60% {
    transform: scale(1.3);
  }

  80% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/*Regalos*/
.container-regalos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -10rem;
}

.regalos {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.item-regalos1 {
  padding: 3rem 3rem 3rem 3rem;
  border: 1px;
  border-radius: 15px;
  background-image: url(../img/regalos.png);
  background-size: cover;
  margin-top: 2rem;
  margin-bottom: 1rem;
  width: 20%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-box-shadow: 0px 0px 20px 0px var(--colorprimero);
  -moz-box-shadow: 0px 0px 20px 0px var(--colorprimero);
  box-shadow: 0px 0px 20px 0px var(--colorprimero);
}

.item-regalos1:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  transition-duration: 2s;
}

.texto-ropa {
  font-size: 20px;
  font-family: var(--fuentedos);
  color: var(--colorcuarto);
  text-align: center;
  width: 150%;
}

.imagen-ropa {
  width: 120px;
  z-index: 20;
}

.texto-regalos {
  font-size: 2rem;
  font-family: var(--fuenteuno);
  color: var(--colorquinto);
  text-align: center;
  margin-top: 10rem;
  font-weight: bold;
}

.imagenfinal {
  width: 60%;
  margin-left: 25%;
}

/*Creado por*/
.texto-creado {
  font-size: 1rem;
  font-family: var(--fuentedos);
  background-color: var(--colorprimero);
  color: var(--colorcuarto);
  letter-spacing: 2px;
  font-weight: bold;
  text-align: center;
  margin-bottom: -10px;
  box-shadow: 0px -2px 12px 17px var(--colorprimero);
  -webkit-box-shadow: 0px -2px 12px 17px var(--colorprimero);
  -moz-box-shadow: 0px -2px 12px 17px var(--colorprimero);
}

.creado {
  margin-top: 15rem;
}

@media (min-width: 1023px) {
  /*Portada*/
  .bgimg-1 {
    height: 300vh;
  }

  .galeria {
    padding-bottom: 0;
    padding-top: 0;
    height: 140vh;
  }
}

@media (max-width: 1023px) {
  /*Portada*/
  .bgimg-1 {
    height: 110vh;
  }

  /*Portada*/
  .imagendos {
    width: 70%;
    top: 10%;
    left: 20%;
  }

  /*Contador*/
  .textocontador {
    font-size: 2rem;
  }

  /*Te invito*/
  .iconoteinvito {
    max-width: 768px;
  }

  .texto-teinvito {
    font-size: 1.8rem;
  }

  /*Info del lugar*/
  .infolugar {
    flex-direction: column;
  }

  .mapa {
    align-items: center;
  }

  .personajesmapa {
    right: 35%;
  }

  /*Galeria de fotos*/

  .texto-galeria {
    margin-top: 3rem;
    font-size: 2.2rem;
  }

  .botongaleria {
    margin-top: 2rem;
  }

  .galeria {
    padding-bottom: 0;
    padding-top: 0;
    height: 140vh;
  }

  @keyframes img3 {
    0% {
      transform: translate(0px, 0px);
    }

    50% {
      transform: translate(0px, 0px);
    }

    100% {
      transform: translate(0px, 0px);
    }
  }
}

@media (max-width: 750px) {
  /*Portada*/
  .bgimg-1 {
    height: 300vh;
  }

  .imagendos {
    width: 70%;
    top: 10%;
    left: 15%;
  }

  .imagentres {
    bottom: 0;
    width: 90%;
    overflow: hidden;
  }

  @keyframes img3 {
    0% {
      transform: translate(0px, 0px);
    }

    50% {
      transform: translate(0px, 0px);
    }

    100% {
      transform: translate(0px, 0px);
    }
  }

  @keyframes nombre {
    0% {
      transform: translate(0px, 200px);
    }

    50% {
      transform: translate(0px, 320px);
    }

    100% {
      transform: translate(0px, 200px);
    }
  }

  .mapa {
    margin-top: 14rem;
  }

  /*Galeria*/
  .galeria {
    background-position: initial;
    height: 120vh;
  }

  .texto-galeria {
    font-size: 2rem;
  }

  .botongaleria {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  /*Extras*/
  .boton-musica {
    width: 10%;
  }

  /*Portada*/
  .bgimg-1 {
    height: 200vh;
  }

  .imagentres {
    width: 90%;
    animation-name: img3;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    overflow: hidden;
  }

  @keyframes img3 {
    0% {
      transform: translate(0px, 0px);
    }

    50% {
      transform: translate(0px, 0px);
    }

    100% {
      transform: translate(0px, 0px);
    }
  }

  /*Te invito*/
  .iconoprimero {
    width: 30%;
  }

  .iconoteinvito {
    max-width: 100%;
    flex-direction: column;
  }

  .texto-teinvito {
    margin-left: 1rem;
  }

  /*Info lugar*/
  .personajesmapa {
    right: 35%;
    left: 25%;
    transform: translate(0px, -120px);
    transition: all 4s;
    -webkit-transform: translate(0px, -120px);
    -moz-transform: translate(0px, -120px);
    width: 50%;
    scroll-behavior: initial;
  }

  .mapa {
    margin-top: 15rem;
  }

  .countdown {
    padding-top: 0rem;
  }

  /*Galeria de fotos*/
  .galeria {
    height: 100vh;
  }

  .texto-galeria {
    font-size: 2rem;
    font-weight: 900;
    -webkit-text-stroke: 0;
    -moz-text-stroke: 0;
    margin-bottom: 0;
    text-align: center;
    margin-top: 1rem;
    text-shadow: 4px -2px 12px var(--colorquinto);
  }

  .botongaleria {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  /*Regalos*/
  .item-regalos1 {
    background-size: 300%;
    height: 10%;
    width: 100%;
    padding: 1rem 0 0 0;
  }

  .item-regalos1:hover {
    transform: scale(1.04);
    -webkit-transform: scale(1.04);
    -moz-transform: scale(1.04);
    transition-duration: 2s;
  }

  .imagen-ropa {
    margin-top: 2rem;
  }

  .texto-ropa {
    width: 50%;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .regalos {
    flex-direction: column;
    align-items: center;
    margin-right: 5rem;
    margin-left: 5rem;
  }
}

@media (max-width: 450px) {
  .titulo-loader {
    font-size: 1.8rem;
    max-width: 80%;
  }

  .iconoloader {
    width: 70%;
  }

  /*Extras*/
  .boton-musica {
    width: 12%;
    top: 90%;
  }

  /*Portada*/
  .bgimg-1 {
    height: 130vh;
  }

  @keyframes img3 {
    0% {
      transform: translate(-5px, 0px);
    }

    50% {
      transform: translate(-40px, 0px);
    }

    100% {
      transform: translate(-5px, 0px);
    }
  }

  .imagendos {
    width: 100%;
    top: 6%;
    left: 2%;
  }

  .imagenuno {
    bottom: 68%;
  }

  @keyframes flecha {
    0% {
      transform: translate(0px, 60px);
    }

    50% {
      transform: translate(0px, 80px);
    }

    100% {
      transform: translate(0px, 60px);
    }
  }

  @keyframes nombre {
    0% {
      transform: translate(0px, 0px);
    }

    50% {
      transform: translate(0px, 100px);
    }

    100% {
      transform: translate(0px, 0px);
    }
  }

  /*Contador*/
  .textocontador {
    margin-bottom: 0;
  }

  .countdown-container .countdown-value {
    font-size: 40px;
  }

  .countdown {
    max-width: 130px;
    justify-content: center;
  }

  /*Te invito*/
  .iconoprimero {
    width: 45%;
    margin-bottom: 2rem;
  }

  .iconoteinvito {
    flex-direction: column;
  }

  .texto-teinvito {
    width: 90%;
    text-align: center;
    margin: 0;
  }

  /*Info lugar*/
  .item-mapa {
    width: 95%;
  }

  .mapa {
    margin-top: 14rem;
  }

  .personajesmapa {
    width: 105%;
    left: 0%;
  }

  @keyframes mapa {
    0% {
      transform: translate(0px, -15px);
    }

    50% {
      transform: translate(0px, -110px);
    }

    100% {
      transform: translate(0px, -15px);
    }
  }

  /*Confirmar asistencia*/
  .texto-pregunta {
    font-size: 4rem;
    margin-bottom: -2rem;
  }

  /*Botones confirmar*/
  .botones {
    flex-direction: column;
    margin-top: 4rem;
  }

  .botonconfirmar {
    margin: 1rem;
    font-size: 1.2rem;
    margin-top: 0rem;
  }

  .imagencuatro {
    position: relative;
    top: 400%;
    z-index: 1;
    width: 100%;
    animation-name: img4;
    animation-duration: 8s;
    animation-iteration-count: infinite;
  }

  @keyframes img4 {
    0% {
      transform: translate(-500px, -390px);
    }

    50% {
      transform: translate(-50px, -390px);
    }

    100% {
      transform: translate(-50px, -390px);
    }
  }

  /*Galeria de ftos*/
  .galeria {
    background-position: CENTER;
    height: 90vh;
    padding-left: 0rem;
  }

  .botongaleria {
    padding: 1rem;
    border: 1px;
    border-radius: 10px;
    margin-top: 9rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1rem;
  }

  .texto-galeria {
    font-size: 1.5rem;
    font-weight: 900;
    -webkit-text-stroke: 0;
    -moz-text-stroke: 0;
    margin-bottom: 0;
    text-align: center;
    margin-top: 2rem;
    text-shadow: 4px -2px 12px var(--colorprimero);
  }

  /*Regalos*/
  .texto-ropa {
    width: 80%;
  }

  .texto-regalos {
    width: 90%;
  }

  .item-regalos1 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .item-regalos1:hover {
    transform: scale(1.01);
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    transition-duration: 2s;
  }

  .imagenfinal {
    width: 95%;
    margin-left: 3%;
  }
}
