body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: lightgray;
}

.game-container {
    text-align: center;
    padding: 10px;
}

canvas {
    background-color: #000;
    border: 2px solid dimgray;
    width: 100%;
    max-width: 400px;
    height: auto;
}

h1 {
    color: darkgray;
}

.score-container {
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin: 1em auto 2em auto;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    max-width: 400px;
}

button {
    padding: 0.8em 1em;
    font-size: 1em;
}

button:hover {
    background-color: lightgray;
}

.instructions {
    margin: 20px auto;
    background-color: #fff;
    padding: 1em;
    font-size: 0.8em;
    border: 1px solid darkgray;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: left;
}

.instructions h2 {
    margin-top: 0;
    font-size: 1.2em;
}

/* Responsive styles */
@media (max-width: 600px) {
    button {
        font-size: 0.9em;
    }
}
