@font-face {
    font-family: 'RatProportional';
    src: url('fonts/rat-proportional.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Comicoro';
    src: url('fonts/Comicoro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ModernTypewriter';
    src: url('fonts/MODERN TYPEWRITER.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pirkkala';
    src: url('fonts/pirkkala.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Island';
    src: url('fonts/SMW2-Yoshis-Island.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gibberesque';
    src: url('fonts/Gibberesque.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mitochondria';
    src: url('fonts/Mitochondria.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    background-color: black;
    font-size: clamp(1vh, 2.5vh, 3vw);
    background-image: url("bubbles_alt.gif");
    background-size: 10em;
}

body #main-container {
    margin: 10vh clamp(1vh, 1vw, 1vh);
    min-width: 10vw;
    max-width: 90vw;
    border: black dotted 1px;
    border-radius: 1rem 1rem 0 0;
}

nav {
    display: grid;
    grid-template-columns: repeat(3, 2em);
    justify-content: space-evenly;
    align-items: center;
    height: 2em;
    width: 30em;
    color: white;
    font-family: "Pirkkala", serif;
    background-color: #0f0f1c;
    border: #fdfdf8 dotted 2px;
    border-radius: 1rem 1rem 0 0;
}

nav > a {
    text-align: center;
    color: #60e851;
    font-size: 0.75em;
    font-family: "Pirkkala", serif;
    text-decoration: none;
    transform: rotateZ(-12deg);
}

nav #name {
    color: #fdfdf8;
    font-size: 1em;
    text-shadow: #ff4f4f 0 0 0;
    transform: translateY(0.15em);
    animation: bounce 1.5s infinite;
}

nav #verify {
    font-size: 0.5em;
}

@keyframes bounce {
    0% {
        transform: translateY(0.15em);
        text-shadow: #ff4f4f 0 0 0;
        animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
    }
    50% {
        transform: translateY(-0.15em);
        text-shadow: #ff4f4f 0.25em 0.15em 0;
        animation-timing-function: cubic-bezier(0.32, 0, 0.67, 0);
    }
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "RatProportional", serif;
    color: #fdfdf8;
    text-align: center;
    margin: 0 0;
    padding: 2em 0 0 0;
}

main > * {
    margin: 0 0 0.75em 0;
}

main h1 {
    font-size: 1em;
    font-family: "Mitochondria", serif;
}

main a {
    color: #00bfe0;
    text-decoration: underline;
}

main .underline {
    text-decoration: underline;
}

main .verify-title {
    margin: 0 0 1em 0;
}

main .verify-title:not(:first-child) {
    margin: 2.5em 0 1em 0;
}

main #welcome {
    animation: blink 0.5s steps(1) infinite;
    justify-self: center;
    font-size: 1em;
    font-family: "Mitochondria", serif;
    font-style: italic;
    color: #0f53ff;
    text-shadow: black 0.1rem 0.1rem;
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

main p {
    font-family: "RatProportional", serif;
    color: white
}
