html, body
{
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#back
{
    position: fixed;
    top: 0;
    left: 0;
    background: url('web_loadscreen.webp');
    width: 100%;
    height: 100%;
    z-index: -1;
}

#game-wrapper
{
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}

#game-frame
{
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 50px);
    aspect-ratio: 16 / 9;
    border: 2px solid #D9D9D9;
    box-shadow: 0 0 0 2px #6D94B7;
    background-color: black;
    display: block;
}

#game-wrapper.fullscreen
{
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

#game-wrapper.fullscreen #game-frame
{
    max-height: 100vh;
    aspect-ratio: auto;
    border: none;
    box-shadow: none;
}

#game-footer
{
    position: relative;
}

#fullscreen-button
{
    cursor: pointer;
    float: right;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
    width: 50px;
    aspect-ratio: 0.96;
}

#game-wrapper.fullscreen #fullscreen-button
{
    display: none;
}

.legal-footer
{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    z-index: 100;
}

.legal-footer a
{
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 4px;
}

.legal-footer a:hover
{
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.footer-separator
{
    margin: 0 4px;
    opacity: 0.6;
}

.footer-text
{
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.5;
}
