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

body {
    font-family: 'fauna';
    background: black;
    color: white;
    margin: 0;
}

.container {
    width: 800px;
    margin: 0 auto;
    padding-top: 1em;
    font-size: 1.5em;
    
    display: flex;
    flex-direction: column;
    align-items: center;
}

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;
}

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

.home {
    float: right;
    background: black;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    rotate: 2deg;
}
.home:hover {
    filter: invert(2);
}

details {
    border: 2px solid white;
    padding: .2em .5em;
    margin-bottom: 2em;

    width: 50%;

    summary {
        cursor: pointer;
        overflow: hidden;
    }

    .answer {
        font-size: .8em;
        border-top: 1px solid white;
        padding: .2em 0;
        margin-bottom: 0;
        text-align: justify;
        text-justify: inter-character;
    }
}
details:open {

    .question {
        color: #FFF9;
    }
}

@media (width < 900px) {
    .container {
        width: unset;
        margin: 0 2em;
    }
}
@media (orientation: portrait) {
    .container {
        width: 100%;
        font-size: 3em;
    }

    details {
        width: 70%;
    }
}