:root {
    --FuentePrincipal: 'Bodoni Bk BT';
    --ColorFondo: #f1e6e0;
    --ColorIconos: #919c81;
    --ColorTipografiaPrincipal: #EFD0CA;
    --ColorTipografiaSecundaria: #000000;
}

@font-face {
    font-family: Bodoni;
    src: url(../bodoni/BodoniFLF-Italic.ttf);
}

html {
    font-family: Bodoni;
    background-color: var(--ColorFondo);
    box-sizing: border-box;
    font-size: 62.5%;
}
h1{
    font-family: var(--FuentePrincipal);
    font-family: Bodoni;
    font-size: 4rem;
    text-align: center;
}
.boton:hover{
    cursor: pointer;
}
a{
    text-decoration: none;
}
/*Fotos Principales*/
.contenedor{
    display: flex;
    gap: 4rem;
    padding: 2rem;
    margin-bottom: 4rem;
    padding-right: 0;
    padding-inline: 2rem;
}
.seccion-fotos{
    display: flex;
    gap: 2rem;
}
.seccion-fotos img{
    height: auto;
    object-fit: cover;
    width: calc(33% - 2rem);
    max-width: 100%;
    flex: 1;
}
.seccion-fotos img:nth-child(1){
    padding-bottom: 2rem;
}
.seccion-fotos img:nth-child(3){
    padding-bottom: 2rem;
}
.seccion-fotos img:nth-child(2){
    padding-top: 2rem;
}
/*Contenedor Contador*/
.contenedor-contador{
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    margin-bottom: 4rem;
    padding-right: 0;
    padding-inline: 2rem;
}
.anchura{
    margin: 0 1rem;
}
.anchura p{
    font-size: 1.45rem;

}
.contador{
    display: flex;
    gap: 1rem;
    font-size: 3.2rem;
    color: #EFD0CA;
    justify-content: center;
    align-items: center;
}
.tiempo{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #919c81;
    border-radius: 2rem;
    height: 100%;
    width: 100%;
    padding: 2rem 1.5rem;
    margin-top: 0.67em;
}
.etiqueta{
    text-transform: uppercase;
    font-size: 1rem;
}
.separador{
    height: 10rem;
    width: .3rem;
    background: linear-gradient(to bottom, transparent, #919c81, transparent);
}
@media (max-width: 400px){
    .contador{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        font-size: 1.5rem;
        gap: .5rem;
        max-height: 100%;
        max-width: 100%;
    }
    .contador .tiempo {
        flex: 1 1 calc(50% - 20px); /* 2 columnas */
        box-sizing: border-box;
    }
    .separador{
        background: none;
        height: 0;
        width: 0;
    }
    .tiempo{
        margin: 0;
    }
}
/*Seccion ceremonia*/
.seccion-ceremonia{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4rem;
    padding: 1rem;
    margin: 4rem 0;
}
.seccion-ceremonia p{
    font-size: 1.8rem;
    text-align: left;
}
.seccion-ceremonia img{
    max-width: calc(40% - 2rem);
    justify-content: center;
    align-items: center;
}
.seccion-ceremonia h2:nth-child(3) {
    text-align: left;
    font-size: 1.7rem;
}
.seccion-ceremonia h2:nth-child(4){
    font-size: 3rem;
}
.seccion-ceremonia a:nth-child(5){
    display: flex;
    padding: 1rem;
    margin: 0 8rem;
    max-width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--ColorIconos);
    color: var(--ColorTipografiaPrincipal);
    border-radius: 3rem;
    font-size: 3rem;
    text-decoration: none;
}
/*DressCode*/
.contenedor-dresscode{
    display: flex;
    gap: 2rem;
    padding: 1rem;
    margin: 4rem 0;
}
.contenedor-dresscode img{
    display: flex;
    max-width: calc(50% - 1rem);
    height: auto;
    object-fit: cover;
    border-radius: 1.5rem;
}
/*Confirma tu asistencia*/
.seccion-dresscode{
    margin: 0 2rem;
}
.seccion-1{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.seccion-1 h2{
    font-size: 4rem;
}
@media (max-width: 480px){
    .confirmaciones{
    display: flex;
}
.persona{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}
.persona h2{
    font-size: 2rem;
}
.persona a{
    display: flex;
    justify-content: center;
    align-items: center;
}
.persona a img{
    image-rendering: auto;
    width: 35%;
    height: auto;
    object-fit: cover;
  }
  
}
.confirmaciones{
    display: flex;
    justify-content: space-evenly;
}
.persona{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}
.persona h2{
    font-size: 2rem;
}
.persona a{
    display: flex;
    justify-content: center;
    align-items: center;
}
.persona a img{
    image-rendering: auto;
    width: 35%;
    height: auto;
    object-fit: cover;
  }

/*Drive*/
.seccion-drive{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-radius: 2rem;
    background-color: var(--ColorIconos);
    margin-bottom: 4rem;
}
.seccion-drive span{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--ColorTipografiaPrincipal);
}
.seccion-drive img{
    width: 20%;
    margin: 0 calc(10rem - 1rem);
    padding-top: 1rem;
}
.noboton h1{
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.noboton p{
    font-size: 2.2rem;
    margin: 0;
}
.siboton{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.siboton a{
    color: var(--ColorTipografiaPrincipal);
    border-radius: 2rem;
    border-style: dotted;
    border-color: var(--ColorTipografiaPrincipal);
    font-size: 4rem;
    margin: 1rem 10rem;
    padding: 1.5rem 2rem;
    width: 50%;
    max-width: 40rem;
}
.siboton h1{
    margin: 1rem 0;
    color: var(--ColorTipografiaPrincipal);
}
/*Collage*/
.contenedor-fotos{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
}
.fila{
    display: flex;
    gap: 2rem;
}
.fila img{
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    max-width: 100%;
}
.fila-1 img:nth-child(1){
    width: calc(33% - 1rem)
}
.fila-1 img:nth-child(2){
    width: calc(67% - 1rem)
}
.fila-2 img{
    flex: 1;
    width: calc(33% - 2.67rem)
}
.fila-3 img:nth-child(1){
    width: calc(67% - 1rem);
}
.fila-3 img:nth-child(2){
    width: calc(33% - 1rem);
}
/*Regalos*/
.seccion-regalos{
    background-color: var(--ColorTipografiaPrincipal);
    border-radius: 2rem;
    padding-bottom: 2rem;
}
.regalos{
    display: flex;
    flex-direction: column;
    margin: 1.5rem 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.regalos img{
    display: flex;
    width: 30%;
}
.regalos p{
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--ColorIconos);
}
.texto h1{
    margin: 0;
    margin-top: 4rem;
    padding-top: 2rem;
    color: var(--ColorIconos);
}
.tarjeta{
    display: flex;
    gap: 2rem;
    margin: 0 2rem;
    justify-content: center;
    align-items: center;
}
.mesa{
    display: flex;
    padding: 3rem;
    max-width: 100%;
    height: auto;
    max-height: 5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--ColorIconos);
    border-radius: 3rem;
    border: .25rem;
    border-style: dashed;
}
.tarjeta a{
    font-size: 1.5rem;
}

.mesa-2{
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}
.mesa-2 p{
    font-size: 2rem;
    margin: .5rem;
}
.mesa-2 h2{
    font-size: 1.5rem;
    margin: .5rem;
}
@media (max-width: 260px){
    .tarjeta{
        display: flex;
        flex-direction: column;
    }
}
/*Pie*/
.pie{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2rem;
    margin-bottom: 2rem;
}
.pie p{
    font-size: 1.6rem;
}
.cariño{
    display: flex;
    text-align: center;
    justify-content: right;
    margin-right: 2.5rem;
}
.cariño p{
    font-size: 1.3rem;
    width: 13rem;
    margin-top: 0;
}

/*sello*/
.sello{
    background-color: var(--ColorTipografiaPrincipal);
    height: 100%;
}
.seccion-sello{
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.linea{
    position: absolute;
    top: 50%;
    left: 0;
    background: linear-gradient(to bottom, transparent, #f1e6e0, transparent);
    height: 100%;
    max-height: 10rem;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}
.sello-img img{
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 25%;
    max-height: auto;
}
@media (max-width: 480px){
    .sello-img img{
        max-width: 75%;
    }
}
.agrupar{
    position: absolute;
    width: 100%;
    height: 50%;
    max-height: 4rem;
}

/* Animaciones en fotos */
.slide-left,
.slide-right,
.slide-top,
.slide-bottom {
  opacity: 0;
  pointer-events: none;
  transition-property: transform, opacity;
  transition-duration: 0.9s;
  transition-timing-function: ease-out;
  transition-delay: 0s;
}

/* Direcciones de entrada */
.slide-left   { transform: translateX(-100px); }
.slide-right  { transform: translateX(100px); }
.slide-top    { transform: translateY(-100px); }
.slide-bottom { transform: translateY(100px); }

/* Activación */ 
.animada {
  opacity: 1;
  transform: translate(0, 0);
  pointer-events: auto;
}

/* Elementos fijos que no se animan */
.estatica {
  opacity: 1 !important; 
  transform: none !important;
  transition: none !important;
}

/* Ajustes de layout principal*/
.contenedor,
.contenedor-contador,
.contenedor-fotos,
.contenedor-dresscode,
.seccion,
.seccion-ceremonia,
.seccion-regalos,
.seccion-drive {
  max-width: 100%;
  margin-inline: auto;
  overflow-x: hidden;
}
@media (max-width: 480px) {
  .contenedor-fotos {
    gap: 1rem;
  }

  .fila {
    flex-direction: column;
    gap: 1rem;
  }

  .fila img {
    width: 100% !important;
  }
}



/* Responsividad móvil
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  body {
    overflow-x: hidden;
  }

  .contenedor,
  .contenedor-contador,
  .contenedor-dresscode,
  .seccion,
  .contenedor-fotos,
  .fila,
  .seccion-ceremonia,
  .seccion-drive,
  .tarjeta {
    flex-direction: column !important;
    gap: 2rem;
    text-align: center;
    padding: 1rem;
    overflow-x: hidden;
  }

  .seccion-fotos {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0;
    overflow-x: auto;
  }

  .seccion-fotos img {
    width: 33.333%;
    flex: 0 0 33.333%;
    padding: 0 !important;
  }

  .contenedor-fotos,
  .fila {
    flex-wrap: nowrap !important;
    overflow-x: auto;
  }

  .fila img {
    width: auto;
    flex: 0 0 auto;
    max-width: none;
  }

  .contenedor-dresscode img,
  .regalos img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .anchura iframe {
    width: 100%;
    height: 7rem;
  }

  .seccion-ceremonia img {
    max-width: 80%;
  }

  .seccion-ceremonia a,
  .mesa {
    width: 100%;
    font-size: 2rem;
  }

  .siboton {
    margin: 1rem;
  }

  .siboton a {
    font-size: 3rem;
  }

  .seccion-dresscode .seccion-2 {
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  .seccion-dresscode .seccion-2 h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .seccion-dresscode .seccion-3 {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .seccion-dresscode .seccion-3 a {
    max-width: 60px;
    height: auto;
    margin-bottom: 1rem;
  }

  .mesa-2 p,
  .mesa-2 h2 {
    font-size: 1.7rem;
  }
  
.icono-wsp {
    width: 4rem;
    height: auto;
    transition: transform 0.2s ease;
  }
  
  .icono-wsp:hover {
    transform: scale(1.1);
  }
}
.icono-wsp {
    width: 4rem;
    height: auto;
    transition: transform 0.2s ease;
}

.icono-wsp:hover {
    transform: scale(1.1);
}*/