*{
    margin: 0;
    padding: 0;
}

nav{
    background-color: rgb(117, 117, 224);
    color: white;
    height: 55px;
    display: flex;
    align-items: center;
    font-size: 20px;
    padding: 0 10px;
    font-family: 'Times New Roman', Times, serif;
}

nav ul{
    list-style-type: none;

}
nav ul li:hover{
    color: rgb(221, 219, 219);
}

.gamecontainer{
    /* background-color: yellow; */
    display: flex;
    justify-content:center;
    margin-top: 50px;
}
.container{
    display: grid;
    font-family: Arial, Helvetica, sans-serif;
    grid-template-rows:repeat(3, 10vw) ;
    grid-template-columns:repeat(3, 10vw) ;
    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(221, 198, 243);
}

.gameinfo{
    padding: 0 34px;
    font-family:'Times New Roman', Times, serif;
    
}
.gameinfo h1{
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.gameinfo h1:hover{
    background-color: rgb(211, 211, 211);
    border-radius: 7px;

}

.info{
    font-size: 20px;
}

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

.bt-0{
    border-top: 0;
}
.bl-0{
    border-left: 0;
}
.bb-0{
    border-bottom: 0;
}
.br-0{
    border-right: 0;
}


#reset{
   
    background-color: rgb(245, 203, 184);
    padding: 1px 18px;
    margin: 0 23px;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    font-size: 15px;

}
#reset:hover{
    background-color: rgb(231, 179, 231);
   

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

#song{
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    font-size: 15px;
    padding: 1px 18px;
   
    background-color: lightcoral;
}


@media screen and (max-width:950px){
    body{
        background-color: lightcyan;
    }
    .gamecontainer{
        flex-wrap: wrap;
    }

    .gameinfo{
        margin-top: 30px;

    }
    .gameinfo h1{
        font-size: 1.5rem;
    }

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