@font-face {
  font-family: 'ROGFonts'; 
  src: url('../customSource/fonts/ROGFonts-Regular.eot');
  src: url('../customSource/fonts/ROGFonts-Regular.eot?#iefix') format('embedded-opentype'),
      url('../customSource/fonts/ROGFonts-Regular.woff2') format('woff2'),
      url('../customSource/fonts/ROGFonts-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;

}
@font-face {
  font-family: 'PixelGameFont'; 
  src: url('../customSource/fonts/PixelGameFont.ttf'); 
}
@font-face {
  font-family: 'TradeGothicLTBold'; 
  src: url('../customSource/fonts/Trade-Gothic-LT-Bold.ttf'); 
}
@font-face {
  font-family: 'RobotoMedium'; 
  src: url('../customSource/fonts/Roboto/Roboto-Medium.ttf'); 
}
body{
   
}
#groupLight{
  position: fixed;
  top: 50px;
  right:40px;
  z-index: 10;
}
#groupLight ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
#groupLight ul li{
  width: 36px;
  height: 36px;
  background: url('./img/mark_dark.png');
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 50px;
  cursor: pointer;
}
#groupLight ul li.active{
  background: url('./img/mark_light.png');
}
#chapter2{
    background: url('./img/wall_floor_repeat_v2.png');
    height: 755px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-repeat:repeat-x;
    background-position: center 0;
    position: relative;
    margin-top: -35px;
}
.left{
    background: rgb(102, 188, 194);
    height: 100%;
    width: 459px;
    background: url('./img/left_v2.png');
}
.right{
    background: rgb(209, 36, 186);
    height: 100%;
    width: 459px;
    background: url('./img/right_v2.png');
    z-index: 8;
}

/* #chapter2 .floor-line{
    position: absolute;
    background: url('./img/floor_line_v2.png');
    background-position: center 0;
    background-repeat: no-repeat;
    width: 100%;
    height: 173px;
    bottom:0;
    z-index: 9;
    

} */

/*產品輪播  */
#carousel {
  position: absolute;
  width: 50%;
  /* height: 338px; */
  z-index: 999;
  font-family:'ROGFonts' ;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
#carousel .nav-carousel{
  width: 120%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  top: 50%;
  left:50%;
  transform: translate(-50%,-50%);
}
#carousel .nav-carousel .flex-prev , #carousel .nav-carousel .flex-next{
  transition: 0.2s;
}
#carousel .nav-carousel .flex-prev:hover{
  transform: translateX(-5px);
}
#carousel .nav-carousel .flex-next:hover{
  transform: translateX(5px);
}
#carousel .slides{
  display: none;
}
#carousel .slides li{
  display: flex !important;
  align-items: center;
}
#carousel .slides li .category{
  display: none;
}
#carousel .slides li .img{
  width: 40%;
  position: relative;
  margin-right: 45px;
}
#carousel .slides li .img .bg img{
  width: 100%;
}
#carousel .slides li .img .product{
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%,-50%);
  width: 80%;
} 
#carousel .slides li .img .product img{
  width: 100%;
}
/* #carousel .slides li .img:after{
  content:'';
  background:url('./img/graphic.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 400px;
  height: 300px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: -1;
} */
#carousel .slides li .info{
  width: 55%;
}
#carousel .slides li .info .name{
  color:#F7266B;
  font-size: 22px;
}
#carousel .slides li .info .description{
  color: #8c8c8c;
  margin-top: 15px;
  font-size: 15px;
  line-height: 18px;
  font-family: 'RobotoMedium';

}
.flexslider-controls{
  position: absolute;
   z-index: 999;
   width: 100%;
   top:0;  
}

.flex-control-nav {
    z-index: 999;
}
.flex-control-paging li a{background: #3e6289; }
.flex-control-paging li a:hover{background: #5c93ce; }
.flex-control-paging li a.flex-active{background: #f7266b; }
#nav-slider {
  position: absolute;
  top:90%;
  left:50%;
  transform: translate(-50%,-50%);
  display: none;
}
#nav-slider ul {
  display: flex;
  padding: 0;
}
#nav-slider ul li {
  border-radius: 50%;
  list-style-type: none;
  width: 5px;
  height: 5px;
  cursor: pointer;
  background: #3e6289;
  margin-right: 7px;
} 
#nav-slider ul li:hover{
  background: #5c93ce;
}
#nav-slider ul li.active{
  background: #f7266b;
}
.flex-control-nav li  {
    font-family:'ROGFonts' ;
    color:#4e637c;
    cursor: pointer; 
    padding-right: 35px;
    margin-right: 10px;
    /* border-right: 4px solid #4e637c; */
    position: relative;
}
.flex-control-nav li:after {
  content: '';
  position: absolute;
  height: 13px;
  width: 3px;
  background: #4e637c;
  right:5%;
  top:5px;

}
.flex-control-nav li:last-child:after {
  content: '';
  width:0px;
}

