@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
} 
nav{
  display: flex;
  height: 80px;
  width: 100%;
  background: #1b1b1b;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px 0 100px;
  color: white;
  flex-wrap: wrap;
  box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.32),
              0 6px 16px 0 rgba(0, 0, 0, 0.24),
              0 6px 24px 0 rgba(0, 0, 0, 0.20),
              0 6px 32px 0 rgba(0, 0, 0, 0.14);
}
nav .logo{
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}
nav ul{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
nav ul li{
  margin: 0 5px;
}
nav ul li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
nav ul li a.active,
nav ul li a:hover{
  color: #111;
  background: #fff;
}
nav .menu-btn i{
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}
sub{
  font-size: 40px;
  color: red;
}
input[type="checkbox"]{
  display: none;
}
@media (max-width: 1000px){
  nav{
    padding: 0 40px 0 50px;
  }
}
@media (max-width: 850px) {
  nav .menu-btn i{
    display: block;
  }
  #click:checked ~ .menu-btn i:before{
    content: "\f00d";
  }
  nav ul{
    position: absolute;
    top: 80px;
    left: -100%;
    background: #4f3222;
    background: #1b1b1b;
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    z-index: 2;
  }
  #click:checked ~ ul{
    left: 0;
  }
  nav ul li{
    width: 100%;
    margin: 40px 0;
  }
  nav ul li a{
    width: 100%;
    margin-left: -100%;
    display: block;
    font-size: 20px;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  #click:checked ~ ul li a{
    margin-left: 0px;
  }
  nav ul li a.active,
  nav ul li a:hover{
    background: none;
    color: cyan;
  }
}
/*.content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: -1;
  width: 100%;
  padding: 0 30px;
  color: #1b1b1b;
}
.content div{
  font-size: 40px;
  font-weight: 700;
}*/
body{
  background-color: #9b7740;
}
/*nav{
  background-color: #4f3222;
  color: white;
  height: 75px;
  font-size: 28px;
  display: flex;
  align-items: center;
  padding: 0 34px;
  font-family: 'Roboto',Sans-Serif;
  box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.32),
              0 6px 16px 0 rgba(0, 0, 0, 0.24),
              0 6px 24px 0 rgba(0, 0, 0, 0.20),
              0 6px 32px 0 rgba(0, 0, 0, 0.14);
}
nav ul{
  list-style-type: none;
}*/
.gamecontainer{
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.container{
  display: grid;
  grid-template-rows: repeat(3,10vw);
  grid-template-columns: repeat(3,10vw);
  font-family: 'Roboto',Sans-Serif;
  position: relative;
  background-color: #4f3222;
  box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.32),
              0 6px 16px 0 rgba(0, 0, 0, 0.24),
              0 6px 24px 0 rgba(0, 0, 0, 0.20),
              0 6px 32px 0 rgba(0, 0, 0, 0.14);
}
.box{
  border: 4px solid #d4ac6e;
  font-size: 8vw;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.box:hover{
  background-color: #8b6f47;
}
.boxtext{
  color: white;
}
.info{
  font-size: 25px;
}
.gameinfo{
  padding: 0 44px;
  font-family: 'Roboto',Sans-Serif;
}
.gameinfo h1{
  font-size: 1.9rem;
  padding: 0 0 10px;
  font-weight: 900;
}
.imgbx img{
  width: 0;
  transition: width 1s ease-in-out;
}
.br0{
  border-right: 0;
}
.bl0{
  border-left: 0;
}
.bt0{
  border-top: 0;
}
.bb0{
  border-bottom: 0;
}
#reset{
  margin: 0 23px;
  padding: 6px 14px;
  background: #5e4a2f;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Roboto',Sans-Serif;
  font-size: 20px;
  font-weight: bolder;
}
.line{
  height: 5px;
  width: 0;
  position: absolute;
  background-color: white;
  border-radius: 2px;
  transition: width 1s ease-in-out;
}
@media screen and (max-width: 800px){
  .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);
  }
}
