body {
    font-family: Hack, monospace;
    background-color: #181818;
    overflow: hidden;
}

.nowrap {
    white-space: nowrap;
}

.fullscreen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

small {
    font-size: 0.6em;
}

canvas {
    pointer-events: none;
}

#disclaimer-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#disclaimer {
    z-index: 100;
    margin: 64px;
    pointer-events: auto;

    font-size: larger;
    text-align: center;
}

#disclaimer a {
    font-weight: bold;
    color: purple;
    cursor: pointer;
    text-decoration: none;
}

#backdrop {
    text-align: center;
    background-color: aquamarine;
}

#txt {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    color: violet;
    font-size: 10vh;
    font-weight: 800;
}

#credits {
    display: none;

    position: absolute;
    z-index: 10;
    left: 50%;
    top: 100%;
    width: 100vw;
    transform: translate(-50%, -150%);

    color: white;
    text-align: center;
    font-size: small;
    font-weight: 400;

    cursor: pointer;
}

#top-panel {
    position: absolute;
    left: 25vw;
    top: 32px;
    width: 50vw;
    height: 10vh;
    padding: 16px;
    pointer-events: auto;

    color: white;
    background-color: rgba(0, 0, 0, 0.8);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3vh;
}

#panel-container {
    opacity: 0;
    pointer-events: all;
}

.panel {
    position: absolute;
    padding: 16px;
    padding-left: 32px;
    box-sizing: border-box;
    pointer-events: auto;
    z-index: 100;

    color: white;
    background-color: rgba(0, 0, 0, 0.8);

    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: start;
    text-align: left;
    font-size: 1.2rem;
}

.panel strong {
    transform: translateX(-16px);
    display: inline-block;
    font-size: 1.2em;
    height: 2em;
}

.panel br {
    margin: 0.3em;
}

.panel a {
    text-align: left;
    text-decoration: underline;
    color: #80ffff;
}

.panel ul {
    margin: 0;
    list-style-type: '- ';
}

.mobile-panel-padding {
    display: none;
}

@media only screen and (max-width: 64em) {
    #disclaimer {
        font-size: 1em;
    }

    #top-panel {
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        font-size: 2.5em;
    }

    .tagline {
        display: none;
    }

    #panel-container {
        display: flex;
        flex-direction: column;
        justify-content: end;
        gap: 0px;
    }

    .panel {
        position: static !important;
        left: 0% !important;
        width: 100% !important;
        padding-top: 0 !important;
        padding-bottom: 24px !important;
    }

    .panel strong {
        height: 1.5em !important;
    }

    .mobile-panel-padding {
        display: block !important;
        position: static;
        left: 0%;
        width: 100%;
        margin: 0px;
    }

    #credits {
        z-index: 5000;
        font-weight: normal;
        font-size: small;
    }

    #credits .license {
        display: none;
    }
}