*{
    margin: 0;
    padding: 0;
}

body{
    background-color: #805959;
    height: 100vh;
    text-align: center;
}

h1{
    font-size: larger;
    font-size : 50px;
    height: 20vh;
    color: black;
    font-weight: bolder;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.msg-container{
    display: flex;
    justify-content: center;
    align-items: center;   
    height: 80vh; 
    flex-direction: column;
}

#msg{
    display: flex;
    justify-content: center;
    height: 30vh;
    color: rgb(70, 4, 13);
    font-size: 100px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.winner-animate {
  animation: bounceIn 1s ease;
}


#newGame{
    color: rgb(206, 190, 190);
    font-size: 1.25rem;
    padding: 10px;
    margin: 5%;
    background-color: #322d2d;
}

.hide {
    display: none;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;   
}

.game {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 equal columns */
    gap: 1rem 0.5rem;
    width: 70vmin;
    height: 70vmin;
    margin: 0.5vmin ;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.box {
    aspect-ratio: 1/1;               /* Always square */
    width: 80%;                     /* Full width of grid cell */
    border-radius: 5%;
    border: none;
    box-shadow: 0 0 5px black;
    background-color: #e7e2e2;
    font-weight: bold;
    font-size: 15vmin;
    color: rgb(89, 60, 60);
}


#ResetBtn{
    grid-column: 1 / -1;           /* Span all 3 grid columns */
    justify-self: center;
    color: rgb(206, 190, 190);
    font-size: 1.25rem;
    padding: 10px;
    margin: 5%;
    background-color: #322d2d;
}


ResetBtn:hover{
    background-color: #e6d9d9;
}

