@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Varela+Round&display=swap");

* {
    margin: 0;
    padding: 0;
}

body{
    background-color: #f4e1d2;
}

nav {
    background-color: #355d27;
    color: white;
    height: 50px;
    font-size: 20px;
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
}
nav ul{
    list-style-type: none;
}

nav ul li {
    margin: 20px;
}

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

.line {
    width: 0;
    height: 5px;
    background-color: #2c8ace;
    position: absolute;
    transition: width 1s ease-in;
    border-radius: 5px;
    /* left: 13.5vw; */
}

.container{
    /* width: 48vw; */
    display: grid;
    grid-template-columns: repeat(3, 10vw);
    grid-template-rows: repeat(3, 10vw);
    row-gap: 2vw;
    column-gap: 2vw;
    font-family: "Varela Round", sans-serif;
    justify-content: center;
    position: relative;
}

.box {
    /* border: 2px solid black; */
    background-color: #785128;
    /* #5A330A; */
    border-radius: 20px;
    box-shadow: 7px 7px 18px #6E471E, inset 7px 7px #6E471E;
    font-size: 8vw;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box:hover {
    background-color: #A07950;
}

.boxText {
    color: #fd0707;
}

.gameInfo {
    /* width: 48vw; */
    padding: 10px 35px;
    font-family: "Varela Round", sans-serif;
}

.gameInfo h1 {
    color: #014dff;
    font-weight: bolder;
}

#excited_gif {
    opacity: 0;
    transition: opacity 1s linear;
}

#info{
    margin: 10px;
    font-size: 20px;
    color: #4040a1;
    font-weight: bold;
}

#reset{
    margin: 10px;
    padding: 6px 20px;
    background-color: #87c879;
    border-radius: 11px;
    box-shadow: 5px 5px #24ca9b52;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    font-family: "Varela Round", sans-serif;
}

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

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

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

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

/* applying media queries */

@media only screen and (max-width: 600px){
    nav{
        justify-content: center;
    }

    .gameContainer{
        flex-wrap: wrap;
    }

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

    .gameInfo{
        margin-top: 30px;
        width: 100vw;
        padding: 10px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

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

    .box{
        font-size: 16vw;
    }
}


