body {
    background-color: #d7c8c8; /* Choose a color that suits your design */
    margin: 0;
    font-family: Arial, sans-serif; /* Optional: Set a font for better readability */
}
.turn-container {
    width: 15rem;
    height: 80px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    position: relative;
}

.turn-container h1 {
    margin: 0;
    grid-column-start: 1;
    grid-column-end: 3;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.turn-box {
    border: 2px solid #000;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    transition: background-color 0.3s ease;
}
.active-x {
    background-color: #9f7979; /* Color for X's turn */
}

.active-o {
    background-color: #9f7979; /* Color for O's turn */
}

.container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.boxes {
    display: grid;
    grid-template-rows: repeat(3, 10vw);
    grid-template-columns: repeat(3, 10vw);

}

.box {
    border: 2px solid rgb(0, 0, 0);
    font-size: 5vw;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boxes :hover {
    background-color: #9f7979;
}


.br-0 {
    border-right: 0;
}

.bl-0 {
    border-left: 0;
}

.bt-0 {
    border-top: 0;
}

.bb-0 {
    border-bottom: 0;
}

.won-msg {
    display: none;
    justify-content: center;
    font-size: 2rem;
    color: #000000; /* Change color as desired */
    margin-bottom: 1rem;
    font-weight: bold;
}

.won-msg.show {
    display: flex;
}

.btn-box {
    display: flex;
    justify-content: center;
}

#reset {
    padding: 1rem;
    background-color: #9f7979;
    border-radius: 2rem;
    cursor: pointer;
    width: 10rem;
    border: none;
}