:root {
    --fg: #453e1f;
    --bg: #fafada;
    --accent: #ffc50f;
}

@font-face {
    font-family: Schoolbell;
    src: url(/assets/schoolbell.woff2) format(woff2);
    font-display: swap;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
    color: var(--fg);
    background-color: var(--bg);
}
nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 100%;
    font-family: Schoolbell, Arial, Helvetica, sans-serif;
}

nav > div {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    min-width: 100%;
    border-bottom: 2px var(--fg) solid;
    font-size: 20px;
    align-items: center;
}

nav > div > * {
    margin: 0;
}

nav > .titlebar {
    justify-content: center;
    gap: 25px;
    color: var(--accent);
}

nav > .titlebar > .title {
    display: flex;
    justify-content: center;
    gap: 15px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

main {
    padding-top: 1.5rem;
    max-width: 80ch;
    margin-left: 5px;
    margin-right: 5px;
    width: calc(100% - 10px);
    display: flex;
    flex-direction: column;
}

main > img {
    align-self: center;
    max-width: 85%;
}

@media screen and (max-width: 350px) {
    nav > .links {
        flex-direction: column;
        gap: 5px;
    }
}

@media screen and (max-width: 380px) {
    nav > .titlebar {
        font-size: 16px;
    }
}