@import url('https://fonts.googleapis.com/css2?family=Andika:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    
}
body{
    background-color: plum;
}
nav {
    background-color: rgb(37, 9, 37);
    color: white;
    height: 65px;
    font-size: 27px;
    display: flex;
    align-items: center;
    padding: 0 12px;

}

nav ul {
    list-style-type: none;
}
.info{
    font-size: 2rem;
   
}

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

.gameContainer {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 10vw);
    grid-template-rows: repeat(3, 10vw);
    position: relative;

}

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

.box:hover {
    background-color: rgb(234, 213, 254);
}

.gameInfo{
    padding: 0 34px;
    font-family:'Andika', Verdana, Geneva, Tahoma, sans-serif ;
}
.gameInfo div{
    margin-top: 2vh ;
    display: flex;
    align-items: center;
    width: 15vw;
    justify-content: space-between;
}

.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{
    cursor: pointer;
    padding: 3px 7px;
    font-size: large;
    font-family: 'Andika';
    border-radius: 10px;
    background-color: #fec8f4; 
}

#reset:hover{
    background-color: #ffffff;
}
.line{
    background-color: black;
    height: 7px;
    border-radius: 10px;
    width: 0;
    background-color: purple;
    position: absolute;
    transition: width 1s ease-in-out;

}

@media screen and (max-width:950px) {
    
    .gameContainer{
        flex-wrap: wrap;
    }
    .gameInfo{
        margin-top: 34px;
    }

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

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