:root {
    --bg-top: #D6FFF6;
    --bg-bottom: #AFC7BA;
    --black: #000000;
    --white: #FFFFFF;
    --maroon: #760D17;

    --menu: 24px;
    --def: 16px;
    --h1: 32px;
    --h2: 24px;
}

::selection {
    background: var(--maroon);
    color: var(--bg-top);
}

::-moz-selection {
    background: var(--maroon);
    color: var(--bg-top);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--def);
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    background: linear-gradient(
        var(--bg-top) 0%,
        var(--bg-bottom) 100%
    );
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0px;
    padding: 0px;
    font-family:
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.6;
    background-attachment: fixed;
    background-size: cover;
}

body.nav-locked {
    overflow: hidden;
}

body.nav-locked #btn-mobile {
    border-radius: 25px;
    padding: 12px;
    margin-left: 9px;
    margin-bottom: 5px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-style: solid;
    border-color: #FFFFFF51;
    border-width: 3px;
    font-size: inherit;
    width: fit-content;
    height: fit-content;
}

body.nav-locked #btn-mobile > img {
    width: 32px;
    height: 32px;
}

body.nav-locked #btn-mobile {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1000;
}

p {
    color: var(--black);
    margin-bottom: 20px;
    font-size: var(--def);
    font-family:
        "Platypi",
        Calibri,
        'Open Sans',
        sans-serif;
}

h1 {
    color: var(--maroon);
    font-weight: bold;
    font-size: var(--h1);
}

h2 {
    color: var(--maroon);
    font-size: var(--h2);
}

h3 {
    color: black;
    font-style: italic;
}

h1, h2, h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

h4 {
    font-size: 45px;
    margin: 0px;
    padding: 0px;
    height: 50px;
}

header {
    position: relative;
    z-index: 800;
    background-color: var(--maroon);
    border-radius: 0px 0px 64px 64px;
    min-height: 175px;
    height: fit-content;
}

#logos {
    height: 0px;
    position: relative;
    z-index: 500;
}

#logo {
    width: 256px;
    margin-left: 32px;
    margin-top: 32px;
    margin-bottom: 32px;
}

#logo_small {
    width: 0px;
}

nav {
    float: right;
    margin-top: 55px;
    margin-right: 25px;
    display: flex;
    flex-direction: row;
    font-family:
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;
    font-size: var(--menu);
    font-weight: bold;
    position: relative;
    z-index: 999;
}

nav a {
    border-radius: 25px;
    padding: 12px;
    margin-left: 9px;
    margin-bottom: 5px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-style: solid;
    border-color: #FFFFFF00;
    border-width: 3px;
}

nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 12vh 0px 6vh 0px;
    background-color: #000000CC;
    overflow-y: auto;
}

nav.mobile-open a {
    display: flex;
    width: 80%;
    height: 10vh;
    max-width: none;
    box-sizing: border-box;

    border-radius: 0px;
    padding: 18px 20px; 
    margin-bottom: 0px;

    border: none;
    font-size: 20px;
}

nav.mobile-open #btn-home {
    background: linear-gradient(
        90deg,
        #FFF20000 0%,
        #E6C81699 50%,
        #CC9F2C00 100%
    );
}

nav.mobile-open #btn-contact {
    background: linear-gradient(
        90deg,
        #00FFC800 0%,
        #16E39E99 50%,
        #2CC77500 100%
    );
}

nav.mobile-open a img {
    width: 32px;
    height: 32px;
}

nav a:hover {text-decoration: underline;}

nav a img {
    width: 32px;
    height: 32px;
    margin-right: 9px;
}

#btn-mobile {
    width: 0px;
    height: 0px;
    font-size: 0px;
    padding: 0px;
    border-width: 0px;
    margin: 0px;
}

#btn-mobile img {
    width: 0px;
    height: 0px;
}

#btn-home:hover {
    border-color: #CC9F2C51;
    color: #FFF200;
}

#btn-contact:hover {
    border-color: #2CC77551;
    color: #00FFC8;
}

#btn-mobile:hover {
    border-color: #760D1751;
    color: var(--black);
    text-decoration: underline;
    cursor: pointer;
}

footer {
    position: relative;
    height: 10vh;
    background-color: var(--maroon);
    border-radius: 64px 64px 0px 0px;
    font-family:
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;
    font-size: var(--menu);
    font-weight: bold;
    color: var(--white);
    padding: 0px 64px 0px 64px;
    place-content: center;
}

#copyright {
    float: left;
    max-width: 64vw;
}

#law {
    float: right;
}

#law a {
    color: var(--white);
}

#law a:hover {
    color: var(--bg-bottom);
}

#contact {
    width: 80vw;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 80px;
}

#contact > h1 {
    margin: 0;
    text-align: center;
    color: var(--maroon);
    font-size: var(--h1);
    font-weight: bold;
}

