* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212;
    color: #dddddd;
    font-family: "PT Sans", Arial, sans-serif;
}

body * {
    background-color: inherit;
    color: inherit;
}

/* pt-sans-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/static/fonts/pt-sans-v17-latin-regular.woff2') format('woff2');
}

/* freeman-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Freeman';
    font-style: normal;
    font-weight: 400;
    src: url('/static/fonts/freeman-v1-latin-regular.woff2') format('woff2');
}

h1, h2, h3, h4, h5, h6, article a, nav a {
    font-family: "Freeman", Arial, sans-serif;
}

img {
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

#wrapper {
    min-height: calc(100vh - 156px);
}

nav {
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    background-color: #202020;
}

#nav_container {
    width: 50%;
    height: 50px;
    margin: 0 auto;
}

nav a {
    display: block;
    height: 50px;
    width: calc(100%/3);
    float: left;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
}

nav a:hover {
    opacity: 0.8;
}

.focus {
    color: #7fbfff;
}

main {
    clear: both;
    margin: 100px auto;
    width: 80%;
}

footer {
    height: 56px;
    width: 100%;
    float: left;
    text-align: center;
    background-color: #202020;
}

footer div {
    width: fit-content;
    margin: 0 auto;
}

footer svg {
    float: left;
    display: block;
    height: 40px;
    width: auto;
    margin: 5px 10px;
}

@media (orientation:portrait) and (max-width:1080px) {
    nav {
        font-size: 20pt;
    }

    #nav_container {
        width: 80%;
    }

    main {
        margin: 70px auto;
    }

    footer {
        height: 86px;
    }

    footer svg {
        height: 60px;
        margin: 10px 20px;
    }
}