body {
  font-family: "jf-openhuninn", "Noto Sans CJK TC", "Microsoft JhengHei", PingFang, STHeiti, sans-serif, serif;
  width: 100%;
  
  /*background: url("../images/bg.jpg") fixed left/cover;  */
  
  background: url("https://imgdl.h365.games/1920/official-website-asset/1/0164c2ff-kow_1920x960.jpg") fixed left/cover; 
  
  background-repeat: no-repeat;
  background-color:#000000;
  overflow-x: hidden;
  position: relative;
}

img {
  width: 100%;
  display: block;

}

a {
  cursor: pointer;
  text-decoration: none;
}

/* nav */
.navbar {
  width: 100%;
  height: 60px;
  background: #000000;
  position: fixed;
  top: 0;
  z-index: 100;
}

.logo {
  height: 30px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  margin: auto;
}

.logo img {
  width: auto;
  height: 30px;

}

.navbar_nav {
  width: 250px;
  height: calc(100vh - 60px);
  background: #000000;
  position: fixed;
  top: 60px;
  right: -250px;
  transition: .5s;

}

.navbar_nav a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 20px;
  border-bottom: 1px solid #818181;
  text-align: center;
}

.menu_btn {
  width: 50px;
  height: 50px;
  background: #000000;
  position: absolute;
  top: 5px;
  right: 10px;
  margin: auto;
}

.menu_btn span {
  opacity: 0;
  width: 1px;
  height: 1px;
}

.menu_btn::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 2px;
  left: 7px;
  background: #ffffff;
  top: 0;
  bottom: 0;
  margin: auto;
  box-shadow: 0 10px 0 #ffffff,
    0 -10px 0 #ffffff;
}

#menu_control {
  opacity: 0;
  position: absolute;
}

#menu_control:checked~.navbar_nav {
  right: 0;
}

.pc {
  display: none;
}

/********************************/
#body_link {
  width: 100%;
  height: 100vh;
  position: absolute;
  z-index: 1;

}

.container {
  width: 100%;
  /* height: 100vh; */
  margin: 0 auto;
  background-color: #000000a4;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.mySwiper {
  margin-bottom: 20px;

}

h1 {
  font-size: 32px;
  color: #ffffff;
  padding: 50px 10px 10px;

}

h5 {
  font-size: 18px;
  display: block;
  color: #ffffff;
  padding: 10px 0;
}

.games {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  text-align: center;
  padding: 30px 0 0 0;
}

.game {
  width: 38%;
}

.game img {
  width: 100%;
  margin: 0 auto;
  border-radius: 10%;
}

@media (min-width: 992px) {
  body {
    background: url("../images/bg.jpg") fixed center/cover;
  }

  .container {
    width: 70%;
    max-width: 1024px;
    margin: 0 auto;
    background-color: #00000000;
  }
  .games {
    gap: 20px;
  }
  .game {
    width: 20%;
  }
}

@media (min-width: 768px) {
  .menu_btn {
    display: none;
  }

  .navbar_nav {
    width: auto;
    height: 60px;
    display: flex;
    top: 0;
    right: 0;
  }

  .navbar_nav a {
    border-bottom: none;
  }

  .mobile {
    display: none;
  }

  .pc {
    display: block;
  }

  /********************************/
  h5 {
    font-size: 22px;
  }

  .games {
    gap: 30px;
  }

  .game {
    width: 20%;
  }


}

.game:hover {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;

  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
  }
  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05)
  }
  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
  }
  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05)
  }
  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
  }
}