:root {
    font-size: 14px;
    transition: font-size 300ms ease-in-out;

    --nav-height: max(48px, 3rem);
    --content-height: calc(100vh - var(--nav-height));

    --primary-color: #0D1321;
    --secondary-color: #1D2D44;
    --accent: #50789b;

    --text-color: #ceb961;
}

body {
    background-color: var(--primary-color);
    width: 100%;

    position: absolute;
    top: var(--nav-height);

    margin: 0;
    padding: 0;
}

nav {
    position: fixed;
    z-index: 1;

    display: flex;
    align-items: center;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--nav-height);

    background-color: var(--secondary-color);
}

#logo-wrapper {
    height: 100%;
    aspect-ratio: 1;
    
    background-color: var(--accent);
    text-decoration: none;
}

#logo {
    width: 100%;
    height: 100%;

    font-family: 'Times New Roman', Times, serif;
    font-size: 42px;

    position:relative;
    bottom: 5px;
    left: 2px;

    color: white;
    border: none;
}

nav > ul {
    display: flex;
    justify-content: space-evenly;

    margin: 0;
    padding: 0;

    width: 100%;
}

nav > ul > li {
    list-style: none;
}

nav > ul > li > a {
    padding: 5px;
    font-size: 1.1rem;

    color: var(--text-color);
    text-decoration: none;
}

nav > ul > li > a:hover {
    color: var(--accent);
    transition: 0.3s;
}

section {
    height: calc(100vh - var(--nav-height));

    padding: 0;
    margin: 0;
}

article {
    height: calc(var(--content-height) / 2);
}

h1 {
    margin: 0;
    padding: 0;

    font-size: 2rem;
    color: var(--accent);
}

li, p {
    margin: 0;
    padding: 0;

    font-size: 1.5rem;
    color: var(--text-color);
}

hr {
    margin: 0;
    padding: 0;
}

footer {
    height: fit-content;
    align-items: center;
}

footer > p {
    font-size: 1.2rem;
    margin: 2px;
}

@media only screen and (max-width: 800px) {
    :root {
        font-size: 12px;
    }
}

@media only screen and (max-width: 500px) {
    :root {
        font-size: 10px;
    }
}