@font-face {
    font-family: 'fauna';
    src: url(../assets/fonts/FaunaMono-Regular.otf);
}

body {
    font-family: 'fauna';
    text-align: justify;
    text-justify: inter-character;
    background: black;
    color: white;
    margin: 0;
}

h1, summary, a {
    user-select: none;
}

#paper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/images/paper.jpeg);
    background-repeat: repeat;
    background-size: 50%;
    z-index: 999;
    mix-blend-mode: multiply;
    pointer-events: none;
    filter: saturate(50) contrast(90) grayscale(2);
}

h1 {
    margin-top: 0;
}

p {
    margin: 0 0 1em 0;
}

a {
    background-color: white;
    color: black;
    text-decoration: none;
}
a:hover {
    background-color: black;
    color: white;
}

.container {
    width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
}

.meanings {
    overflow: hidden;
    border: 1px solid white;
    height: 1.2em;

    ul {
        list-style: none;
        padding-left: 0;
        margin: 0;

        animation: meaningsAnim 8s linear infinite;
    }
}

@keyframes meaningsAnim {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-25.3em);
    }
}

@media (width < 900px) {
    body {
        width: unset;
        margin: 0 2em;
    }
}

@media (orientation: portrait) {
    .container {
        font-size: 3em;
    }
}