@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@700&display=swap");

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

body {
    padding: 0;
    width: 100%;
    min-height: 100dvh;
    color: #f4f4f5;
    background:
        radial-gradient(circle at top, rgba(185, 28, 28, 0.2), transparent 38%),
        linear-gradient(180deg, #09090b 0%, #111827 48%, #050816 100%);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

#app {
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container {
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    contain: strict;
    background: #050816;
}

canvas {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100dvh;
    border: 0;
    image-rendering: pixelated;
    outline: 0;
    transform: translateZ(0);
}
