@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&family=Roboto&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: rgb(241, 224, 224);
}

.title{
    background-color: rgb(49, 11, 40);
    color: #fff;
    font-size: 1.8em;
    font-family: 'Roboto', sans-serif;
    padding: 15px;
    text-align: center;
}

#game-title {
    background-color: rgb(83, 8, 64);
}

.gameContainer{
    background-color: rgb(241, 224, 224);
    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 #000;
    font-size: 8vw;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box:hover{
    background-color: rgb(197, 182, 211);
}

.gameInfo{
    padding: 0 34px;
    font-family: 'Baloo Bhaina 2', cursive;
}

.info{
    font-size: 2em;
}

.imgbox img{
    width: 0;
    transition: width 1.5s 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: 20px 23px;
    padding: 2px 18px;
    background-color: rgb(0, 0, 0);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-family: 'Baloo Bhaina 2', cursive;
    font-weight: bolder;
}

.line{
    background-color: black;
    height: 5px;
    width: 0px;
    position: absolute;
    background-color: rgb(212, 47, 201);
    transition: width 1s ease-in-out;
    border-radius: 3px;
}

@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);
    }
}