/* Reset default margins and avoid scrollbars from the canvas. */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #152f29;
    overscroll-behavior: none;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    min-width: 100%;
    min-height: 100%;
}

/* Let Phaser's Scale autoCenter center the canvas inside this viewport-sized parent. */
#game-container {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    touch-action: none;
}

/* Phaser's injected canvas inherits block display from here. */
#game-container canvas {
    display: block;
    image-rendering: pixelated;
    touch-action: none;
}
