/* ----- GLOBAL ----- */

* {
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 300;
    font-variant-numeric: lining-nums;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

:root {
    /* Personal brand */
    --red: rgb(255,16,48);
    --gold: rgb(200,150,100);
    --gold-light: rgb(225,175,75);
    --black: rgb(16,16,24);
    --offwhite: rgb(240,243,245);
    --light: 200;
    --bold: 700;

    /* CoSIDI */
    --CoSIDI-blue: rgb(2,54,91);

    /* DEU brand colors */
    --NRW-darkblue: #183a91;
    --NRW-lightblue: #53a0cb;

    /* DSU brand colors */
    --DSU-blue: #4267AF;
    --DSU-darkblue: #2a3978;
    --DSU-gold: #8D734A;
    --DSU-red: #E30709;

    /* Nordics & Nordics Open */
    --Nordics-blue: #2497D3;

    /* TSK */
    --TSK: #344BAE;
}

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

body {
    animation: fadeIn 0.5s cubic-bezier(0.5, 0, 0.5, 1) 0s forwards;
    background-color: var(--black);
    opacity: 0;
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

#wrapper {
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100dvh;
    width: 100dvw;
}

img {
    pointer-events: none;
    -webkit-touch-callout: none;
}

/* ----- TYPOGRAPHY ----- */

@font-face {
    font-family: 'Histeagin';
    src: url("/resources/font/histeagin_licensed.woff") format("woff");
}

h1 {
    color: var(--offwhite);
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    line-height: 1;
}

h2 {
    color: var(--offwhite);
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 2vw, 3vw);
    line-height: 1;
}

h3 {
    color: var(--offwhite);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 1.5vw, 2vw);
    line-height: 1;
}

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 1,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24
}

strong {font-weight: var(--bold);}

/* ----- NAVIGATION ----- */

nav {
    align-items: flex-end;
    -webkit-backdrop-filter: blur(2rem);
    backdrop-filter: blur(2rem);
    background-color: rgba(16,16,24,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 4rem;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 1s cubic-bezier(0.5, 0, 0.5, 1);
    transform: translateX(-100%);
    height: 100dvh;
    width: 50dvw;
    z-index: 100;
}

nav.open {transform: translateX(0);}

    nav #closeMenu {
        align-items: center;
        background: linear-gradient(to bottom, transparent 50%, var(--offwhite) 50%) no-repeat center top / 100% 200%;
        border: 1px solid var(--offwhite);
        color: var(--offwhite);
        cursor: pointer;
        display: flex;
        justify-content: center;
        height: 3rem;
        width: 3rem;
        position: absolute;
        transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1);
        top: 4rem;
        right: 4rem;
    }

    nav #closeMenu:hover {
        background-position: center bottom;
        color: var(--black);
    }

    nav a {
        color: var(--offwhite);
        font-family: 'Playfair Display', serif;
        font-weight: 100;
        font-size: 1.5rem;
        line-height: 1;
        opacity: 0.5;
        text-align: right;
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.5, 0, 0.5, 1);
    }

    nav a:hover {opacity: 1;}

    nav a.donate {
        background-color: var(--gold);
        border-radius: 2rem;
        opacity: 1;
        padding: 0.5rem 1rem;
    }

    nav a.donate:hover {color: var(--black);}

/* ----- HEADER ----- */

header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding: 4rem;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    z-index: 99;
}

    header button {
        background: none;
        border: none;
        border-radius: 0;
        color: var(--offwhite);
        cursor: pointer;
        display: block;
        pointer-events: initial;
    }

    header.dark button {color: var(--black);}

        header button img {
            display: block;
            height: 3rem;
            transition: all 0.25s cubic-bezier(0.5, 0, 0.5, 1);
        }

        header button:hover img {opacity: 0.5;}

/* ----- FOOTER ----- */

footer {
    align-items: center;
    background-color: black;
    color: rgba(240,243,245,0.5);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    justify-content: space-between;
    padding: 1rem;
}

    footer #SoMe {
        display: flex;
        gap: 1rem;
        pointer-events: initial;
    }

        footer #SoMe a {
            align-items: center;
            aspect-ratio: 1 / 1;
            background-color: transparent;
            display: flex;
            justify-content: center;
            text-decoration: none;
            transition: all 0.25s cubic-bezier(0.5, 0, 0.5, 1);
        }

            footer #SoMe a svg {
                display: block;
                height: 1.5rem;
            }

                footer #SoMe a svg path,
                footer #SoMe a svg circle,
                footer #SoMe a svg rect {
                    fill: rgba(240,243,245,0.5);
                    transition: all 0.25s cubic-bezier(0.5, 0, 0.5, 1);
                }

                footer #SoMe a:hover svg path,
                footer #SoMe a:hover svg circle,
                footer #SoMe a:hover svg rect {fill: var(--offwhite);}