/* Audrey Text */
@font-face {
    font-family: "audreytext";
    src: url('assets/fonts/AudreyText-RegularWEB.woff2') format('woff2'),
         url('assets/fonts/AudreyText-RegularWEB.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "audreytext";
    src: url('assets/fonts/AudreyText-ItalicWEB.woff2') format('woff2'),
         url('assets/fonts/AudreyText-ItalicWEB.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "audreytext";
    src: url('assets/fonts/AudreyText-BoldWEB.woff2') format('woff2'),
         url('assets/fonts/AudreyText-BoldWEB.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "audreytext";
    src: url('assets/fonts/AudreyText-BoldItalicWEB.woff2') format('woff2'),
         url('assets/fonts/AudreyText-BoldItalicWEB.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

/* Audrey Display */
@font-face {
    font-family: "audreydisplay";
    src: url('assets/fonts/AudreyDisplay-BoldWEB.woff2') format('woff2'),
         url('assets/fonts/AudreyDisplay-BoldWEB.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "audreydisplay";
    src: url('assets/fonts/AudreyDisplay-BoldItalicWEB.woff2') format('woff2'),
         url('assets/fonts/AudreyDisplay-BoldItalicWEB.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

:root {
    --primary-soft-white: #FFFDE9;
    --primary-dark: #1F1F1F;
    --primary-red: #DB0007;
    --primary-red-h: #BE0006;
    --secondary-aqua: #8EE7F8;
    --secondary-lavender: #D0C9FF;
    --secondary-gold: #FFBC0D;
    --secondary-gold-h: #ebaa06;
    --font-text: "audreytext", sans-serif;
    --font-display: "audreydisplay", sans-serif;
}

html {
    background-color: #000;
    scroll-behavior: smooth;
}

body {
    padding: 0;
    font-family: var(--font-text);
    position: relative;
    max-width: 120rem;
    margin: auto;
}

::selection {
    background-color: #C3482C;
    color: white;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-family: var(--font-display);
}

p {
    margin: 0;
    padding: 0;
}

path {
    transition: 0.2s ease-in-out;
}

.header--container {
    padding: 2.25rem 3.75rem 1.375rem 3.75rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: -webkit-fill-available;
    z-index: 1;
}

footer {
    background: var(--secondary-lavender);
    padding: 2rem 3.75rem 3rem 3.75rem;
    color: #FFF;
}

footer .charity-number {
    display: block;
    margin-top: 1rem;
}

footer .d-flex {
    justify-content: space-between;
    gap: 1.5rem;
}

footer img {
    margin-right: 1.5rem;
}

footer h2 {
    margin-bottom: 0.25rem;
    color: #000;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 133%;
    text-transform: uppercase;
}

footer p {
    color: #000;
    font-family: var(--font-text);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 133%;
    letter-spacing: -0.01rem;
}

footer .copy {
    font-size: 0.875rem;
    margin: auto;
    color: #000;
}

.copy-mobile p {
    margin-bottom: 1rem;
}

footer .logo-section {
    display: flex;
    flex-direction: row;
    align-items: end;
}

footer .socials-section {
    width: 100%;
    max-width: 48.125rem;
}

footer .socials {
    display: flex;
    flex-direction: row;
    margin-top: 1.5rem;
    gap: 1rem;
}

footer .socials svg {
    fill: #000;
    width: 1.375rem;
    height: 1.375rem;
}

.btn {
    position: relative;
    z-index: 1;
    color: var(--primary-soft-white);
    height: fit-content;
    border-radius: 0.5rem;
    padding: 1rem 2rem 1rem 2rem;
    background: var(--primary-red);
    text-align: center;
    font-family: var(--font-text);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 92%;
    letter-spacing: -0.18px;
    display: inline-block;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    min-width: 10rem;
}

.btn.has-donate-icon img,
.btn.mobile img  {
    transform: translate(8px, 2px);
}

.btn.light {
    background-color: #F7E5B9;
    color: #3F4A47;
}

.btn.dark {
    background: rgba(0,0,0,0);
    border: 2px solid #F7E5B94D;
    color: #F7E5B9;
}

.btn.blue {
    background-color: #9CBDD1;
    color: #3F4A47;
    position: relative;
    z-index: 1;
}

.btn.blue:hover {
    background-color: #FFF;
}

.btn.dark:hover {
    background: #E8E0D940;
}

.btn.fit {
    min-width: fit-content;
}

.btn:hover {
    cursor: pointer;
    background-color: var(--primary-red-h);
}

.btn.mobile {
    background: var(--primary-red);
    transition: 0.2s ease-in-out;
    display: none;
    z-index: 9;
    width: -webkit-fill-available;
    margin: 0 1rem
}

.btn.mobile svg {
    display: none;
    width: 1.5rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    aspect-ratio: 6/5;
    transform: translateY(2px);
}

.btn.mobile:hover {
    color: #FFF;
    background-color: var(--primary-red-h);
}

.wpcf7 p {
    margin-bottom: 1rem;
}

.wpcf7-list-item {
    margin: 0;
}

.d-flex {
    display: flex;
    flex-direction: row;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.overlay.show {
    visibility: visible;
    opacity: 1;
    z-index: 999;
}

.scroll-top {
    width: 8.25rem;
    height: 6.25rem;
    position: fixed;
    top: 5.125rem;
    right: calc(((100vw - min(120rem, 100vw)) / 2) + 8.25rem);
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    z-index: 11;
    transition: 0.3s ease-in-out;
}

.scroll-top p {
    transform: translateY(-4px);
}

@keyframes heartbeat {
    0%    { transform: scale(1); }
    2.5%  { transform: scale(1.08); }
    5%    { transform: scale(1); }
    7.5%  { transform: scale(1.10); }
    10%   { transform: scale(1); }
    100%  { transform: scale(1); }
}

.scroll-top svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    animation: heartbeat 11s ease-in-out infinite;
}

.scroll-top path {
    fill: var(--primary-red);
    transition: 0.2s ease-in-out;
}

.scroll-top--text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 95%;
}

.scroll-top .small {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 95%;
    letter-spacing: -0.24px;
}

.scroll-top:hover {
    transform: scale(1.06);
}

.mobile-responsive {
    display: none;
}

.desktop-responsive {
    display: inline-block;
}

@media(max-width:48em) {
    .header--container { 
        padding-top: 3.5rem;
    }
    .header--container::after {
        content: '';
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: linear-gradient(0deg, transparent 60%, #000);
        position: absolute;
        z-index: 1;
    }

    .header--container a {
        position: relative;
        z-index: 2;
    }

    .mobile-responsive {
        display: block;
    }

    .desktop-responsive {
        display: none;
    }

    .header--container {
        justify-content: center;
    }

    .header--container .btn {
        display: none;
    }

    .hero .hero--buttons {
        flex-direction: column;
    }

    .overlay {
        overflow: scroll;
    }

    .btn {
        min-width: -webkit-fill-available;
    }

    .btn.mobile {
        color: #FFF;
        position: fixed;
        display: block;
        bottom: 1.875rem;
    }

    .btn.mobile svg {
        display: inline-block;
    }

    .scroll-top {
        display: none;
    }

    footer {
        padding: 2rem 1.875rem 3rem 1.875rem;
    }

    footer .logo-section {
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }

    footer .copy {
        text-align: center;
    }

    footer .socials-section {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    footer img {
        margin-bottom: 0;
        margin-right: 0;
    }

    footer .d-flex {
        gap: 0.875rem;
        flex-direction: column;
        align-items: start;
    }
}

@media(max-width:30em) {
    footer {
        text-align: center;
    }

    footer .logo-section {
        align-items: center;
    }

    footer .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    footer .socials {
        justify-content: center;
    }

    footer .copy {
        margin-top: -1rem;
    }
}