@font-face {
    font-family: Gopher;
    src: url(https://use.typekit.net/af/0a837c/00000000000000007735cb08/31/l?subset_id=2&fvd=n4&v=3) format("woff2"), url(https://use.typekit.net/af/0a837c/00000000000000007735cb08/31/d?subset_id=2&fvd=n4&v=3) format("woff"), url(https://use.typekit.net/af/0a837c/00000000000000007735cb08/31/a?subset_id=2&fvd=n4&v=3) format("opentype");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: Gopher;
    src: url(https://use.typekit.net/af/7d6e5b/00000000000000007735cb0c/31/l?subset_id=2&fvd=n5&v=3) format("woff2"), url(https://use.typekit.net/af/7d6e5b/00000000000000007735cb0c/31/d?subset_id=2&fvd=n5&v=3) format("woff"), url(https://use.typekit.net/af/7d6e5b/00000000000000007735cb0c/31/a?subset_id=2&fvd=n5&v=3) format("opentype");
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: Gopher;
    src: url(https://use.typekit.net/af/b3fd27/00000000000000007735cb0f/31/l?subset_id=2&fvd=n7&v=3) format("woff2"), url(https://use.typekit.net/af/b3fd27/00000000000000007735cb0f/31/d?subset_id=2&fvd=n7&v=3) format("woff"), url(https://use.typekit.net/af/b3fd27/00000000000000007735cb0f/31/a?subset_id=2&fvd=n7&v=3) format("opentype");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: Gopher;
    src: url(https://use.typekit.net/af/5bef7c/00000000000000007735cb0a/31/l?subset_id=2&fvd=i4&v=3) format("woff2"), url(https://use.typekit.net/af/5bef7c/00000000000000007735cb0a/31/d?subset_id=2&fvd=i4&v=3) format("woff"), url(https://use.typekit.net/af/5bef7c/00000000000000007735cb0a/31/a?subset_id=2&fvd=i4&v=3) format("opentype");
    font-weight: 400;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: Gopher;
    src: url(https://use.typekit.net/af/bfecea/00000000000000007735cb0e/31/l?subset_id=2&fvd=i5&v=3) format("woff2"), url(https://use.typekit.net/af/bfecea/00000000000000007735cb0e/31/d?subset_id=2&fvd=i5&v=3) format("woff"), url(https://use.typekit.net/af/bfecea/00000000000000007735cb0e/31/a?subset_id=2&fvd=i5&v=3) format("opentype");
    font-weight: 500;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

@font-face {
    font-family: Gopher;
    src: url(https://use.typekit.net/af/765201/00000000000000007735cb11/31/l?subset_id=2&fvd=i7&v=3) format("woff2"), url(https://use.typekit.net/af/765201/00000000000000007735cb11/31/d?subset_id=2&fvd=i7&v=3) format("woff"), url(https://use.typekit.net/af/765201/00000000000000007735cb11/31/a?subset_id=2&fvd=i7&v=3) format("opentype");
    font-weight: 700;
    font-style: italic;
    font-stretch: normal;
    font-display: auto;
}

:root {
    --color-primary: #E3262A;
    --color-secondary: #e3a3c6;
    --color-accent: #2247ff;

    --font-primary: Gopher, "Arial Black", sans-serif;

    --heading-1: 6rem;
    --heading-2: 2.5rem;
    --heading-3: 3rem;
    --heading-4: 2rem;

    --heading-huge: 6rem;
}

@media (max-width: 780px) {
    :root {
        --heading-huge: 4rem;
    }
}

@media (max-width: 480px) {
    :root {
        --heading-1: 5rem;
        --heading-2: 1.5rem;
        --heading-3: 2rem;
        --heading-4: 1.5rem;

        --heading-huge: 3rem;
    }
}

body {
    background-color: var(--color-secondary);
    color: var(--color-primary);

    margin: 0;
    padding: 2rem 1rem;
    font-family: var(--font-primary), sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -.04em;
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-size: var(--heading-1);
}

h2 {
    font-size: var(--heading-2);
}

h3 {
    font-size: var(--heading-3);
}

h4 {
    font-size: var(--heading-4);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    border-bottom: 1px dashed;
}

.font-accent {
    color: var(--color-accent);
}

.font-huge {
    font-size: var(--heading-huge);
}

.hero__header {
    text-align: center;
}

.hero__header h1 {
    text-transform: uppercase;
}

.hero__content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.hero__content .mask-image {
    width: 80vw;
    mask-size: 81%;
}

.section + .section {
    margin-top: 8rem;
}

.section:not(.section__galicia) h3,
.section:not(.section__galicia) h4 {
    text-align: center;
    margin-bottom: 2rem;
}

.section__galicia {
    display: flex;
    justify-content: space-between;
    width: 90vw;
    max-width: 1020px;
    margin: 0 auto;
}

.section__celebracion h3 {
    font-size: var(--heading-huge);
    text-align: center;
}

.section__content {
    display: flex;
    justify-content: center;
    gap: 5rem;
    width: 80vw;
    margin: 0 auto;
}

.section__celebracion .section__content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.section__celebracion .section__content h4 {
    margin-bottom: .5rem;
}

.section__celebracion img {
    width: 60vw;
    /*filter: invert(19%) sepia(83%) saturate(4303%) hue-rotate(233deg) brightness(100%) contrast(102%);*/
}

.mask-image {
    mask-size: 80%;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-image: url("/assets/mask.svg");
    width: 45vw;
}

.section__info .section__content {
    flex-direction: column;
    max-width: 840px;
    font-size: 18px;
}

.section__info .section__col {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.section__info .section__col h4 {
    flex: 0 0 200px;
    margin-bottom: 0;
}

.section__us .section__content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section__us .names {
    display: flex;
    text-align: center;
    gap: 1rem;
}

.section__us img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    max-height: 450px;
}

.section__gift {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
}

.section__gift .section__title {
    flex: 0 0 300px;
}

.section__gift h3,
.section__gift h4 {
    margin-bottom: 0 !important;
}

.section__gift p {
    font-size: 1.5rem;
    line-height: 1.2;
}

.section__gift .cuenta {
    text-align: center;
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 1rem;
}

.main__footer {
    display: flex;
    justify-content: center;
    margin-top: 8rem;
    padding-top: 130px;
    position: relative;
}

.main__footer a {
    border-bottom: 2px dashed;
}

.main__footer__click {
    position: absolute;
    top: 0;
    left: 50%;
    color: var(--color-accent);
    font-weight: bold;
}

.main__footer__click .hide {
    opacity: 0;
}

.main__footer__click svg {
    max-width: 90px;
    stroke: var(--color-accent);

}

.footer__huge-text {
    font-size: var(--heading-huge);
}

.countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes confetti-slow {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }
    100% {
        transform: translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg);
    }
}

@keyframes confetti-medium {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }
    100% {
        transform: translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg);
    }
}

@keyframes confetti-fast {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }
    100% {
        transform: translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg);
    }
}

.container {
    width: 100vw;
    height: 100vh;
    position: fixed !important;
    top: 0;
    left: 0;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

.confetti-container {
    perspective: 700px;
    position: absolute;
    overflow: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.confetti {
    position: absolute;
    z-index: 1;
    top: -10px;
    border-radius: 0%;
}

.confetti--animation-slow {
    animation: confetti-slow 2.5s linear 1 forwards;
}

.confetti--animation-medium {
    animation: confetti-medium 2s linear 1 forwards;
}

.confetti--animation-fast {
    animation: confetti-fast 1.5s linear 1 forwards;
}


@media (max-width: 780px) {
    .section__gift {
        flex-direction: column;
        gap: 3rem;
    }

    .section__gift .section__title {
        flex: 0 0 0px;
    }

}

@media (max-width: 720px) {
    .section__info .section__content {
        gap: 3rem;
    }

    .section__info .section__col {
        flex-direction: column;
    }

    .section__info .section__col h4 {
        flex: 0 0 0px;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .hero__content .mask-image {
        width: 100vw;
        mask-size: 81%;
    }

    .section__celebracion img {
        width: 100vw;
    }

    .section__puta-boda, .section__celebracion {
        margin-top: 3rem !important;
    }

    .section__galicia {
        margin-top: 1rem;
    }

    .section__content {
        width: 90vw;
    }
}

