/* CONTENT */

body {
    overflow-y: hidden;
    height: 100vh;
}

#content {
    margin: 0;
    width: 100vw;
    height: 100vh;
    height: fill-available;
    height: available;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.letterbox {
    position: absolute;
    width: 100vw;
    height: 10vh;
    z-index: 5;
}

#letterbox-top {
    background-color: black;
    top: 0;
}

#letterbox-bottom {
    background-color: black;
    bottom: 0;
}

#content canvas {
    background-color: white;
    width: 100vw;
    height: 80vh;

    position: absolute;
    display: none;
}

#content #text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    animation: fadeIn 2s;
}

#page404 a, #page404 u {
    cursor: pointer !important;
}

#text h1, #text h2 {
    margin: 0;
    line-height: 1.2;
}

#text h1 {
    font-size: 128px;
    white-space: nowrap;
}

#text h2 {
    margin: 0px 32px;
}

#text ul.fr li {
    font-size: 30px;
}

#text ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0px;
}

/* #text #not-highlighted li {
    color: var(--dark-accent-tertiary);
    opacity: .2;
    margin: 0 !important;
    padding: 0px 16px;
    font-size: 40px;
    font-weight: 800;
    line-height: 0.8;
} */

#text li {
    color: var(--dark-accent-tertiary);
    margin: 0 !important;
    padding: 0px 4px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

/* #à-propos {
    margin-top: 128px;
    text-align: center;
    animation: fadeIn 3s;
} */


.spacer {
    height: 16px;
}


@media screen and (max-width: 1000px) {
    #text h2 {
        font-size: 40px;
    }

    #text h1 {
        font-size: 80px;
    }

    #text ul li {
        font-size: 20px;
    }

    #text ul.fr li {
        font-size: 20px;
    }
}

@media screen and (max-width: 700px) {
    #text ul.fr li {
        font-size: 18px;
    }
}

@media screen and (max-width: 600px) {
    #text h1 {
        font-size: 64px;
    }

    #text ul li {
        font-size: 16px;
    }

    #text ul.fr li {
        font-size: 16px;
    }
}

@media screen and (max-width: 500px) {
    #text ul.fr li {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    #text h1 {
        font-size: 52px;
    }

    #text ul li {
        font-size: 14px;
    }

    #text ul.fr li {
        font-size: 12px;
    }
}

@media screen and (max-width: 400px) {
    #text h1 {
        font-size: 48px;
    }

    #text ul li {
        font-size: 12px;
    }

    #text ul.fr li {
        font-size: 11px;
    }
}