body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000000;
    color: #FFFFFF;
}

h1 {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.game-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: #111111;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    gap: 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preview-container p {
    margin: 0 0 10px 0;
    text-align: center;
    font-weight: bold;
    color: #FFFFFF;
}

#nextCanvas {
    border: 2px solid #FFFFFF;
    background-color: #000000;
}

canvas {
    border: 4px solid #FFFFFF;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    background-color: #000000;
    display: block;
}

.game-info {
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#controls {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.hidden {
    display: none !important;
}

button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #FFFFFF;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#restartButton {
    background-color: #CCCCCC;
    color: #000000;
}

#quitButton {
    background-color: #444444;
    color: #FFFFFF;
}

button:hover {
    background-color: #AAAAAA;
}

.instructions {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #bbb;
}