@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

@font-face {
    font-family: 'Tobias';
    src: url('fonts/determination-mono.otf') format('opentype');
}

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

:root {
    --primary-color: #85ceff;
    --secondary-color: #34aaff;
    --tertiary-color: #051630;
    --quaternary-color: #ffdd00;
    --primary-font: 'Rubik', sans-serif;
    --secondary-font: 'Tobias', monospace;

    /* Font Sizings */
    --font-size-small: 0.875rem;
    --font-size-medium: 1rem;
    --font-size-large: 1.25rem;
    --font-size-xlarge: 1.5rem;
    --font-size-xxlarge: 2rem;
    
    /* Special Font Sizings */
    --font-size-title: 4rem;
    --font-size-subtitle: 2.5rem;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: var(--primary-font);
    background-color: var(--tertiary-color);
    color: white;

    background-image: url('/res/snowfall.gif');
    background-repeat: repeat-y;
    background-size: 100%;
    background-position: top;
}

.text_container {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 40%;
    padding: 1rem;
    margin: 2rem;

    background-color: #0000006f;
}

.friend_container {
    display: flex;
    flex-direction: row;

    width: 40%;
    padding: 1rem;
    margin: 2rem;

    background-color: #0000006f;

    img {
        display: block;

        width: 100px;
        height: 100px;
        border-radius: 25%;
        margin-right: 1rem;
    }

    h4 {
        font-size: var(--font-size-large);
        color: var(--primary-color);
    }

    .sh4 {
        font-size: var(--font-size-xlarge);
        background: linear-gradient(90deg, #ba6fdd, #a949b6);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 80px;
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;
    flex-shrink: 0;

    font-family: var(--secondary-font);
    font-size: var(--font-size-xlarge);

    background-color: black;

    outline: 2px solid white;

    img {
        display: block;

        width: 50px;
        height: 50px;
        border-radius: 25%;
    }
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 150px;
    width: 100%;
    padding: 1rem;
    margin-top: auto;
    flex-shrink: 0;

    font-family: var(--secondary-font);
    font-size: var(--font-size-xxlarge);

    background-color: black;

    outline: 2px solid white;
}

h1 {
    font-size: var(--font-size-title);
    color: var(--primary-color);
    margin-bottom: 1rem;

    text-align: center;
}

h2 {
    font-size: var(--font-size-subtitle);
    color: var(--secondary-color);

    text-align: center;
}

h3 {
    font-size: var(--font-size-xlarge);
    color: var(--primary-color);

    text-align: center;
}

p {
    font-size: var(--font-size-medium);
    color: white;
}

hr {
    border: 0;
    height: 1px;
    background: white;
    margin: 2rem 0;
    width: 40%;
}

ul {
    display: flex;
    list-style: none;
    gap: 4rem;
    margin-right: 4rem;
}

a {
    text-decoration: none;
    color: white;
    margin-right: 1rem;

    &:hover {
        color: var(--quaternary-color);
    }
}

.menu-toggle {
    display: none;
    z-index: 10;
}

/* put stuff here later type shiiii */
@media (max-width: 768px) {
    
    :root {
        /* Font Sizings */
        --font-size-small: 0.5rem;
        --font-size-medium: 0.75rem;
        --font-size-large: 1rem;
        --font-size-xlarge: 1.25rem;
        --font-size-xxlarge: 1.5rem;
        --font-giant: 3rem;

        /* Special Font Sizings */
        --font-size-title: 2rem;
        --font-size-subtitle: 1.5rem;
    }

    body {
        background-image: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        background: none;
        border: none;
        outline: none;

        font-size: var(--font-giant);
        color: white;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        font-size: var(--font-giant);
    }

    .site-nav.is-open {
        display: flex;
    }

    ul {
        flex-direction: column;
        gap: 2rem;
        margin-right: 0;
    }

    hr {
        width: 80%;
    }

    .text_container, .friend_container {
        width: 80%;
    }

    p {
        font-size: var(--font-size-large);
    }

}