body {
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #000; /* Black background for the entire screen */
    font-family: 'Press Start 2P', cursive;
}

#gameContainer {
    position: relative;
    width: 50vw; /* Maximum 50% of the viewport width */
    height: 80vh; /* Maximum 80% of the viewport height */
    background: #000; /* Black background for the game container */
    border: 2px solid white; /* Border to show game boundaries */
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

#gameOver, #startScreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: red;
    text-align: center;
}

.hidden {
    display: none;
}

#sidebar, #leftSidebar {
    position: absolute;
    top: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
}

#sidebar {
    right: 10px;
}

#leftSidebar {
    left: 10px;
    font-size: 12px; /* Make the score font smaller */
}

button {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}
