body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Arial', sans-serif;
    background-color: #2a2d34; /* Dark grey-blue background */
}

#gameBoard {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 5px;
    margin: 20px;
}

.cell {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #333;
    font-size: 24px;
    cursor: pointer;
    background-color: white; /* White background for cells */
    transition: background-color 0.3s; /* Smooth transition for hover */
}

.cell:hover {
    background-color: #f0f0f0; /* Light gray on hover */
}

h1, h2 {
    color: #ffffff; /* White color for headings */
}

button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 5px;
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
}

#resetButton {
    background-color: #5E5D95; /* Berry blue for reset button */
    color: white; /* White text */
}

#newGameButton {
    background-color: #5E5D95; /* Berry blue for new game button */
    color: white; /* White text */
}

.cell.x {
    font-weight: bold; /* Bold for X */
    color: red; /* Red color for X */
}

.cell.o {
    font-weight: bold; /* Bold for O */
    color: BritishRacingGreen; /* British racing green for O */
}

#arrayDisplay {
    margin: 20px 0;
    font-size: 18px;
    color: #ffffff; /* White color for array display */
}
