body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', sans-serif;
    text-align: center;
    background-color: #fafad2; /* Light pastel yellow */
    padding: 0;
    margin: 0;
}

h1 {
    color: #ff6347; /* Tomato color */
    font-size: 36px;
}

.scoreboard {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.player-score {
    margin: 0 20px;
    font-size: 20px;
    padding: 10px;
    border-radius: 10px;
    color: white;
}

#player1 {
    background-color: #ffb6c1; /* Light pink */
}

#player2 {
    background-color: #add8e6; /* Light blue */
}

.brown {
    background-color: #d2691e; /* Chocolate */
}

#current-player {
    font-size: 20px;
    margin-bottom: 20px;
}

#game-board {
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff8dc; /* Cornsilk background */
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#game-board td {
    width: 60px;
    height: 60px;
    border: 2px solid #8a2be2; /* Blue violet */
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold;
    color: #8a2be2; /* Blue violet */
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.hidden {
    background-color: #ffd700; /* Gold */
}

.revealed {
    background-color: #fff; /* White */
    color: #8a2be2; /* Blue violet */
}

.correct {
    background-color: #32cd32; /* Lime green */
    color: white;
}

.incorrect {
    background-color: #ff4500; /* Orange red */
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Make the modal narrower */
    max-width: 300px; /* Ensure the modal is not too wide */
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

button {
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background-color: #e0e0e0; /* Light gray */
}

button:hover {
    background-color: #ddd; /* Darker light gray */
}

button.hidden {
    display: none;
}

footer {
    margin-top: 20px;
    padding: 10px;
    background-color: #ffebcd; /* Blanched almond */
    color: #333;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 18px;
}
