:root {
    font-family: sans-serif;
    --link-color: #6cb9c9;
    --link-hover-color: #6ceded;
    --body-background-color: #0d001a;
    --header-background-color: #2e0a30;
    --nav-background-color: #4f1446;
    --nav-text-color: #6cb9c9;
    --nav-hover-color: #6f1d5c;
    --wrapper-background-color: #0d001a;
    --text-color: #6d85a5;
    --footer-height: 5vh;
    --footer-gradient: linear-gradient(25deg, #d8828e, #e8b382, #ffff8f, #7be098, #849ad8, #a776c1);
}

.bold {
    font-weight: bold;
    color: var(--nav-text-color);
}

.emphasis {
    font-style: italic;
}

html {
    height: 100%;
}

@font-face {
    font-family: "unscii-16";
    src: url("/assets/fonts/unscii-16.ttf");
}

@font-face {
    font-family: "dejavu";
    src: url("/assets/fonts/DejaVuSans.ttf");
}

@font-face {
    font-family: "dejavu-bold";
    src: url("/assets/fonts/DejaVuSans-Bold.ttf");
}

#titlebar {
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: row;
}

#titlebar h1 {
    flex: 1;
}

#hamburger-icon img {
    width: 48px;
}

nav a {
    display: block;
    font-family: "dejavu", sans-serif;
    color: var(--nav-text-color);
    text-align: center;
    padding: 7px 16px;
    text-decoration: none;
}

nav a:hover {
    background-color: var(--nav-hover-color);
}

#wrapper {
    background-color: var(--wrapper-background-color);
    position: relative;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    /* keeps the wrapper at least the length of the screen */
    height: fit-content;
    display: flex;
    flex-direction: column;
}

#wrapper2 {
    min-height: 95vh;
}

#content {
    margin: 0;
    padding-top: 0;
    padding-left: 1vh;
    padding-right: 1vh;
}

body {
    margin: 0;
    height: 100%;
    background-color: var(--body-background-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    font-family: "dejavu", sans-serif;
}

header {
    margin-top: 0.5%;
    background-color: var(--header-background-color);
    margin-bottom: 1vh;
    border-radius: 10px;
}

.shhhh {
    font-weight: bold;
    color: #DC143C;
    text-decoration: none;
}

.shhhh:hover {
    color: black;
}

nav {
    white-space: nowrap;
    border-radius: 10px;
    list-style-type: none;
    margin-left: .3%;
    margin-right: .3%;
    margin-top: .3%;
    margin-bottom: .3%;
    padding: 0;
    overflow: hidden;
    background-color: var(--nav-background-color);
}

footer {
    align-items: center;
    display: grid;
    grid-auto-flow: row;
    grid-auto-flow: 1fr;
    border-radius: 10px;
    background: var(--footer-gradient);
    bottom: 0;
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
    height: fit-content;
    margin-bottom: 0.5vh;
}

#stamps img {
    max-height: 7vh;
    margin: 0.2vh;
}

p {
    color: var(--text-color);
    font-family: "dejavu", sans-serif;
}

footer p {
    font-family: "unscii-16", sans-serif;
}

footer br {
    margin: 1vh;
}

footer div {
    justify-content: center;
    align-content: center;
    text-align: center;
}

h1 {
    text-align: center;
}

h2,
h3 {
    font-size: 16pt;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

h4 {
    font-size: 14pt;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

ul {
    list-style-type: square;
}

li {
    color: var(--text-color);
    margin-top: 1%;
    margin-bottom: 1%;
    font-family: "dejavu", sans-serif;
}

hr {
    color: #4f1446;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: inherit;
    height: fit-content;
    border-radius: 10px;
    border-color: var(--border-color);
    background-color: var(--header-background-color);
    padding: 1.25vh;
}

.container h2,
h3 {
    margin: 0;
}

.container hr {
    color: var(--social-text-color);
    width: 100%;
}

.tabcontent {
    margin: auto;
}

.grid-container {
    /* creates a 2x2 grid */
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(2, 50%);
}

.horizontal {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

@media (min-width: 768px) {
    .horizontal {
        display: flex;
        flex-direction: row;
    }
}

.small-text {
    font-size: 12pt;
    color: var(--text-color);
}

.italicize {
    font-style: italic;
}

.navlink:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

a:not(.navlink):not(.shhhh) {
    font-style: italic;
    text-decoration: none;
    color: var(--link-color);
}

a:hover:not(.shhhh):not(.navlink) {
    text-decoration: underline;
    color: var(--link-hover-color)
}

@media (min-width:350px) {
    :root {
        --footer-height: 10vh;
    }

    h1 {
        font-size: x-large;
    }

    #hamburger-icon {
        background: none;
        border: none;
    }

    #wrapper {
        width: 95%;
    }

    nav.horizontal {
        display: none;
    }

    nav a {
        font-size: larger;
    }

    p {
        font-size: 10pt;
        margin-top: 3vh;
        margin-bottom: 3vh;
        color: var(--text-color);
        font-family: "dejavu", sans-serif;
    }
}

@media (min-width:850px) {
    :root {
        --footer-height: 5vh;
    }

    #wrapper {
        width: 85%;
    }

    #hamburger-icon {
        display: none;
    }

    nav a {
        margin: 0;
        font-size: medium;
        float: left;
    }

    nav.horizontal {
        display: block;
    }

    p {
        font-size: 13pt;
        margin-top: 1%;
        margin-bottom: 1%;
        color: var(--text-color);
        font-family: "dejavu", sans-serif;
    }
}

@media (min-width:1060px) {
    #wrapper {
        max-width: 60%;
    }

    nav a {
        font-size: larger;
    }

    p {
        font-size: 13pt;
        margin-top: 1%;
        margin-bottom: 1%;
        color: var(--text-color);
        font-family: "dejavu", sans-serif;
    }
}
