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

h1 {
    font-size: 3em;
    text-shadow: 2px 2px 4px #000;
}

.game-container {
    display: flex;
    gap: 20px;
    border: 3px solid #34495e;
    padding: 20px;
    border-radius: 10px;
    background-color: #34495e;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

#game-board {
    border: 2px solid #7f8c8d;
    background-color: #000;
}

.side-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 150px;
    text-align: center;
}

.side-panel div {
    background-color: #2c3e50;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.side-panel h2 {
    font-size: 1.2em;
    margin: 0 0 5px 0;
}

.side-panel p {
    font-size: 1.5em;
    margin: 0;
    font-weight: bold;
}

#next-piece, #next-piece-2 {
    background-color: #000;
    border: 2px solid #7f8c8d;
    border-radius: 5px;
}

#next-piece-2 {
    margin-top: 5px;
}

.controls {
    background-color: #2c3e50;
    padding: 10px;
    border-radius: 5px;
}

.controls h2 {
    font-size: 1.2em;
    margin: 0 0 5px 0;
}

.controls p {
    font-size: 0.9em;
    margin: 5px 0;
    font-weight: normal;
    display: flex;
    justify-content: space-between;
}

.controls p span {
    background-color: #34495e;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

#start-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
    margin-top: auto; /* Pushes the button to the bottom */
}

#start-button:hover {
    background-color: #c0392b;
}
