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

.container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
}

.game-info {
    margin-bottom: 20px;
}

.game-info p {
    margin: 5px 0;
    font-size: 1.1em;
}

#reset-button {
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
}

.board {
    display: grid;
    grid-template-columns: repeat(8, 50px);
    grid-template-rows: repeat(8, 50px);
    border: 2px solid #333;
    width: 400px; /* 8 * 50px */
    height: 400px; /* 8 * 50px */
    margin: 20px auto;
    background-color: #006400; /* Dark green for Othello board */
}

.cell {
    width: 50px;
    height: 50px;
    border: 1px solid #222;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.cell.valid-move {
    background-color: rgba(255, 255, 0, 0.3); /* Highlight valid moves */
}

.piece {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.piece.black {
    background-color: black;
}

.piece.white {
    background-color: white;
}

.message {
    font-size: 1.2em;
    color: #d33;
    margin-top: 15px;
}