body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8f7f7;
    background-image: url('tictactoe.png'); /* Add your image path here */
    background-size: cover; /* Adjusts the image to cover the entire background */
    background-repeat: no-repeat; /* Ensures the image doesn’t repeat */
    background-position: center; /* Centers the background image */
}

h1 {
    margin-bottom: 20px;
}

.x {
    color: rgb(143, 29, 109); /* Change X color to blue */
}

.circle {
    color: rgb(26, 181, 181); /* Change O color to green */
}

#game-board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: #86a417;
    border: 2px solid rgb(24, 12, 185);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    cursor: pointer;
}

.winning-message {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(73, 65, 67, 0.8);
    color: rgb(11, 201, 62);
    font-size: 2em;
}

.winning-message.show {
    display: flex;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}
