*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", "sans-serif";
}

.wrapper {
    height: 100vh;
    width: 100vw;
    background: url(./images/gradient-bg.jpg);
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    /* position: relative; */
}

.game-info {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    padding: 0.3rem 3rem;
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    backdrop-filter: blur(7px);
}

.gameGrid {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    width: 90%;
    max-width: 20rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(7px);
    aspect-ratio: 1/1;
}

.box {
    color: white;
    /* position: relative; */
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 3rem;
    width: 100%;
    transition: all 150ms ease-in-out;
}

.box1,
.box2,
.box5,
.box4 {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.box3,
.box6 {
    border-bottom: 2px solid #fff;
}

.box7,
.box8 {
    border-right: 2px solid #fff;
}

.win {
    background-color: rgba(0, 255, 0, 0.3);
}

.btn {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 1rem;
    cursor: pointer;
    backdrop-filter: blur(7px);
    transition: all 150ms ease-in-out;
    pointer-events: none;
    opacity: 0;
}

.btn.active {
    opacity: 1;
    pointer-events: all;
}