@font-face {
    font-family: "Font";
    src: url(font.woff2);
}

@keyframes popin {
    0% {
        opacity: 0;
        transform: translate(0, -50%);
    }
    100% {
        transform: none;
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-family: "Font";
    font-size: 2em;
    text-shadow: 2px 2px white, -2px 2px white, -2px -2px white, 2px -2px white;

    display: flex;
}

.container div {
    animation-name: popin;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-duration: 1000ms;

    animation-delay: 5s;
    /* this is so awful and i don't care enough to work around it */
    min-width: 0.5em;
    user-select: none;
}

.background {
    background: url(mizu.webp);
    background-size: cover;
    background-position: center;
    
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;

    animation-name: fadein;
    animation-delay: 1s;
    animation-duration: 20s;
    animation-fill-mode: both;
}

body {
    background: black;
}