/* Estilos para el efecto parallax */
.parallax-image {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: transform 0.1s ease-out;
}

:root {
    /* Fuentes */
    --fuente-1: "PT Serif", serif;
    /* 700 */
    --fuente-2: "Poppins", sans-serif;
    /* 300 y 400 */

    /* Grosor fuentes */
    --grosor-fuente-light: 300;
    --grosor-fuente-regular: 400;
    --grosor-fuente-semi-bold: 600;
    --grosor-fuente-bold: 700;

    /* Titulos secciones */
    --font-titulos: var(--fuente-1);
    --grosor-titulos: var(--grosor-fuente-bold);

    /* Subtitulos secciones */
    --font-subtitulos: var(--fuente-2);
    --grosor-subtitulos: var(--grosor-fuente-regular);

    /* Nombres portada */
    --font-nombres-portada: var(--fuente-1);
    --grosor-nombres-portada: var(--grosor-fuente-semi-bold);

    /* Frase portada */
    --font-frase-portada: var(--fuente-2);
    --grosor-frase-portada: var(--grosor-fuente-regular);

    /* Footer */
    --font-nombres-footer: var(--fuente-2);
    --grosor-nombres-footer: var(--grosor-fuente-regular);
}

:root {


    /* Paleta colores */
    --color-pallete-1: #BFC8AB;
    --color-pallete-2: #25483D;
    --color-pallete-3: #FFF;
    --color-pallete-4: #FBFFF2;
    /* ----------------------- */

    /* Generales */
    --color-fondo-loader: var(--color-pallete-4);
    --color-loader: var(--color-pallete-2);
    --color-fondo-body: var(--color-pallete-3);
    --color-sombra-container-body: var(--color-pallete-1);
    --color-scroll-track: var(--color-pallete-4);
    --color-scroll-thumb: var(--color-pallete-2);
    --color-scroll-thumb-hover: var(--color-pallete-1);
    --color-fondo-secciones-1: var(--color-pallete-4);
    --color-fondo-secciones-2: var(--color-pallete-3);
    --color-titulos: var(--color-pallete-2);
    --color-subtitulos: var(--color-pallete-2);
    --color-fondo-btns: var(--color-pallete-2);
    --color-fondo-btns-hover: var(--color-pallete-1);
    --color-txt-btns: var(--color-pallete-3);
    --color-txt-btns-hover: var(--color-pallete-2);
    --color-anim-adorno-titulo: var(--color-pallete-1);
    --color-adornos-divisor: var(--color-pallete-1);
    --color-backdrop-modal: var(--color-pallete-4);
    --color-titulo-modal: var(--color-pallete-2);
    --color-adorno-titulo-modal: var(--color-pallete-1);
    --color-bordes-adornos-modal: var(--color-pallete-1);
    --color-fondo-col-modal: var(--color-pallete-3);
    --color-iconos-modales: var(--color-pallete-1);
    --color-textos-modales: var(--color-pallete-2);
    --color-x-cierre-modales: var(--color-pallete-2);
    --color-hover-x-cierre-modales: var(--color-pallete-1);
    --color-titulo-modal-paises: var(--color-pallete-2);
    --color-btns-idiomas: var(--color-pallete-2);
    --color-txt-btns-idiomas: var(--color-pallete-3);
    --color-hover-btns-idiomas: var(--color-pallete-1);
    --color-hover-txt-btns-idiomas: var(--color-pallete-2);
    --color-label-forms: var(--color-pallete-2);
    --color-bordes-inputs-forms: var(--color-pallete-1);
    --color-placeholders-forms: var(--color-pallete-2);
    --color-checkbox: var(--color-pallete-1);
    --color-inputs-form: var(--color-pallete-2);
    --color-input-focus: var(--color-pallete-1);
    --color-titulo-form-enviado: var(--color-pallete-2);
    --color-texto-form-enviado: var(--color-pallete-2);
    --color-nombres: var(--color-pallete-2);
    --color-ampersand: var(--color-pallete-1);
    --color-lineas-puntos: var(--color-pallete-1);
    --color-sombra-cols: var(--color-pallete-1);

    /* ----------------------- */

    /* Musica */
    --color-backdrop-modal-musica: var(--color-pallete-4);
    --color-circulos-anim-reproductor: var(--color-pallete-1);
    --color-nota-anim-reproductor: var(--color-pallete-2);
    --color-esquinas-modal-musica: var(--color-pallete-1);
    --color-txt-bienvenida: var(--color-pallete-2);
    --color-txt-recomienda-musica: var(--color-pallete-1);
    --color-adorno-modal-musica: var(--color-pallete-1);

    /* Portada */
    --color-fecha-portada: var(--color-pallete-2);
    --color-sub-fecha: var(--color-pallete-2);
    --color-esquinas-portada: var(--color-pallete-1);
    --color-frase-portada: var(--color-pallete-2);
    --color-adorno-frase-portada: var(--color-pallete-1);

    /* Cuenta regresiva */
    --color-titulo-cuenta-regresiva: var(--color-pallete-2);
    --color-numeros-cuenta-regresiva: var(--color-pallete-2);
    --color-texto-cuenta-regresiva: var(--color-pallete-1);
    --color-anim-cta-regresiva: var(--color-pallete-1);
    --color-divisores-cta-regresiva: var(--color-pallete-1);
    --color-msjfinal-cta-regresiva: var(--color-pallete-2);

    /* Eventos */
    --color-bordes-adornos-evento: var(--color-pallete-1);
    --color-fondo-col-evento: var(--color-pallete-3);
    --color-anim-eventos: var(--color-pallete-1);
    --color-titulos-eventos: var(--color-pallete-2);
    --color-subtitulos-eventos: var(--color-pallete-2);
    --color-adorno-titulo-eventos: var(--color-pallete-1);
    --color-textos-eventos: var(--color-pallete-2);

    /* Galeria */
    --color-anim-galeria: var(--color-pallete-1);
    --color-fondo-polaroid: var(--color-pallete-4);
    --color-fondo-polaroid-centro: var(--color-pallete-1);
    --color-bullet-galeria: var(--color-pallete-2);
    --color-modal-galeria: var(--color-pallete-1);

    /* Fiesta */
    --color-fondo-item-fiesta: var(--color-pallete-3);
    --color-titulos-cards: var(--color-pallete-2);
    --color-txt-cards: var(--color-pallete-2);
    --color-anim-cards: var(--color-pallete-1);
    --color-bordes-adornos-cards: var(--color-pallete-1);

    /* Regalos */
    --color-anim-regalos: var(--color-pallete-1);

    /* Instagram */
    --color-anim-instagram: var(--color-pallete-1);
    --color-fondo-hashtag: var(--color-pallete-1);
    --color-link-instagram: var(--color-pallete-3);

    /* Footer */
    --color-links-footer: var(--color-pallete-1);
    --color-links-footer-hover: var(--color-pallete-2);
    --color-fondo-firma: var(--color-pallete-1);
    --color-txt-firma: var(--color-pallete-2);
    --color-link-firma: var(--color-pallete-2);
    --color-link-firma-hover: var(--color-pallete-4);


    /* Vars para degradez en secciones (desde 4/9/24) */

    /* --color-degradez-1: var(--color-pallete-1); */
    /* --color-degradez-2: var(--color-pallete-2); */
    --color-anim-adorno-titulo-galeria: var(--color-pallete-1);
    --color-anim-adorno-titulo-regalos: var(--color-pallete-1);
    --color-titulo-galeria: var(--color-pallete-2);
    --color-titulo-regalos: var(--color-pallete-2);
    --color-subtitulo-galeria: var(--color-pallete-2);
    --color-subtitulo-regalos: var(--color-pallete-2);
    --color-nombres-footer: var(--color-pallete-2);
    --color-ampersand-footer: var(--color-pallete-1);
    --color-lineas-puntos-footer: var(- -color-pallete-1);

    /* end Vars para degradez en secciones (desde 4/9/24) */
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

path {
    stroke: var(--color-anim-galeria);
    stroke-width: 3px;
    fill: var(--color-anim-galeria);
}


/* Scroll */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-scroll-track);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--color-scroll-thumb);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-scroll-thumb-hover);
}

