body {
    margin: 0px;
    min-height: 100vh;
    padding-bottom: 80px;
    box-sizing: border-box;
    background-color: #181818;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

#start-message {
    opacity: 0;
    font-family: "Press Start 2P", monospace;
    font-size: 24px;
    color: antiquewhite;
    text-align: center;
    margin: 0 0 60px;
}

#start-message.visible {
    opacity: 1;
}

.game-container {
    width: 75%;
    max-width: 1000px;
    align-self: center;

    position: relative;
}

#game-canvas {
    width: 100%;
    height: 300px;
    display: block;

    background-color: antiquewhite;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1s ease;

    image-rendering: pixelated;
}

#next-button {
    position: absolute;
    right: 20px;
    bottom: 10px;

    padding: 0;
    border: none;
    background: none;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease;
}

#next-button.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#next-button.img {
    width: 40px;
    height: auto;
    display: block;
}

#game-canvas.open {
    transform: scaleX(1);
}
