body {
  background: #FFF9E7;
}
#content .game-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(50px, 1fr));
  grid-gap: 16px;
}
#content .game-list .game-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
}
#content .game-list .game-item a {
  display: block;
  position: relative;
}
#content .game-list .game-item a .img-box {
  width: 100%;
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}
#content .game-list .game-item a .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}
#content .game-list .game-item a .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px 12px 12px 12px;
  padding: 8px;
  display: flex;
  align-items: end;
  display: none;
}
#content .game-list .game-item a .cover h3 {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-family: b;
  font-weight: bold;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 19px;
  text-align: center;
  width: 100%;
}
#content .game-list .game-item:hover {
  transform: scale(1.1);
  border: 4px solid #FEB440;
}
#content .game-list .game-item:hover a .cover {
  display: flex;
}
#content .game-list .one {
  grid-area: 2/2/4/4;
}
#content .game-list .two {
  grid-area: 4/6/6/8;
}
@media (min-width: 860px) and (max-width: 1200px) {
  #content .game-list {
    grid-template-columns: repeat(8, minmax(50px, 1fr));
  }
  #content .game-list .one {
    grid-area: 2/2/4/4;
  }
  #content .game-list .two {
    grid-area: 4/5/6/7;
  }
}
@media (min-width: 750px) and (max-width: 859px) {
  #content .game-list {
    grid-template-columns: repeat(6, minmax(50px, 1fr));
  }
  #content .game-list .one {
    grid-area: 2/2/4/4;
  }
  #content .game-list .two {
    grid-area: 4/5/6/7;
  }
}
@media (min-width: 560px) and (max-width: 749px) {
  #content .game-list {
    grid-template-columns: repeat(5, minmax(50px, 1fr));
  }
  #content .game-list .one {
    grid-area: 2/2/4/4;
  }
  #content .game-list .two {
    grid-area: 4/1/6/3;
  }
}
@media (min-width: 0px) and (max-width: 559px) {
  #content .game-list {
    grid-template-columns: repeat(3, minmax(50px, 1fr));
  }
  #content .game-list .one {
    grid-area: 2/2/4/4;
  }
  #content .game-list .two {
    grid-area: 4/1/6/3;
  }
}