/* end Scroll */
.agendar-btn-container {
    position: relative;
}

.calendar-menu {
    width: 100%;
    margin-top: 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 8px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
}

.footer .calendar-menu {
    min-width: 220px;
    top: initial;
    bottom: 100%;
    left: initial;
    right: 0;
}

.calendar-menu a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    line-height: 100%;
    cursor: pointer;
    font-size: 15px;
    color: var(--color-nombres);
    font-weight: var(--grosor-fuente-bold);
}

.calendar-menu a img {
    width: 38px;
    height: 38px;
}

.calendar-menu a:hover {
    background-color: #f5f5f5;
}

.button {
    background: var(--color-fondo-btns);
    color: var(--color-txt-btns);
    font-family: var(--fuente-2);
    font-weight: var(--grosor-fuente-regular);
    border-radius: 10px;
    line-height: 22px;
    font-size: 17px;
    padding: 15px 30px;
    -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
    width: auto;
    display: inline-block;
    margin: 0 auto;
    min-width: 230px;
    max-width: calc(100% - 40px);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.button:hover {
    background: var(--color-fondo-btns-hover);
}

.circles-line {
    background: radial-gradient(ellipse at center, var(--color-lineas-puntos) 0%, var(--color-lineas-puntos) 30%, transparent 30%);
    background-size: 11px 11px;
    background-position: center;
    display: block;
}

.circles-line-x {
    width: 100%;
    height: 11px;
    background-repeat: repeat-x;
}

.circles-line-y {
    width: 11px;
    height: 100%;
    background-repeat: repeat-y;
}

.disk-box {
    display: block;
    mask-image: url(../img/disk-box.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    width: 75px;
    height: 75px;
}

.gps-icon {
    display: block;
    mask-image: url(../img/gps.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    width: 75px;
    height: 75px;
}

.hanger-heart {
    display: block;
    mask-image: url(../img/hanger-heart.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    width: 75px;
    height: 75px;
}

.document-icon {
    display: block;
    mask-image: url(../img/document.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    width: 75px;
    height: 75px;
}

.gift-icon {
    display: block;
    mask-image: url(../img/gift.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    width: 75px;
    height: 75px;
}

.decoration-bottom-text {
    mask-image: url(../img/decoration-bottom-text.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    width: 136px;
    height: 36px;
}

.decoration-border {
    display: block;
    mask-image: url(../img/decoration-border.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: repeat-x;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    overflow-clip-margin: content-box;
    width: 100%;
    height: 15.9px;
}

.decoration-corner-card {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-corner-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-fondo-secciones-1);
}

.card-container .decoration-corner-card::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    mask-image: url(../img/decoration-corner-card.svg);
    mask-position: center;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    z-index: 1;
}

/* Card */

.card {
    padding: 0 15px;
    display: flex;
    justify-content: center;
    width: 100%;
}


.card-container {
    position: relative;
    width: 85%;
    padding: 35px;
}

.card-container>span {
    position: absolute;
}

.card-container .circles-line-x.top {
    top: 0;
    left: 0;
}

.card-container .circles-line-x.bottom {
    bottom: 0;
    left: 0;
}

.card-container .circles-line-y.left {
    left: 0;
    top: 0;
}

.card-container .circles-line-y.right {
    right: 0;
    top: 0;
}

.card-container .decoration-corner-card.top-left {
    top: -3px;
    left: -3px;
}

.card-container .decoration-corner-card.top-right {
    top: -3px;
    right: -3px;
    transform: scaleX(-1);
}

.card-container .decoration-corner-card.bottom-left {
    bottom: -3px;
    left: -3px;
    transform: scaleY(-1);
}

.card-container .decoration-corner-card.bottom-right {
    bottom: -3px;
    right: -3px;
    transform: scaleX(-1) scaleY(-1);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    margin: 0 auto;
    padding: 30px 0;
    border-radius: 20px;
    box-shadow: 0px 0px 20px -7px var(--color-sombra-cols)
}

.card-content h2 {
    font-family: var(--fuente-1);
    font-weight: var(--grosor-fuente-bold);
    color: var(--color-titulos-eventos);
    font-size: 35px;
    display: inline-block;
    position: relative;
    margin-top: 10px;
    margin-bottom: 8px;
}

.card-content h3 {
    font-family: var(--fuente-1);
    font-weight: var(--grosor-fuente-bold);
    color: var(--color-subtitulos-eventos);
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 10px;
}

.card-content p {
    font-family: var(--fuente-2);
    font-weight: var(--grosor-fuente-regular);
    color: var(--color-textos-eventos);
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 30px;
    white-space: nowrap;
}

.modal {
    position: fixed;
    inset: 0;
    background-color: var(--color-fondo-secciones-1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    width: 100%;
    height: 100%;

}

.modal .card {
    border-radius: 8px;
    width: auto;
    position: relative;
}


.modal .card-container {
    width: auto;
}

.modal .card-content {
    position: relative;
    padding: 20px 40px;
    min-width: 450px;
}

.modal .decoration-bottom-text {
    width: 85px;
    height: 23px;
    margin-top: 10px;
    margin-bottom: 25px;
}


.modal form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.modal .card-content h3 {
    text-align: center;
    font-size: 28px;
    font-family: var(--fuente-1);
    font-weight: var(--grosor-fuente-bold);
    color: var(--color-titulo-modal);
    margin-top: 20px;
    margin-bottom: 0;
}

.close-modal {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    top: 5px;
    right: 5px;
    color: var(--color-x-cierre-modales);
    width: 40px;
    height: 40px;
    line-height: 37px;
    opacity: 1;
    outline: none;
    font-size: 34px;
    font-weight: normal;
    font-family: var(--fuente-1);
    font-weight: var(--grosor-fuente-regular);
    -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
    text-shadow: none;
    ;
}

.close-modal:hover {
    color: var(--color-hover-x-cierre-modales);
}

.party-popper {
    display: block;
    mask-image: url(../img/party-popper.svg);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: var(--color-pallete-1);
    width: 76px;
    height: 76px;
}

.radio-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 40px;
}

.radio-group input {
    display: none;
}

.radio-group label {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 25px;
    color: var(--color-label-forms);
    font-size: 18px;
    line-height: 20px;
    font-family: var(--fuente-2);
}

.radio-group label::before {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--color-pallete-1);
}

.radio-group label:has(input:checked)::before {
    border: 6px solid var(--color-pallete-1);
}

.modal form input[type="url"],
.modal form input[type="text"] {
    display: block;
    width: 100%;
    outline: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    padding: 6px 12px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    font-family: var(--fuente-2);
}

.modal form input[type="url"]:last-of-type,
.modal form input[type="text"]:last-of-type {
    margin-bottom: 25px;
}

/* 
    Section styles
*/
section {
    width: 100%;
    position: relative;
}

section .title {
    font-family: var(--font-titulos);
    font-weight: var(--grosor-titulos);
    color: var(--color-titulos);
    font-size: 40px;
    line-height: 1;
    padding: 0 20px;
    margin-bottom: 10px;
    text-align: center;
}

section .subtitle {
    font-family: var(--font-subtitulos);
    font-weight: var(--grosor-subtitulos);
    color: var(--color-subtitulos);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 0 20px;
    text-align: center;
}

/* Shadows */

.shadow-vertical {
    height: 100%;
    width: 6px;
    position: absolute;
}

.shadow-horizontal {
    height: 6px;
    width: 100%;
    position: absolute;
}

.shadow-top {
    box-shadow: 0px 5px 8px -2px #111;
    top: -6px;
    left: 0;
}

.shadow-right {
    box-shadow: 5px 0 5px -5px #111;
    right: -6px;
}

.shadow-bottom {
    box-shadow: 0px -5px 8px -2px #111;
    bottom: -6px;
}

.shadow-left {
    box-shadow: -6px -5px 6px -2px #111;
    left: 0;
}

/* 
    Main styles
*/

.wedding-landing {
    max-width: 1200px;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 34px -4px var(--color-sombra-container-body);
    -moz-box-shadow: 0px 0px 34px -4px var(--color-sombra-container-body);
    box-shadow: 0px 0px 34px -4px var(--color-sombra-container-body);
    position: relative;
}

.music-fixed-btn {
    position: fixed;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
}
body:has(.welcome) .music-btn {
    transform: translateY(-250px);
    opacity: 0;
}
.music-btn {
    position: absolute;
    top: 10px;
    right: 1px;
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: .5s;
}

.music-btn svg {
    width: 100px;
    height: 100px;
}

.music-btn .nota path {
    fill: var(--color-nota-anim-reproductor);
    stroke: var(--color-nota-anim-reproductor);
    stroke-width: 0;
}

#welcome-overlay {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1001;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    transition: .5s;
}

#welcome-overlay.removing {
    transform: translateY(-50%);
    opacity: 0;
}


.welcome {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 50px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .6s ease, opacity .6s ease;
}

.welcome.show {
    transform: translateY(0);
    opacity: 1;
}

.welcome .animation {
    width: 90px;
    margin-top: 20px;
}

.welcome-title {
    position: relative;
    font-size: 23px;
    line-height: 1;
    font-family: var(--fuente-2);
    font-weight: var(--weight-font-regular);
    color: var(--color-txt-bienvenida);
    text-transform: initial;
    display: inline-block;
    margin-bottom: 20px;
    width: auto;
}

.welcome-title .circles-line {
    margin-top: 10px;
}

.welcome .couple-names h2 {
    font-size: 60px;
    line-height: 50px;
}

.welcome .welcome-decoration-corner {
    position: absolute;
    width: 15%;
    max-width: 250px;
    aspect-ratio: 1/1.26;
    height: auto;
    mask-image: url(../img/decorative-corner-top.svg);
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    overflow-clip-margin: content-box;
}

.welcome-decoration-corner.top-left {
    top: 0;
    left: 0;
}

.welcome-decoration-corner.top-right {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

.welcome-decoration-corner.bottom-left {
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
}

.welcome-decoration-corner.bottom-right {
    bottom: 0;
    right: 0;
    transform: scaleX(-1) scaleY(-1);
}

.welcome-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.welcome-text {
    font-size: 18px;
    color: var(--color-txt-recomienda-musica);
    font-weight: 300;
    margin: 30px 0 10px;
    display: inline-block;
    width: 100%;
    font-family: var(--fuente-2);
    font-weight: var(--weight-font-light);
}

.welcome-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

body:has(.welcome) {
    overflow: hidden;
}

.landing-container {
    transition: .5s;
    background: var(--color-fondo-secciones-1);
}

body .landing-container * {
    transition: .5s;
}


body:has(.welcome) .landing-container * {
    opacity: 0;
    transform: translateY(25%);
}

.hero {
    display: flex;
    position: relative;
}

.hero-image {
    width: 50%;
    flex-grow: 1;
    height: 700px;
}

.hero-image img {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-info {
    height: 700px;
    width: 50%;
    flex-grow: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-fondo-secciones-1);
}

.hero-decoration-corner {
    position: absolute;
    width: 17%;
    max-width: 250px;
    aspect-ratio: 1/1.26;
    height: auto;
    mask-image: url(../img/decorative-corner-top.svg);
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    overflow-clip-margin: content-box;
}

.hero-decoration-corner.top-left {
    top: 35px;
    left: 35px;
}

.hero-decoration-corner.top-right {
    top: 35px;
    right: 35px;
    transform: scaleX(-1);
}

.hero-decoration-corner.bottom-left {
    bottom: 35px;
    left: 35px;
    transform: scaleY(-1);
}

.hero-decoration-corner.bottom-right {
    bottom: 35px;
    right: 35px;
    transform: scaleX(-1) scaleY(-1);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14%;
}

.hero-date {
    font-family: var(--fuente-2);
    font-size: 22px;
    line-height: 20px;
    color: var(--color-fecha-portada);
    margin-bottom: 30px;
}

.couple-names {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.couple-names h2 {
    color: var(--color-nombres);
    font-family: var(--fuente-1);
    font-weight: var(--grosor-fuente-bold);
    font-size: 70px;
    line-height: 55px;
    margin-bottom: 0;
}

.couple-decorations {
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 10px;
}

.couple-decorations .circles-line {
    width: calc(50% - 18px);
}

.decoration-ampersand {
    display: block;
    mask-image: url(../img/ampersand.svg);
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    overflow-clip-margin: content-box;
    width: 36px;
    height: 45px;
}

.hero-decoration-text {
    display: block;
    mask-image: url(../img/decoration-hero-text.svg);
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    overflow-clip-margin: content-box;
    width: 120px;
    height: 25px;
    margin-top: 45px;
    margin-bottom: 15px;
}

.hero-text {
    font-family: var(--font-frase-portada);
    font-weight: var(--grosor-frase-portada);
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    color: var(--color-frase-portada);
    margin-bottom: 20px;
}

.hero-content .animation {
    width: 150px;
}


/* Date */

.date {
    padding: 30px 0;
    background: #fff;
}

.date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 14%;
}

.date-container h3 {
    font-family: var(--fuente-1);
    font-weight: var(--grosor-fuente-bold);
    font-size: 45px;
    color: var(--color-titulo-cuenta-regresiva);
}

.date-timer {
    display: flex;
    align-items: center;
    height: 80px;
    margin-top: 10px;
    margin-bottom: 25px;
}

.date-timer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 75px;
    padding: 0 10px;
}

.date-timer div span:first-of-type {
    color: var(--color-numeros-cuenta-regresiva);
    font-family: var(--fuente-1);
    font-weight: var(--grosor-fuente-bold);
    font-size: 45px;
    line-height: 45px;
}

.date-timer div span:last-of-type {
    color: var(--color-texto-cuenta-regresiva);
    font-family: var(--fuente-2);
    font-weight: var(--grosor-fuente-regular);
    font-size: 20px;
    margin-top: 5px;
}

.date .animation {
    width: 50px;
}


/* Details */

.details {
    display: flex;
    justify-content: space-evenly;
    padding: 100px 20px;
    background: var(--color-fondo-secciones-1);
}

.details .card-content {
    padding-bottom: 55px;
}

.details .card .animation {
    width: 120px;
    height: 120px;
}

.details .card .animation path {
    stroke-width: 7px;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    background: #fff;
}

.decoration-top-group {
    display: flex;
    align-items: center;
    margin: 100px auto 20px;
}

.decoration-top-side {
    mask-image: url(../img/decoration-top.svg);
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    overflow-clip-margin: content-box;
    width: 95px;
    height: 42.4px;
    transform: translateX(6px);
}

.decoration-top-side:last-of-type {
    transform: scaleX(-1) translateX(6px);
}

.decoration-top-group .animation {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
}

.gallery .animation[data-animation="camera"] {
    width: 90px;
    height: 90px;
    margin-bottom: 30px;
}

.gallery-slider {
    width: 100%;
    margin-bottom: 60px;
    padding: 0 24px;
    overflow: hidden;
}

.gallery-slider .swiper-slide {
    padding: 15px;
    padding-bottom: 100px;
    background-color: var(--color-fondo-polaroid);
    -webkit-box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.432);
    box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.4);
}

.gallery-slider .swiper-slide.swiper-slide-next {
    background-color: var(--color-fondo-polaroid-centro);
}

.gallery-slider .swiper-slide a {
    display: block;
    aspect-ratio: 1/1;
}

.gallery-slider .swiper-slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-slider .swiper {
    overflow: visible;
}

.gallery-slider .swiper-wrapper {
    padding: 10px 0 50px;
    overflow: visible;
}

.gallery-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 12px !important;
    background: var(--color-bullet-galeria);
    opacity: .6;
}

