@font-face
{
    font-family: mono;
    src: url(../fonts/mono.ttf);
}

@font-face
{
    font-family: derk;
    src: url(../fonts/derk.otf);
}

html
{
    font-family: mono;
}

*, *::after, *::before
{
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body
{
    background: rgb(17, 17, 17);
}

#entry-toggle
{
    position: absolute;
    display: none;
}

.subtitle-container
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry-overlay
{
    z-index: 1;
    background-color: black;
}

.entry-overlay label
{
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgb(255, 255, 255);
    font-size: 2rem;
}

.entry-overlay .touch-prompt,
.entry-overlay .mouse-prompt
{
    font-family: mono;
    font-size: 0.6em;
}

.touch-prompt
{
    display: block;
}

.mouse-prompt
{
    display: none;
}

.fullscreen
{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100vh;
    min-width: 100vw;
}

.entry-overlay.fullscreen
{
    inset: 0;
    transform: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-width: 0;
    min-height: 0;
}

.site-content
{
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-width: 0;
    min-height: 0;
    transform: none;
    background: rgba(0, 0, 0, 0);
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    color: rgb(255, 255, 255);
}

.site-content h1
{
    font-family: derk;
    text-shadow: 0 0 0.40em #bababa;
    transform-origin: center bottom;
    will-change: transform;
    font-size: 3rem;
    font-weight: 800;
}

.site-content p
{
    padding-top: 30px;
    padding-right: 10px;
    padding-bottom: 31px;
    padding-left: 10px;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 0.0;
    color: rgb(192, 192, 192);
    display: flex;
}

.subtitle-container p
{
    font-family: mono;
    font-size: 1.1em;
    text-shadow: 0 0 0.40em #bababa;
}

#entry-toggle:checked ~ .entry-overlay
{
    pointer-events: none;
    animation-fill-mode: forwards;
    animation-name: fade, hide;
    animation-delay: 0s, 600ms;
    animation-duration: 600ms, 1ms;
}

#entry-toggle:checked ~ .entry-overlay label
{
    animation-fill-mode: forwards;
    animation-name: fade;
    animation-delay: 0s;
    animation-duration: 500ms;
}

@media (hover: hover)
{
    .mouse-prompt
    {
        display: block;
    }

    .touch-prompt
    {
        display: none;
    }
}

@keyframes fade
{
    to
    {
        opacity: 0;
    }
}

@keyframes hide
{
    to
    {
        visibility: hidden;
    }
}
.nav-separator
{
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1;
}

.site-navigation
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.25rem 0;
    color: #cccccc;
    text-shadow: 0 0 0.4em #bababa;
}

.site-navigation button
{
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: inherit;
    font-size: 1.1rem;
    line-height: 1;
    text-shadow: inherit;
    cursor: pointer;
}

.site-navigation button:focus-visible
{
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.site-navigation button:hover
{
    opacity: 0.8;
}

.site-view[hidden]
{
    display: none;
}

.internal-view
{
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    width: min(100%, 44rem);
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    padding: 3rem 1rem;
    overflow-y: auto;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 0.4em #bababa;
}

.internal-view h1
{
    margin: 0 0 1.5rem;
    font-family: derk;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 0 0.4em #bababa;
}

.internal-view #status
{
    margin: 0 0 0.75rem;
    color: #ddd;
    font-size: 1rem;
}

.internal-view #status:empty
{
    display: none;
}

.internal-view #user-list
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.internal-view #user-list li
{
    font-size: 1.1rem;
}

.internal-view .banned
{
    color: #ff7777;
}

.internal-view .chat-panel
{
    display: flex;
    flex-direction: column;
    width: min(370px, 100%);
    height: min(469px, 60dvh);
    min-height: 260px;
    border: 1px solid #fff;
    background: #111;
    box-shadow: 0 0 0.4em #bababa;
    text-shadow: none;
}

.internal-view .chat-panel-body
{
    display: grid;
    flex: 1;
    place-items: center;
    color: #ddd;
}

.internal-view .back-link
{
    margin-top: 1.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    text-shadow: inherit;
    cursor: pointer;
}

.internal-view .back-link:hover
{
    color: #ccc;
}
