@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Pinyon+Script&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.main-image img {
  width: 100%;
  height: 100vh;
}
.container-timer {
    position: relative;
    width: 100%;
    max-width: 900px; 
    margin: auto; 
}
.main-image-lp {
    width: 100%;
    height: auto;
    display: block;
  }
.overlay-time {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.overlay-text {
  position: absolute;
  /*top: 50%;
  left: 50%;
  */
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.7rem;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  z-index: 2;
  font-family: "digital-clock-font";
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.count {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas de igual tamaño */
  grid-template-rows: repeat(2, 1fr); /* Dos filas de igual tamaño */
  gap: 10px; /* Espacio entre los elementos */
  width: 200px; /* Ajusta el tamaño según sea necesario */
  height: 200px; /* Ajusta el tamaño según sea necesario */
}
.count div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  border-radius: 8px;
  padding: 10px;
}
.count div p {
  font-size: 1.4rem;
}
.count div small {
  font-size: 1rem;
}
/* .overlay-text :nth-child(1){
    font-family: var(--lora);
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 1.4rem;
    font-weight: bold;
}
.overlay-text :nth-child(2){
    font-size: 5rem;
    font-family: var(--pinyon);
    font-optical-sizing: auto;
    font-style: normal;
}
.overlay-text :nth-child(3){
    font-size: 1.5rem;
} */
#down-icon{
  transition: opacity 0.3s;
}
h4{
  font-family: var(--playfair);
}
.inv-txt{
    margin: 1rem;
    padding: 0 1rem;

}
.inv-txt p{
    margin: 1rem auto;
    text-align: justify;
}
.wrap-container article{
  flex-wrap: wrap;
  gap: 1rem;
}
.wrap-container p{
  text-align: center;
  font-size: 1rem;
  margin: 0 auto;
  padding: 0 2rem;
  
}
.todo-table{
  width: 100vw; /* Ajusta el ancho de la tabla */
  height: 50vh; /* Ajusta la altura de la tabla */
}

.carousel-item img{
  height: 55vh;
}
.list-inv{
  flex-wrap: wrap;
  gap: 2rem;
}

.img-list{
 
  height: 100px;
}
.gift-cards{
  flex-wrap: wrap;
  gap: 2rem;
}
.gift-item{
  padding: 2rem;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.gift-item img{
  width: 90px;
  height: 90px;
}


.confirm{
  width: 100%;
  background-color: rgb(221, 219, 212, 0.7); 
  display: flex;
  justify-content: center;
  flex-direction: row;  
}
.form-confirm{
  width: 80%;
  margin: 2rem auto 1rem;
  padding: 0.5rem;
  border-radius: 10px;
  background-color: rgb(255, 255, 255, 0.5);
 
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px; padding: 1rem;
  border-radius: 10px;
}
.form-confirm div{
  margin: 1rem 0;
}
.form-confirm .form-sub input{
  width: 90%;
  margin-top: 0.2rem;
  border: 1px solid grey;
    padding: 0.7rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    background-color: rgb(128, 135, 116,0.3);
}
.confirm-title{
  font-size: 0.9rem;
  font-weight: bold;
}
.form-confirm div label{
  font-size: 0.8rem;
  font-weight: bold;

}
#loader{
  display: none;
}
.last-container{
  position: relative;
  width: 100%;
  max-width: 500px; 
  margin: auto; 
}
.last-container{
  position: relative;
  width: 100%;
  max-width: 500px; 
  margin: auto; 
}
.overlay-lt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.7rem;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  z-index: 2;
  font-family: var(--playfair);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.wedding-names{
  font-family: var(--lora);
  font-size: 1.4rem;
}
.wedding{
  font-family: var(--pinyon);
  font-size: 4rem;
}
@media screen and (min-width: 700px) {
  .count {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas de igual tamaño */
    grid-template-rows: repeat(2, 1fr); /* Dos filas de igual tamaño */
    gap: 10px; /* Espacio entre los elementos */
    width: 350px; /* Ajusta el tamaño según sea necesario */
    height: 200px; /* Ajusta el tamaño según sea necesario */
  }
  .count div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    border-radius: 8px;
    padding: 10px;
  }
  .count div p {
    font-size: 2rem;
  }
  .count div small {
    font-size: 1.2rem;
  }
  .inv-txt p{
    margin: 1rem 3rem;
}
  #carouselExampleAutoplaying{
    margin: 0 auto; /* Centra horizontalmente */
    overflow: hidden; 
    height:70vh;
    width: 55vw !important;
    
 }
 .form-confirm{
  width: 35%;
}
  .todo-table{
    margin: 0 auto;
    width: 50vw !important;
  }
  

  .carousel-item img{
    height: 70vh;
    width: 55vw !important;
}
}
