@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



body{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    background-color: rgb(31, 52, 68);
    position: relative;
}
.overlay{
    width: 100vw;
    height: 100vh;
    display: none;
    position: absolute;
    top:0;
    left:0;
    background-color: rgba(0, 0, 0, 0.541);
}
.modal-win-window{
    text-align: center;
    padding: 120px 5px;
    width: 400px;
    height: 300px;
    display: none;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    background-color: white;
    border-radius: 5px;
    font-size: 2rem;
    font-weight: 600;
    color: rgb(31, 52, 68);
    z-index: 1000;
}
/* .modal-win-window::after{
    content:"\f00d";
    position:absolute;
    top:10px;
    right:10px;
    width:20px;
    height: 20px;
    cursor: pointer;;
} */

/* .modal-win-window img{
    position: absolute;
    top:10px;
    right:10px;
    width: 20px;
    height: 20px;
    z-index: 100000;
} */

.fa-times{
   position: absolute;
   top:15px;
   right:15px;
   background-color: rgb(0, 0, 0);
   font-size: 2rem;
}

.hero{
    margin-top: 70px;
}
.game-heading{
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 40px;
}

.main-container{
    width: 350px;
    height: 350px;
}
table{
    text-align: center;
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    width:100%;
    height: 100%;
    cursor: pointer;
}
td{
    width: 60px;
    height: 90px;
}
.btns-container{
    display: flex;
    justify-content: center;
    padding-top: 20px;
    margin-top: 40px;
}
.btn{
    padding: 5px 20px;
    margin: 0px 25px;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 2px;
    background-color: transparent;
    border: none;
    outline: none;
    border: 1px solid white;
    color: white;
    transition: .3s ease;
    cursor: pointer;
}
.btn:hover{
    background-color: white;
    color: rgb(31, 52, 68);
}


/* -----------------Media Queries-------------- */
@media screen and (max-width:450px)
{
    .modal-win-window{
        text-align: center;
        padding: 100px 5px;
        width: 350px;
        height: 250px;
        display: none;
        position: absolute;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
        background-color: white;
        border-radius: 5px;
        font-size: 1.8rem;
        font-weight: 600;
        color: rgb(31, 52, 68);
        z-index:100;
    }
}

@media screen and (max-width:380px)
{
    .modal-win-window{
        text-align: center;
        padding: 80px 5px;
        width: 300px;
        height: 200px;
        display: none;
        position: absolute;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
        background-color: white;
        border-radius: 5px;
        font-size: 1.6rem;
        font-weight: 600;
        color: rgb(31, 52, 68);
        z-index:100;
    }
}


@media screen and (max-width:360px)
{
    .hero{
        margin-top: 30px;
    }
    .game-heading{
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    .main-container{
        width: 320px;
        height: 320px;
    }
    table{
        font-size: 45px;
    }
    td{
        width: 40px;
        height: 70px;
    }
    .btns-container{
        padding-top: 10px;
        margin-top: 15px;
    }
    .btn{
        font-size: 18px;
    }
}


