*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}

.wrapper{
    background-image: url('./assets/gradient-bg.jpg');
    background-size: cover;
    height: 100vh;
    max-height: 100vh;
    display: grid;
    place-items: center;
}
.game-info{
    color: white;
    position: absolute;
    top: 3rem;      
    left: 50%;
    transform: translateX(-50%); 
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 0.3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    user-select: none;
}

.tic-tac-toe{
    width: 90%;
    position: absolute;
    max-width: 20rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    padding: 2rem;
    /* height: 20rem; */
    aspect-ratio: 1/1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.box{
    user-select: none;
    cursor: pointer;
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    font-size: 3rem;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
.box1, .box2, .box4, .box5{
    border-right: 2px solid white;
    border-bottom: 2px solid white;
}

.box3, .box6{
    border-bottom: 2px solid white;
}
.box7, .box8{
    border-right: 2px solid white;
}

.btn{
    position: absolute;
    bottom: 3rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 0.4rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    cursor: pointer;
    display: none;
    user-select: none;
}
.btn.active{
    display: block;
}
.win{
    background-color: rgba(0, 255, 0, 0.2);
}
