html {
    background-color: #000022;
    font-size: min(8vw, 5vh);
    font-family: 'Courier New', Courier, monospace;
    font-style: bold;
    margin: 0;
}

body {
    margin: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.title {
    flex: 2;
    animation: fade-in 2s ease-out 1s 1 forwards;
    animation-fill-mode: both;
    font-size: 1.6rem;
    text-align: center;
    position: absolute;
    z-index: 1;
    height: 30vh;
    width: 100vw;
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    opacity: 1;
}

.nav-container {
    flex: 3;
    text-align: center;
    position: absolute;
    z-index: 1;
    width: 100vw;
    height: 50vh;
    bottom: 0;
    display: flex;
    flex-direction: row;
}

.navigation {
    flex: 1;
    height: 100%;
    padding: 2%;
    align-self: flex-end;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

@keyframes float-left {
    0% {
        margin-left: 100vw;
        margin-right: -100vw;
    }
    100% {
        margin-left: 0;
        margin-right: 0;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.selection {
    animation: float-left 1.5s ease-out;
    animation-delay: calc(var(--anim-delay) * 1s);
    animation-fill-mode: both;
    position: relative;
    color: #50d450;
    z-index: 1;
    padding: 0.6rem;
    background-color: #101e33;
    width: 10rem;
    border-radius: 0.25rem;
    margin-left: 0;
    margin-right: 0;
}

.selection:hover {
    background-color: #000000;
    cursor: pointer;
}