* {
    margin: 0;
    padding: 0;
    text-align: center;
}

body {
    background-color: rgb(133, 196, 128);
}

h1{
    font-family: sans-serif;
    margin-top: 4.5vmin;
    color:rgb(226, 250, 209) ;
    font-size: 2rem;
}

.main {
    height: 90vh;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container {
    height: 66vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.game {
    height: 70vmin;
    width: 70vmin;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    margin-top: 7rem;
}

#box {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.5rem;
    background-color: rgb(249, 255, 216);
    font-size: 8vmin;
    color: rgb(156, 40, 40);
    cursor: pointer;
    aspect-ratio: 1/1; /* Ensures perfect squares */
    
}

#reset {
    height: 3rem;
    width: 8rem;
    margin-top: 20px;
    border: none;
    border-radius: 0.5rem;
    background-color: rgb(20, 26, 3);
    color: rgb(249, 255, 158);
    font-size: 1rem;
    cursor: pointer;
    margin-top: 6rem;
}

#new-button{
    height: 4rem;
    width:17rem;
    margin-top: 20px;
    border: none;
    border-radius: 0.5rem;
    background-color: rgb(20, 26, 3);
    color: rgb(249, 255, 158);
    font-size: 2rem;
    cursor: pointer;
}
.hide{
    display: none;
   }
 #msg{
    color:rgb(249, 255, 158) ;
    font-size: 15vmin;
    margin-top: 17%;
}

.msg-container{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    
 }