.gallery-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.party {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-fondo-secciones-1);
}

.party-cards {
    display: flex;
    margin-top: 60px;
    margin-bottom: 90px;
    width: 100%;
    padding: 0 30px;
}

.party-cards .card {
    padding: 0 10px;
}

.party-cards .card-container {
    width: 100%;
}

.party-cards .card-content {
    height: 385px;
}

.party-cards .card-content button {
    min-width: auto;
    width: calc(100% - 40px);
}

.party-cards .card-content h3 {
    margin-top: 0;
}

.party-cards .card-content .animation {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.party-cards .card-content .animation path {
    stroke-width: 7px;
}

.party-cards .card-content p {
    text-align: center;
    flex-grow: 1;
    white-space: initial;

}

.gifts {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
}

.gifts .animation[data-animation="gift"] {
    width: 90px;
    height: 90px;
}

.gifts .animation[data-animation="gift"] path {
    stroke-width: 7px;
}

.gifts button {
    margin-top: 25px;
    margin-bottom: 90px;
}

.instagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-fondo-secciones-1);
}

.instagram-ticket {
    display: flex;
    margin-bottom: 40px;
    margin-top: 30px;
    position: relative;
}

.instagram-ticket>div {
    display: flex;
    align-items: center;
    height: 90px;
    padding: 15px;
    font-size: 40px;
    color: var(--color-link-instagram);
    font-family: var(--fuente-1);
    font-weight: var(--grosor-fuente-regular);
    background-color: var(--color-fondo-hashtag);
}

