/*
File: /css/donate.css
*/


* {
    box-sizing: border-box;
}


:root {
    --cream: #fffaf1;
    --paper: #fffdf8;
    --red: #c92f2f;
    --red-dark: #982323;
    --green: #446b46;
    --green-dark: #2f4c31;
    --gold: #d6a94d;
    --ink: #292722;
    --muted: #716d64;
    --border: rgba(48, 42, 32, .14);
    --shadow: 0 10px 32px rgba(55, 43, 28, .12);
    --radius: 18px;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    color:
        var(--ink);

    background:
        #d8cbb8;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


a {
    color:
        inherit;
}


button,
input {
    font:
        inherit;
}


.siteShell {
    width:
        min(
            1500px,
            calc(100% - 28px)
        );

    margin:
        0 auto;
}


/*
=========================================================
HEADER
=========================================================
*/

.siteHeader {
    position:
        relative;

    overflow:
        hidden;

    padding:
        18px 0 14px;

    background:
        linear-gradient(
            135deg,
            #1f1b19,
            #2a211f 58%,
            #7d2525 145%
        );
}


.siteHeader::before {
    content:
        "";

    position:
        absolute;

    width:
        520px;

    height:
        520px;

    right:
        4%;

    top:
        -350px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .08
        );

    border-radius:
        50%;

    box-shadow:
        0 0 0 60px
        rgba(
            255,
            255,
            255,
            .025
        ),
        0 0 0 120px
        rgba(
            255,
            255,
            255,
            .018
        );
}


.headerTop {
    position:
        relative;

    z-index:
        1;

    display:
        flex;

    align-items:
        center;

    gap:
        18px;
}


.brand {
    flex:
        1;

    min-width:
        0;
}


.brandName {
    margin:
        0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            2rem,
            5vw,
            4.2rem
        );

    line-height:
        .92;

    letter-spacing:
        -2px;
}


.brandName a {
    display:
        inline-block;

    text-decoration:
        none;
}


.brandMain {
    color:
        #fff;
}


.brandNoAds {
    color:
        #e43a3a;
}


.brandTagline {
    margin-top:
        8px;

    color:
        #d8cec5;

    font-size:
        clamp(
            .9rem,
            2vw,
            1.05rem
        );
}


.accountButton {
    display:
        inline-block;

    padding:
        10px 16px;

    border:
        1px solid
        var(--border);

    border-radius:
        999px;

    background:
        var(--paper);

    box-shadow:
        0 4px 14px
        rgba(
            0,
            0,
            0,
            .06
        );

    font-weight:
        800;

    white-space:
        nowrap;

    text-decoration:
        none;

    cursor:
        pointer;
}


/*
=========================================================
NAVIGATION
=========================================================
*/

.mainNav {
    position:
        sticky;

    top:
        0;

    z-index:
        20;

    background:
        #f8f3eb;

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        rgba(
            0,
            0,
            0,
            .12
        );

    backdrop-filter:
        blur(12px);
}


.navInner {
    display:
        flex;

    align-items:
        center;

    gap:
        4px;

    overflow-x:
        auto;

    scrollbar-width:
        none;
}


.navInner::-webkit-scrollbar {
    display:
        none;
}


.navInner a {
    padding:
        13px 15px;

    border-radius:
        9px;

    font-size:
        .92rem;

    font-weight:
        800;

    white-space:
        nowrap;

    text-decoration:
        none;
}


.navInner a:hover {
    background:
        rgba(
            201,
            47,
            47,
            .08
        );

    color:
        var(--red);
}


/*
=========================================================
MAIN
=========================================================
*/

.donateMain {
    padding-top:
        12px;

    padding-bottom:
        20px;
}


/*
=========================================================
DONATION HERO
=========================================================
*/

.donateHero {
    min-height: 390px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 470px;

    align-items: center;

    overflow: hidden;

    border-radius: 26px;

    background:
        linear-gradient(
            115deg,
            rgba(35, 28, 18, .88),
            rgba(35, 28, 18, .48)
        ),
        linear-gradient(
            145deg,
            #985d32,
            #d8a466
        );

    box-shadow: var(--shadow);

    color: #fff;
}


.donateHeroContent {
    align-self: center;
    justify-self: center;

    width: 100%;
    max-width: 820px;

    padding: 34px 42px;

    text-align: center;
}


.heroEyebrow {
    color:
        #ffe6a8;

    font-size:
        .78rem;

    font-weight:
        900;

    letter-spacing:
        2px;

    text-transform:
        uppercase;
}


