@font-face {
    font-family: "Jersey 10";
    src: url('./../assets/fonts/Jersey10-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
*
{
    font-family: "Jersey 10",   system-ui, sans-serif;
    font-size-adjust: 0.5;
    user-select: none;
}

html, body
{
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: 100dvh;
    background: #636363;
    touch-action: none;
}
body
{
    position: fixed;
}
#gameArea
{
    width: 100%;
    height: 100dvh;
}

.logo-container
{
    pointer-events: none;
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    height: 120px;
    z-index: 9;
    display: none;
}
.logo-container img
{
    height: 100%;
    image-rendering: pixelated;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.55));
}
body:has(.idle) .logo-container
{
    display: block;
}
@media screen
and (orientation: landscape)
and (max-height: 500px) {
    .logo-container {
        top: 3px;
        height: 70px;
    }
}

@media screen and (max-width: 700px) and (orientation: portrait) {
    .logo-container {
        top: 5px;
        height: 85px;
    }
}

.button-text
{
    display: inline-block;
    transform-origin: 0 0;
    font-family: inherit;
    white-space: nowrap;
}

#splash-screen
{
    position: fixed;
    inset: 0;
    background: #021621;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15000;
    transition: opacity 600ms;
}
#splash-screen video
{
    aspect-ratio: 1 / 1;
    max-width: 100vmin;
    width: 500px;
}