.ticket-side {
    width: 28.5px;
    height: 90px;
    mask-image: url(../img/decoration-ticket.svg);
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: exclude;
    background-color: var(--color-pallete-1);
    overflow-clip-margin: content-box;
    position: absolute;
    top: 0;
    right: calc(100% + 5px);
}

.ticket-side:last-of-type {
    right: initial;
    left: calc(100% + 5px);
    transform: scaleX(-1);
}

.instagram button {
    margin-bottom: 90px;
}

.instagram button a {
    color: var(--color-link-instagram);
}

.instagram .animation[data-animation="instagram"] path {
    stroke-width: 2px;
}

.footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
    background: #fff;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
}

.footer-container>div {
    width: 100%;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-right ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-right ul li {
    cursor: pointer;
    line-height: 20px;
    color: var(--color-links-footer);
    font-family: var(--fuente-2);
    font-weight: var(--grosor-fuente-regular);
    font-size: 18px;
    -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
}

.footer-right ul li:hover {
    color: var(--color-links-footer-hover);
}

.footer-signature {
    position: relative;
    padding: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    color: var(--color-txt-firma);
    font-family: var(--fuente-2);
    background-color: var(--color-fondo-firma);
}

.footer-signature a {
    color: black;
    font-weight: var(--grosor-fuente-bold);
}

@media(max-width: 1080px) {
    .party-cards {
        padding: 0 20px;
    }
}

@media(max-width: 1050px) {
    .card-container {
        width: 100%;
    }

    .party-cards .card {
        padding: 0;
    }
}

@media(max-width: 1020px) {
    .button {
        font-size: 15px;
        padding: 15px 20px;
    }
}

@media(max-width: 980px) {
    .details .card-container {
        width: 100%;
    }

    .party-cards {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .party-cards .card {
        max-width: 420px;
    }
}

@media(max-width: 890px) {
    .details {
        gap: 20px;
    }

    .details .card {
        padding: 0;
    }

    .details .card-container {
        width: 100%;
    }
}

@media(max-width: 850px) {
    .details {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .details .card-container {
        width: 85%;
    }

    .card-content p {
        white-space: initial;
    }
}

@media(max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-image,
    .hero-info {
        width: 100%;
    }

    .hero-image {
        max-height: calc(220px + 30vw);
    }

    .footer-container {
        flex-direction: column;
        gap: 50px;
    }

    .footer-right ul {
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .modal .card {
        width: 100%;
    }

    .modal .card-container {
        width: 100%;
    }

    .modal .card-content {
        min-width: initial;
        padding: 20px;
    }

}

@media(max-width: 678px) {
    .welcome {
        padding: 75px 50px;
    }

    .welcome .welcome-decoration-corner {
        width: 22%;
    }

    .welcome-buttons {
        display: flex;
        flex-direction: column;
        margin-top: 25px;
    }

}

@media(max-width: 570px) {
    .button {
        font-size: 15px;
        margin: 0 auto;
        display: inline-block;
        max-width: initial;
        padding: 15px 20px;
    }

    section .title {
        font-size: 36px;
    }

    .card-container {
        padding: 20px;
    }

    .decoration-corner-card {
        width: 28px;
        height: 28px;
    }

    .card-container .decoration-corner-card::after {
        width: 22px;
        height: 22px;
    }

    .card-container .decoration-corner-card.top-left {
        top: -4px;
        left: -4px;
    }

    .card-container .decoration-corner-card.top-right {
        top: -4px;
        right: -4px;
    }

    .card-container .decoration-corner-card.bottom-left {
        bottom: -4px;
        left: -4px;
    }

    .card-container .decoration-corner-card.bottom-right {
        bottom: -4px;
        right: -4px;
    }

    .details .card-container {
        width: 100%;
    }

    .gallery-slider .swiper-slide.swiper-slide-next {
        background-color: var(--color-fondo-polaroid);
    }

    .gallery-slider .swiper-slide.swiper-slide-active {
        background-color: var(--color-fondo-polaroid-centro);
    }

    .instagram-ticket>div {
        font-size: 36px;
    }
}

@media(max-width: 520px) {
    .radio-group label {
        font-size: 16px;
    }
}

@media(max-width: 470px) {
    .welcome-title {
        font-size: 18px;
    }

    .welcome .couple-names h2 {
        font-size: 55px;
    }
}

@media(max-width: 420px) {
    .date-timer div {
        min-width: auto;
    }

    .date-timer div span:first-of-type {
        font-size: 38px;
    }

    .instagram-ticket>div {
        font-size: 34px;
    }

    .couple-names h2 {
        font-size: 55px;
    }

    .hero-content {
        padding: 10%;
    }

    .hero-decoration-corner {
        width: 22%;
    }

    .hero-decoration-corner.top-left {
        top: 25px;
        left: 10px;
    }

    .hero-decoration-corner.top-right {
        top: 25px;
        right: 10px;
    }

    .hero-decoration-corner.bottom-left {
        bottom: 25px;
        left: 10px;
    }

    .hero-decoration-corner.bottom-right {
        bottom: 25px;
        right: 10px;
    }

    .date-container {
        padding: 40px 20px;
    }

    .radio-group label {
        font-size: 14px;
        padding-left: 20px;
    }

    .radio-group label::before {
        width: 16px;
        height: 16px;
    }

    .modal form input[type="url"],
    .modal form input[type="text"] {
        font-size: 14px;
        padding: 6px 8px;
    }

}

@media(max-width: 370px) {
    .date-timer div span:first-of-type {
        font-size: 35px;
    }

    .details {
        padding: 75px 10px;
    }

    .party-cards {
        padding: 0 10px;
    }

    .instagram-ticket>div {
        font-size: 32px;
    }

    .modal .card-content {
        padding: 20px 15px;
    }

    .gifts button {
        font-size: 14px;
    }
}

@media(max-width: 340px) {
    .date-timer div span:first-of-type {
        font-size: 32px;
    }

    .instagram-ticket>div {
        font-size: 28px;
    }

    .details {
        padding: 75px 0;
    }

    .party-cards {
        padding: 0;
    }
}

/* === Preloader Overlay === */
#preloader-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-fondo-secciones-1);
    z-index: 3000;
    /* above everything */
    transition: opacity .5s ease-in-out;
}

#preloader-overlay .animation {
    width: 150px;
    height: 150px;
}

#preloader-overlay .animation path {
    fill: var(--color-pallete-2);
    stroke: var(--color-pallete-2);
}

#preloader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}