.heroTitle {
    max-width:
        760px;

    margin:
        6px 0 12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            2.45rem,
            5vw,
            4.4rem
        );

    line-height:
        .92;

    letter-spacing:
        -3px;
}


.heroText {
    max-width:
        680px;

    margin:
        0;

    color:
        #fff;

    font-size:
        clamp(
            .95rem,
            2.2vw,
            1.18rem
        );

    line-height:
        1.5;
}


.heroTextSecondary {
    margin-top:
        14px;

    color:
        #eee2d4;
}


.donateHeroSide {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 20px;
}


/*
=========================================================
PAYPAL CARD
=========================================================
*/

.donateCard {
    width:
        100%;

    max-width:
        470px;

    padding:
        20px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .35
        );

    border-radius:
        20px;

    background:
        rgba(
            255,
            255,
            255,
            .96
        );

    color:
        var(--ink);

    box-shadow:
        0 15px 40px
        rgba(
            0,
            0,
            0,
            .18
        );
}


.donateCard h3 {
    margin:
        0 0 7px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        1.55rem;
}


.donateCardIntro {
    margin:
        0 0 18px;

    color:
        var(--muted);

    line-height:
        1.45;
}


.paypalContainer {
    min-height:
        270px;
}


.donationNote {
    margin-top:
        14px;

    padding-top:
        13px;

    border-top:
        1px solid
        var(--border);

    color:
        var(--muted);

    font-size:
        .8rem;

    line-height:
        1.45;
}


/*
=========================================================
SECTIONS
=========================================================
*/

.section {
    margin-top:
        24px;
}


.sectionHeading {
    display:
        flex;

    align-items:
        end;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        14px;
}


.sectionTitle {
    margin:
        0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.8rem
        );
}


.sectionSubtitle {
    margin-top:
        5px;

    color:
        var(--muted);
}


/*
=========================================================
SUPPORT CARDS
=========================================================
*/

.supportGrid {
    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap:
        16px;
}


.supportCard {
    min-height:
        155px;

    padding:
        20px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    background:
        var(--paper);

    box-shadow:
        0 5px 20px
        rgba(
            50,
            40,
            30,
            .06
        );
}


.supportIcon {
    font-size:
        2rem;
}


.supportTitle {
    margin-top:
        9px;

    font-size:
        1.15rem;

    font-weight:
        900;
}


.supportText {
    margin-top:
        6px;

    color:
        var(--muted);

    font-size:
        .92rem;

    line-height:
        1.45;
}


/*
=========================================================
FOOTER
=========================================================
*/

footer {
    margin-top:
        24px;

    background:
        #292722;

    color:
        #eee7db;
}


.footerInner {
    width:
        min(
            1500px,
            calc(100% - 28px)
        );

    margin:
        auto;

    padding:
        20px 0;

    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        space-between;

    gap:
        15px;
}


.version {
    color:
        #aaa39a;

    font-size:
        .8rem;
}

.heroTitle,
.heroText {
    margin-left: auto;
    margin-right: auto;
}

.donateCard {
    text-align: center;
}

.donateCardIntro {
    margin-left: auto;
    margin-right: auto;
}

.paypalContainer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.donationNote {
    text-align: center;
}

/*
=========================================================
TABLET
=========================================================
*/

@media (
    max-width: 1000px
) {

    .donateHero {
        grid-template-columns:
            1fr;
    }


    .donateHeroSide {
        padding-top:
            0;
    }


    .supportGrid {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }

}


/*
=========================================================
PHONE
=========================================================
*/

@media (
    max-width: 650px
) {

    .siteShell {
        width:
            min(
                100% - 18px,
                1500px
            );
    }


    .siteHeader {
        padding:
            12px 0 10px;
    }


    .headerTop {
        align-items:
            flex-start;
    }


    .accountButton {
        padding:
            8px 11px;

        font-size:
            .8rem;
    }


    .brandName {
        letter-spacing:
            -1px;
    }


    .donateHero {
        min-height:
            0;

        margin-top:
            10px;

        border-radius:
            18px;
    }


    .donateHeroContent {
        padding:
            24px 20px;
    }


    .heroTitle {
        font-size:
            clamp(
                2.35rem,
                11vw,
                3.5rem
            );

        letter-spacing:
            -2px;
    }


    .donateHeroSide {
        padding:
            0 15px 15px;
    }


    .donateCard {
        border-radius:
            16px;
    }


    .supportGrid {
        grid-template-columns:
            1fr;
    }


    .sectionHeading {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            4px;
    }

}