body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

.scoreboard {
    display: flex;
    flex-direction: column; /* default to column */
    height: 100%;
}

.player {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 5vw;
    cursor: pointer;
}

.player1 {
    background-color: #3498db;
}

.player2 {
    background-color: #e74c3c;
}

.score {
    font-size: 20vw;
    font-weight: bold;
}

.controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

/* If the width is greater than the height */
@media (min-aspect-ratio: 1/1) {
    .scoreboard {
        flex-direction: row; /* switch to row */
    }
    .controls {
        flex-direction: row; /* adjust controls as needed */
    }
}

.button {
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

