@font-face {
    font-family: 'Font1';
    src: url('fonts/m42.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pixelzone';
    src: url('fonts/Pixelzone.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background-color: #1b1b1b;
}

.game {
    position: relative;
    width: 100vw;
    height: 100vh;
}

canvas {
    background-color: #1b1b1b;
    background-image: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    image-rendering: pixelated;
    touch-action: none;
}

#launchButton {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: min(640px, calc(100vw - 32px));
    height: 160px;
    font-size: 50px;
    cursor: pointer;

    font-family: "Red Hat Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;

    color: #000000;
    background: white;
    border: 6px solid #000000;
    border-radius: 24px;
}

#launchButton:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}
