
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.box{
    background-color:  transparent;
    height: 20vh;
    width: 20vh;
    border-radius: 20px;
    border: 4px solid rgba(75, 77, 77, 0.475);
    box-shadow: 1rem 0.2rem 0.2rem  rgba(255, 255, 255, 0.052);
    font-size: 114px;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-left: 10px;
    

}  
.box:hover{
    background-color: rgba(24, 21, 21, 0.862);
    
} 
.container{
    
    display: grid;
    justify-content: center;
    align-items: center;
margin-top: 20vh;    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    height: 70vh;
    width: 70vh;
    
    border-radius: 20px;
    border: 4px solid rgba(53, 53, 53, 0.74);
    box-shadow: 1rem 1rem 1rem rgba(255, 255, 255, 0.136);

}
body{
    background:linear-gradient( to left , rgb(96, 3, 3) , rgb(8, 8, 67));
    display: flex;
    justify-content: center;
    align-items: center;
    
}
#reset{

    position: absolute;
    bottom: 0vh;

    height: 10vh;

width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#reset button{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    height: 6vh;
    width: 10vw;
    margin-left: 2vw;
    
    
    border-radius: 20px;
        border: 2px solid rgba(11, 219, 157, 0.882);
    
}
h1{
    width: 30vw;
    text-align: center;
    position: absolute;
    top: 1vh;
    outline: 4px solid yellow;
color: aliceblue;
    font-size: 60px;
}
h3{
    text-align: center;
    position: absolute;
    top: 5vh;
    left:10vw;
    font-size: 40px;
    color: white;
    outline: 2px solid rgba(11, 219, 157, 0.882);
    animation: shine 2s infinite ease-in-out ;   }
    @keyframes shine {
        0%{
            opacity: 0.1;
        }
        
        100%{
             opacity: 1;
        }
}
#player2{
    position: absolute;
    top: 7vh;
    left: 76vw;
    color: yellow;
    
        
    }
#winner{
    display: NONE;
    text-align: center;
    padding-left: 100px;
    width: 60vw;
    font-size: 50px;
    position: absolute;
    top: 40vh;
    left: 27vw;
    z-index: 10;
    background-color: red;
    border: 4px double rgba(11, 219, 157, 0.882);
    border-radius: 20px;
    box-shadow: 1rem 1em 1rem rgba(7, 6, 6, 0.508);
    animation: fade-in 2s ease-in-out 2; 
}
@keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}


#close{
    z-index: 20;
    font-size: 20px;
    background-color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5vh;
    width: 10vh;
    border-radius: 2px;
    position: absolute  ;
    top: 2vh;
    left: 53vw;
    border: 1px solid red;
    box-shadow: 0.2rem 0.2rem 0.1rem rgba(0, 0, 0, 0.315);
}
#wor{
    z-index: -1;
    height: 500px;
    width: 600px;
    position: absolute;
    top:20vh;
    left: 10vw;
   transition: transform 0.1s ease-in-out;
}
@media (max-width: 600px)  and (min-width: 330px){

    body{
    overflow: hidden;
    background-repeat: no-repeat;
    
        background-size: 100vh 200vh;
    }
    .container{
        margin-top: 50vh !important;
        margin-left: 60vw;
    }
    
    h1{
        width: 100vw;
        text-align: center;
        position: absolute;
        top: 3vh;
        left: 35vw;
    }
    h3{
        width: 52vw;
        font-size: 30px;
        top: 35vh;
    }
    #player2{

        
        top: 35vh;
        left:95vw;
        
    }
    #reset{
        bottom: -50vh;
        left: -20vw;
        width: 179vw;
        padding-left: 15vw;
        
        
    }
    #reset button{      
          margin-left: 3vh;
        height: 12vh !important;
        font-size: 32px;
        width: 62vw !important;
    }
    #close{
        top: 2vh;
        left: 75vw;
    }
    #wor{        height: 225px;
        width: 348px;
    
        
    }
    #reset img{
        height: 8vh !important;
        width: 13vw !important;
    }
    #winner{
        font-size: 40px;
        height: 14vh;
        width: 140vw;
        top: 80vh;
        left: 10vw;
        padding-left: 35px;
    }
}
@media(max-width:350px) {
    .container{
    width: 143vw;
            margin-top: 54vh !important;
        margin-left: 58vw;
    }
    .box{
        margin-right: 4vw;
        height: 16vh;
        width: 41vw;
    }
    #wor{
        height: 300px;
        width: 300px;
        
    }
    #reset{
        bottom: -50vh;
        left: -20vw;
        width: 179vw;
        padding-left: 19vw;
        
    }
    #reset button{
        margin-left: 2vh;
        height: 10vh !important ;
        font-size: 28px;
        width: 70vw !important;
    }
    #close{
        top: 2vh;
        left: 75vw;
    }
    #reset img{
        height: 8vh !important;
        width: 13vw !important;
    }
    #winner{
        font-size: 40px;
        height: 14vh;
        width: 140vw;
        top: 80vh;
        left: 10vw;
}}
@media (max-width:1300px) and (min-width:1001px){
    .container{
        margin-top: 16vh;
    }
    #reset button{
        height: 8vh;
        width: 25vw;        
        font-size: 26px;
    }
    #reset img{
        height: 6vh;
        width: 4vw;
    }
    h3{
        left: 3vw;
        top: 7vh;
    }
    #player2{
        left: 68vw;
    
    }
#wor{        height: 443px;
        width: 502px;
}}
    
@media (max-width:1000px)and (min-width:601px){
    .container{
        margin-top: 29vh;
        width: 90vw;
        height: 50vh;
    }
    .box{
        height: 14vh;
        width: 26vw;
    }
    #reset button{
        height: 8vh;
        width: 30vw;
        font-size: 30px;
    }
    #reset img{
        height: 6vh;
        width: 6vw;
    }
    #wor{
        height: 300px;
        width: 300px;
        top:10vh;

    }
    h3{
        top: 20vh;;
    }
    #player2{
        top: 20vh;  
        left: 63vw;
    
    }h1{
        width: 80vw;;
    }


}

@media (max-width:599px) and (min-width:500px){
   body{
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: 130vh 200vh !important;
   }
    .container{
        margin-top: 55vh !important;
        width: 130vw;
        height: 70vh;
        gap: 23px;
    }
    .box{
        height: 20vh;
        width: 26vw;
    }
    #reset button{
        height: 8vh;
        width: 30vw;
        font-size: 30px;
    }
    #reset img{
        height: 6vh;
        width: 6vw;
    }
    
   }

    