.intro {
    margin-top: 20px;
    margin-bottom: 45px;
    text-align: center;
    font-size: var(--def);
    font-weight: bold;
}

#contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 50px;
    font-size: var(--menu);
    font-weight: bold;
}

.contact-item {
    min-height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    gap: 24px;
}

.contact-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 24px;
    row-gap: 2px;
}

.contact-content a {
    color: var(--black);
    text-decoration: underline;
    overflow-wrap: break-word;
}

.contact-content a:hover {
    color: var(--maroon);
}

.contact-label {
    font-size: var(--menu);
}

#tax-section {
    margin-top: 28px;
    text-align: center;
}

hr {
    width: 80vw;
    height: 5px;
    margin: 36px;
    background-color: var(--maroon);
    border-radius: 10px;
}

#tax-section h2 {
    margin: 0 0 18px 0;
    font-size: var(--h2);
    font-weight: bold;
}

#tax-section p {
    margin-bottom: 18px;
    font-size: var(--def);
    font-weight: bold;
}

#tax-number, #organization-name {
    display: block;
    color: var(--black);
    font-size: var(--h2);
    font-weight: bold;
    text-decoration: underline;
}

#organization-name {
    margin-top: 18px;
}

@media (max-width: 1560px) {
    nav {
        margin-top: 25px;
        flex-direction: column;
        flex-wrap: wrap;
        height: 150px;
    }
}

@media (max-width: 1000px) {
    #logo {
        width: 0px;
        margin-left: 0px;
        margin-top: 0px;
    }

    #logo_small {
        width: 128px;
        margin-left: 16px;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    #copyright {
        float: left;
        max-width: 55vw;
    }

    #contact {
        width: 80vw;
    }

    #contact-grid {
        column-gap: 35px;
    }

    #contact-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        font-size: var(--def);
    }

    #contact-grid > .contact-item:last-child {
        grid-column: 1;
    }

    #contact-icon, #contact-icon > img {
        width: 32px;
        height: 32px;
    }
    
    .contact-label {
        font-size: var(--def);
    }

}

@media (max-width: 800px) {
    nav a {
        border-radius: 0px;
        padding: 0px;
        margin: 0px;
        border-style: solid;
        border-color: #FFFFFF00;
        border-width: 0px;
        height: 0px;
        width: 0px;
        font-size: 0px;
    }

    nav a img {
        height: 0px;
        width: 0px;
    }

    #btn-mobile {
        border-radius: 25px;
        padding: 12px;
        margin-left: 9px;
        margin-bottom: 5px;
        color: var(--white);
        text-decoration: none;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-style: solid;
        border-color: #FFFFFF51;
        border-width: 3px;
        font-size: inherit;
        width: fit-content;
        height: fit-content;
    }

    #btn-mobile img {
        width: 32px;
        height: 32px;
    }

    nav.mobile-open #btn-mobile {
        position: fixed;
        top: 25px;
        right: 25px;
        z-index: 1000;
    }

    footer {
        height: 20vh;
        text-align: center;
    }

    footer span {display: inline-block;}

    #copyright {
        float: none;
        max-width: 100vw;
    }

    #law {
        float: none;
        margin-top: 12px;
    }

    #contact {
        width: 90vw;
        padding-top: 35px;
        padding-bottom: 60px;
        font-size: var(--def);
    }

    .intro {
        margin-bottom: 35px;
    }

    #contact-grid {
        gap: 24px;
    }

    .contact-item {
        align-items: flex-start;
    }

    .contact-content {
        flex-direction: column;
        gap: 3px;
    }

    #tax-section {
        margin-top: 35px;
    }
}

@keyframes saxFadeIn {
    from {
        opacity: 0;
        transform: translateY(-45px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes saxFadeInSoft {
    from { opacity: 0; }
    to { opacity: 1; }
}

body > header,
body > main,
body > footer {
    animation: saxFadeIn 700ms ease-out both;
}

body > header { animation-delay: 80ms; }
body > main { animation-delay: 220ms; }
body > footer { animation-delay: 360ms; }

body > main > * {
    animation: saxFadeInSoft 600ms ease-out both;
    animation-delay: 320ms;
}




header #logos,
header nav {
    animation: saxFadeIn 550ms ease-out both;
}

header #logos { animation-delay: 180ms; }
header nav { animation-delay: 280ms; }

nav.mobile-open { animation: none; }

@media (prefers-reduced-motion: reduce) {
    body > header,
    body > main,
    body > footer,
    body > main > *,
    header #logos,
    header nav {
        animation: none;
    }
}

@keyframes saxMenuSlideUp {
    from {
        opacity: 0;
        transform: translateY(0px);
    }
    to {
        opacity: 1;
        transform: translateY(-45);
    }
}

@keyframes saxMenuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-45px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



header nav {
    animation: saxMenuSlideDown 650ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

nav.mobile-open {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    header nav {
        animation: none;
    }
}
