*{
    padding: 0;
    margin: 0;
}
h1{
    background-color: #b0413e;
     margin-top: 40px;
     width: 200px;
     border: 1px solid black;
     border-radius: 30px;
     box-shadow: 1px 1px 10px black;
     position: relative;
     left: 42%;

}
h1:hover{
    font-size: 33px;
    transition: all 100ms ease-in 0s;

}

body{
   
    background-color: #548687;
    text-align: center;

    
}
.container{
    height: 70vh;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;

}
.game{
    height: 60vmin;
    width: 60vmin;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    
}
.box{
    height: 18vmin;
    width: 18vmin;
    border-radius: 1rem;
    border: none;
    box-shadow: 0px 0px 1rem rgb(0,0,0,0.3);
    font-size: 8vmin;
    color: #b0413e;
    background-color: #ffffc7;

}
.reset{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
#reset-button{
    height: 40px;
    width: 40px;
    background-color: transparent;
    border: 4px solid black;
    border-top: 4px solid transparent;   
    border-radius: 50%;
    
  
}
#reset-button1{
    margin-top: 20px;
    margin-bottom: 20px;
    color: black;
    font-size: 20px;
    height: 25px;
    width: 130px;
    background-color: #b0413e;
    border: 1px solid black;
     border-radius: 30px;
     box-shadow: 1px 1px 10px black;
    
  
}
/* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

/* Modal Box */
.modal-content {
    
    background-color: #ffffc7;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0px 0px 20px black;
}

.winnerMsg{
    color: #b0413e;
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.main-msg {
    font-size: 2.5rem;
    display: block; /* Ensures it stays on its own line */
}

/* "Player has won..." or "No one has won..." */
.sub-msg {
    font-size: 1.5rem;
    display: block;
    margin-top: 10px;
    color: #333; /* Slightly darker color for better contrast */
}

#newGameBtn {
    padding: 10px 20px;
    background-color: #b0413e;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Reset Button Animation Class */
.spin-once {
    animation: loader 0.5s linear;
}

@keyframes loader {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.plrO{
    color: red;
}
.plrX{
    color: blue;
}