.flex-control-nav li.flex-active{
  color:#F7266B;
}


#footer{
    background: rgb(136, 132, 132);
    /* height: 600px; */
    font-size: 50px;

}
#footerBanner{
  border:0;
  margin-bottom: 0;
  position: relative;
}
#footerBanner .nav-carousel{
  width: 90%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  top: 50%;
  left:50%;
  transform: translate(-50%,-50%);
  z-index: 9999;
}

/* Run Game */
.customCover{
  position: relative;
}
.customCover .cover-mobile{
  display: none;
}
.customCover .cover img{
  display: block;
  width: 100%;
}
.customCover .btnGroup{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-self: start;
  align-items: center;
}
.customCover .runlogo{
  background: url('./img/startGame/type3button/ROG_run game_V1_ROG.png');
  background-repeat: no-repeat;
  background-position:center;
  background-size: contain; 
  width: 100%;
  height: 88px;
  display: block;
  margin-bottom: 15px;
  transition: 0.3s;
}
.customCover .runBtn{
  background: url('./img/startGame/type3button/ROG_run game_V1_button.png');
  background-repeat: no-repeat;
  background-position:center;
  background-size: contain;
  cursor: pointer;
  width: 100%;
  height: 120px;
}
.customCover .runBtn:hover{
  background: url('./img/startGame/type3button/ROG_run game_V1_buttonpush.png');
  background-repeat: no-repeat;
  background-position:center;
  background-size: contain;
  transform: translateY(5px);
}



@media (max-device-width: 480px) {
  #groupLight{ display: none; }
  #chapter2{
    background: url('./img/phone_bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    width: 100%;
    height: 100%;
    min-height: 423px;
    position: relative;
    margin-top: 0px;
  }
  #chapter2 .left, #chapter2 .right , #chapter2 .floor-line {
    display: none;
  }
  #chapter2 .flexslider-controls {
    display: none;
  }
  .customCover .cover-mobile{
    display: block;
  }
  .customCover .cover-mobile img{
    display: block;
    width: 100%;
  }
  .customCover .cover{
    display: none;
  }
  .customCover .cover img{
    width: 100%;
  }
  .customCover .btnGroup {
    top:50%;
    width: 50%;
  }
  .customCover .runlogo {
    height: 30px;
    margin-bottom: 5px;
  }
  .customCover .runBtn {
    height: 33px;
  }

  #carousel{
    width: 80%;
    top:36%;
    transform: translate(-50, -5%);

  }
  .slide_controll{
    display: none; 
  }
  .flex-control-paging{
    bottom: -32%;
  }

  .flex-control-paging li:after{
    
  }
  #carousel .nav-carousel{
    width: 110%;

  }
  #carousel .nav-carousel a{
    width: 20px;
  }
  #carousel .nav-carousel a img{
    width: 100%;
  }
  #carousel .slides li{
    flex-direction: column;
    text-align: center;
  }
  #carousel .slides li .category{
    display: block;
    color:#3e6289;
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    
  }
  #carousel .slides li .category:before{
    content:'';
    width: 10px;
    height: 3px;
    background: #3e6289;
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
  }
  #carousel .slides li .category:after{
    content:'';
    width: 10px;
    height: 3px;
    background: #3e6289;
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
  }
  #carousel .slides li .img  {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 25px;

  }
  #carousel .slides li .info{
    width: 80%;
    font-size: 12px;
  }
  #carousel .slides li .info .name{
    -webkit-text-size-adjust: none;
    font-size: 18px;
  }
  #carousel .slides li .info .description{
    /* font-weight: 100; */
    /* text-transform: uppercase; */
    font-size: 13px;
    -webkit-text-size-adjust: none;
  }
  #nav-slider{
    display: block;
  }

@media (min-width: 1280px) {
  .customCover .btnGroup {
    width: 40%;
  }
  .customCover .runlogo{
    margin-bottom: 10px;
  }
  .customCover .runlogo img, .customCover .runBtn img  {
    height:100%;
  }

}