*{
  box-shadow: border-box;
  font-family: "Roboto";
}
body{
  background-image: url('gamebg.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#gameTab{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 100vh;
  width: 100vw;
  padding: 20px;
}
#highestScore{
  padding: 5px;
  border-radius: 5px;
  color: white;
  background-color: #362302;
  width: 150px;
  text-align: center;
}
#infoGame{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  gap: 3em;
}
#infoGame p{
  font-size: 16px;
  color: yellow;
  background-color: purple;
  border-radius: 50px;
  padding: 10px;
  display: flex;
}
#color{
  text-shadow: -1px 1px 0 white,
  1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
  font-size: 30px;
  font-weight: 600;
  padding: 5px;
}
#remark{
  position: absolute;
  font-size: 30px;
  top: 30%;
  font-weight: 700;
  color: green;
  border-radius: 10px;
  font-weight: 700;
  padding: 5px;
  text-shadow: -1px 1px 0 white,
  1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
}
.grid {
  width: 65%;
  height: 30vh;
  display: grid;
  gap: 1em;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  counter-reset: boxes;
  background-image: url('board.jpg');
  border: 10px solid #362302;
  border-radius: 20px;
  padding: 5px;
  transition: all 0.5s;
}
.box {
  color: rgba(255,255,255,.7);
  height: 90%;
  font-family: sans-serif;
  counter-increment: boxes;
  width: 200px;
}
.box:hover {
  border: 5px solid white;
  transform: scale(0.8);
}
.blue {
  background: #4040e7;
  border: 5px solid rgba(0,0,0,.5);
}
.red {
  background: #db3c3c;
  border: 5px solid rgba(0,0,0,.5);
}
.green {
  background: #3ddb3d;
  border: 5px solid rgba(0,0,0,.5);
}
.yellow {
  background: yellow;
  border: 5px solid rgba(0,0,0,.5);
}

#nextBtn{
  display: none;
  text-align: center;
  font-size: 20px;
  background-color: purple;
  border: none;
  color: white;
  
  padding: 10px;
  border-radius: 20px;
}
#nextBtn:active{
  background-color: yellow;
  color: purple;
}

@media (max-width:480px) {
  .grid {
    width: 90vw;
    height: 50vh;
  }
  .box {
    width: 100px;
  }
}