*{
    margin: 0;
    padding: 0;
    
}
nav{
    background-color: black;
    color: white;
    height: 80px;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}
nav ul{
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    text-shadow: 1px 1px 2px white;
    list-style-type: none;
}
.gamecontainer{
    display: flex;
    margin: auto;
    justify-content: center;
    margin-top: 50px;

}
.gameinfo{
    font-family: cursive;
    margin: 3%;
}
.container{
    display: grid;
    position: relative;
    text-align: center;
    grid-template-rows: repeat(3,10vw);
    grid-template-columns: repeat(3,10vw);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.box{
    border: 2px solid black;
    font-size: 6vw;
    cursor: pointer;
}

.container :hover{
    background-color: blueviolet;

}
.imgbox img{
    width: 0;
    transition: width 1s ease-in-out;
}
#reset{
    margin: 2%;
    padding: 2% 5px;
    cursor: pointer;
    background-color: rgb(222, 210, 233);
    border-radius: 15%; 
    font-weight: bold;
}
.line{
    background-color: rgb(247, 56, 56);
    width: 0vw;
    transition: width 1s ease-in;
    height: 2px;
    position: absolute;
}
@media screen and (max-width:800px){
    .gamecontainer{
        flex-wrap: wrap;
    }
    .gameinfo{
        text-align: center;
        margin-top: 10%;
    }
    .container{
        grid-template-rows: repeat(3,25vw);
    grid-template-columns: repeat(3,25vw); 
    }
    .box{
        font-size: 15vw;
    }
    .line{
        display: none;
    }
}
