body {
  font-family: "jf-openhuninn", "Noto Sans CJK TC", "Microsoft JhengHei", PingFang, STHeiti, sans-serif, serif;
  width: 100%;  
  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;
}

/********************************/
.promotion{
  width: 100%;
  max-width: 2560px;
  margin: 0 auto;
  padding: 60px 0 0 0;  
}
.promotion_main{
  width: 100%;
  margin: 0 auto -10%;  
}

.swiper_container{
  width: 100%;
  margin: 0 auto;
  position: relative;   
}
.swiper-button-prev,
.swiper-button-next {
  display: none;
}
.swiper-button-prev {  
  left: -3%; 
}

.swiper-button-next {
  right: -3%; 
}
.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: -20px;
}

.swiper-slide img{
  border-radius: 20px;  
}
.container {
  width: 90%;
  /* height: 100vh; */
  margin: 0 auto;  
  padding: 56px 0;
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 28px;
  color: #ffffff;  
  font-weight: bold;
  margin-bottom: 16px;
  padding: 0 0 0 8px;
}

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

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

.game {  
  flex: 0 1 calc(100% - 16px);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 16px 16px 0;
  border: solid 2px #2b2b2b;
}

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

@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;
  }
  

  /********************************/
  
  .promotion_main{    
    margin: 0 auto 3%;  
  }  
 
  .games {
    gap: 16px;
  }
  .game {
    flex: 0 1 calc(50% - 16px);    
  }

}

@media (min-width: 992px) {  

  
}
@media (min-width: 1400px) {
  .promotion_main{    
    margin: 0 auto 2%;  
  }
  .swiper_container{
    width: 90%;      
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: block;
  }
  .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #00000000;
  }
  h1 {
    font-size: 32px; 
    padding: 0 0 0 12px;   
  }
  h5 {
    font-size: 22px;
  }
  .games {
    gap: 24px;
  }
  .game {
    flex: 0 1 calc(25% - 24px);
    
  }
  
}

.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)
  }
}