:root {
    --text-color: #565759;
    --alt-text-color: #fff;
    --background-color: #fff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #000;
        --alt-text-color: #565759;
        --text-color: #fff;
    }
}

@font-face {
    font-family: 'Lato';
    src: url('Lato-Light.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    overflow: hidden;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    display: flex;
    flex-direction: column;
    width:  100vw;
    height: 100vh;
    padding: 0;
    margin:  0;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.top {
    margin: 0;
    width: 100vw;
    height: 10vh;
    min-height: 82px;
}

.middle {
    display: flex;
    flex-direction: row;
    margin: 0;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
}

.bottom {
    position: fixed;
    bottom: 0px;
    margin: 0;
    width: 100vw;
    height: 10vh;
    min-height: 82px;
}

.noBottom {
    margin-bottom: 0px;
}

.title {
    margin-left: 5vw;
}

.slide {
    width: 100vw;
    height: 90vh;
    padding-left: 5vw;
    padding-right: 5vw;
    vertical-align: middle;
}

.grid {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: .5fr 1fr;
    align-content: space-around;
}

.flex {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.subtext {
    font-size: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

h1 {
    font-size: min(max(10vw, 100px), 90vh);
    font-weight: normal;
    font-family: 'Lato', sans-serif;
    margin-top: 0px;
    margin-bottom: 0px;
}

.headerMod {
    font-size: min(max(10vw, 100px), 10vh);
}

.nav {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 10vh;
    min-height: 82px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

p {
    font-size: min(max(14px, 30px), 2vh);
}

a {
    color: var(--text-color);
}

.navButton {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10vw;
    min-width: 80px;
    height: 10vh;
    min-height: 82px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition-duration: 0.5s;
    background-color: transparent;
}

.navButton:hover {
    background-color: var(--text-color);
    color: var(--alt-text-color);
    cursor: pointer;
}

.navSpacer {
    width: 2.5vw;
}

.fadeIn {
    opacity: 0;
    animation: fadeIn 1s;
    animation-fill-mode: forwards;
}

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }