* {
    margin: 0;
    padding: 0;
}

/* nav and logo */

nav {
    background-color: #041a24;
    color: white;
    height: 70px;
    font-size: 20px;
    display: flex;
    align-items: center;

    justify-content: space-between;
    font-family: 'Black Ops One', cursive;
    /* font-family: 'Rubik Iso', cursive; */
}

nav ul {
    list-style-type: none;
    display: flex;

}

nav ul li {
    padding: 0px 12px;


}

#logo {
    display: flex;
    align-items: center;
    /* Align logo vertically in the navbar */
}

#logo img {
    height: 55px;
}


/* main game */

.gameContainer {
    background-color: #18a295;
    display: flex;
    justify-content: center;
    
    min-height: 100vh;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 10vw);
    grid-template-rows: repeat(3, 10vw);
    font-family: 'Rubik Iso', cursive;
    margin-top: 25px;
    /* flex-grow: 1;  */
    position: relative;

}

.box {

    border: 2px solid black;
    font-size: 8vw;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box:hover {

    background-color: #00BCD4;
}

.gameInfo {
    padding: 100px 60px;
    font-family: 'Black Ops One', cursive;

}

.imgbox img {
    width: 0;
    transition: width 1s ease-in-out;
}
.info{
    font-size: 25px;
}
#reset {
    margin: 9px 30px;
    padding: 8px 72px;
    background-color: #1842a2;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Black Ops One', cursive;
    font-size: 20px;
    font-weight: bolder;
}
#reset:hover {
    background-color: lightskyblue;
}

/* utility class for border */

.br-0 {
    border-right: 0;
}

.bl-0 {
    border-left: 0;
}

.bt-0 {
    border-top: 0;
}

.bb-0 {
    border-bottom: 0;
}
.background {
    background: #041a24;
    background-size: cover;
    background-blend-mode: darken;
    
  }
  .text-footer {
    text-align: center;
    padding: 30px 0;
    font-family: 'Black Ops One', cursive;
    display: flex;
    justify-content: center;
    color: white;
    flex-shrink: 0;
  }


  .line{
    background-color: white;
    height: 10px;
    width: 0;
    position: absolute;
    transition: width 1s ease-in-out;
    border-radius: 5px;
    
    

  }

/* responsive */

@media screen and (max-width:900px) 
{
    

    nav {
        font-size: 16px; /* Adjust font size for smaller screens */
    }
    .gameContainer{
        flex-wrap: wrap;
        
        display: inline-flex;
        height:700px;
    }

    .container {
        grid-template-columns: repeat(3, 20vw); /* Adjust grid column width */
        grid-template-rows: repeat(3, 20vw); /* Adjust grid row height */
    }

    .box {
        font-size: 10vw; /* Adjust font size for smaller screens */
    }

    .gameInfo {
        padding: 50px 30px; /* Adjust padding for smaller screens */
    }
    .gameInfo h1{
        font-size: 1.5rem;
    }

    #reset {
        margin: 9px 110px;
        padding: 4px 11px;
    }
    .box{
        font-size: 15vw;
    }
    .text-footer{
        font-size: 11px;
    }
    .info{
        padding-left: 78px;
    }
    .line{
        display: none;
    }
   
}
   

