*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: radial-gradient(circle at center, #1d3b2a, #000000);
    text-align: center;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
h1{
    font-size: 3rem;
    color: #eaffea;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #000;
    margin-top: 20px;
}

.container{
    height:70vh;
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    align-items: center;
}

.game{
    height:60vmin;
    width: 60vmin;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5vmin;
    /* backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.08);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5); */
}

.box{
    height:18vmin;
    width: 18vmin;
    border-radius: 1rem;
    border: none;
    box-shadow: 0 0 1rem rgba(0,0,0,0.7);
    font-size: 8vmin;
    color: #b0413e;
    background-color: #d1f6bc;
    transition: all 0.2s ease;
}
.box:hover{
    transform: scale(1.08);
    box-shadow: 0 0 20px #b7ffb7;
}

.box:active{
    transform: scale(0.95);
}

#reset-btn{
    padding: 1rem;
    font-size: 1.25rem;
    background-color: #191913;
    color: #fff;
    border-radius: 1.2rem;
    border: none;
}
#new-btn{
    padding: 1rem;
    font-size: 1.25rem;
    background-color: #191913;
    color: #fff;
    border-radius: 1.2rem;
    border: none;
}
#msg{
    color: rgb(197, 250, 197);
    font-size: 5vmin;
}
.msg-container{
    height: 100vmin;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4rem;

}
.hide{
    display: none;
}

.box.X{
    color:#00eaff;
    text-shadow:0 0 10px #00eaff;
}

.box.O{
    color:#ff6b6b;
    text-shadow:0 0 10px #ff6b6b;
}

.winner{
    background:#90ee90 !important;
    box-shadow:0 0 25px #00ff88;
}

.msg-container{
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform: scale(0.8);
    }
    to{
        opacity:1;
        transform: scale(1);
    }
}

button{
    cursor:pointer;
    transition:0.3s;
}

#reset-btn, #new-btn{
    padding:1rem 2rem;
    font-size:1.2rem;
    background: linear-gradient(45deg, #000, #333);
    color:#fff;
    border-radius:30px;
}

#reset-btn:hover, #new-btn:hover{
    background:#00ff88;
    color:#000;
}