*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav{
    background-color: rgb(3, 54, 54);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    height: 65px;
    font-size: 30px;
    font-weight: bold;    
}

nav ul{
    list-style-type: none;
}

.gamecontainer{
/* background-color: beige; */
display: flex;
justify-content: center;
margin-top: 50px;
}

.container{
    display: grid;
    grid-template-columns: repeat(3, 10vw);
    grid-template-rows: repeat(3, 10vw);
    font-family: Georgia, 'Times New Roman', Times, serif;
    position: relative;
}

.box{
    border: 2px solid black;
    font-size: 8vw;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box:hover{
    background-color: rgb(227, 227, 214);
}

.gameInfo{
    padding: 0 34px;
}

.imgbox img{
    width: 0;
    transition: width 1s ease-in-out;
}

.br-0{
    border-right: 0;
}

.bl-0{
    border-left: 0;
}

.bt-0{
    border-top: 0;
}

.bb-0{
    border-bottom: 0;
}

#Reset{
    margin: 0 23px;
    padding: 4px 12px;
    background-color: rgb(217, 203, 229);
    border-radius: 6px;
    cursor: pointer;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 17px;
    font-weight: bold;
}

.line{
background-color: black;
width: 0;
height: 3px;
position: absolute;
background-color: rgb(126, 16, 117);
transition: width 1s ease-in-out ;
}

@media screen and (max-width: 800px) {
    .gamecontainer{
       /* display: flex; */
       flex-wrap: wrap;
    }

    .gameInfo{
        margin-top: 30px;
    }

    .gameInfo h1{
        font-size: 1.2rem;
    }

    .container{
        grid-template-columns: repeat(3, 18vw);
        grid-template-rows: repeat(3, 18vw);
    }

    .line{
        display: flex;
        flex-wrap: wrap;
    }
}