@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&display=swap');

*{
    margin: 0;
    padding: 0;
}
nav ul{
    list-style-type: none;
}
nav{
    background-color: black;
    color: white;
    height: 50px;
    font-size: ;
    display: flex;
    align-items: center;
    padding: 0px 12px;
    font-family: 'Roboto', sans-serif;
    
}
.gamecontainer{
    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: 'Roboto', sans-serif;
    position: relative;

}
.box{
    border: 2px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6vw;
    cursor: pointer;
}
.box:hover{
    background-color: rgb(242, 234, 250);
}
.info{
    font-size: 22px;
}
.gameinfo{
    padding:  0 34px;
    font-family:'Baloo Bhaina 2', cursive ;
    
}
.gameinfo h1{
    font-size: 2.5rem;
}
.imgbox img{
    width: 0;
    transition: width 1s ease-in-out;
}
.bb{
    border-bottom: 0;
}
.bt{
    border-top: 0;
}
.br{
    border-right: 0;
}
.bl{
    border-left: 0;
}
#reset{
    margin: 0 23px ;
    padding: 1px  18px;
    background-color: #f3e7f9;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Baloo Bhaina 2';
    font-size: 15px;
    font-weight: bolder;     
}
.line{
    
    height: 3px;
    width: 0;
    position: absolute;
    background-color: #911d91;
    transition:  width 1s ease-in-out , transform 0.5s ease-in-out;
    transform-origin: left center;
    
    

}
   @media screen and (max-width: 950px)
   {
    .gamecontainer{
        flex-wrap: wrap;
    }
    .gameinfo{
        margin-top: 34px;

    }
    .gameinfo h1{
        font-size: 1.5rem;
    }
    .container{
         grid-template-rows: repeat(3,20vw);
        grid-template-columns: repeat(3,20vw);
    }
    
  }

  