html, body
{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    font-family: sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;

    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
}

#gameContainer, #game-container
{
    position: relative;
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

canvas
{
    border: 2px solid #fff;
    background-color: #87CEEB;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: block;

    /* Erzwingt exakte 16:9 Proportionen basierend auf Viewport-Breite und -Höhe */
    width: min(100vw, calc(100dvh * (16 / 9))) !important;
    height: min(calc(100vw * (9 / 16)), 100dvh) !important;

    touch-action: none;
    -webkit-touch-callout: none;
}