@font-face {
  font-family: "Montserrat-Black";
  src: url("/fonts/Montserrat-Black.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat-Bold";
  src: url("/fonts/Montserrat-Bold.ttf") format("truetype");
}


@font-face {
  font-family: "Montserrat-Light";
  src: url("/fonts/Montserrat-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat-Regular";
  src: url("/fonts/Montserrat-Regular.ttf") format("truetype");
}


html, body {
  scroll-behavior:smooth; 
  color: #FFFFFF;
  background: #003b65;
  font-family:Montserrat-Light;
  scroll-behavior:smooth; 
}
a:hover{
  text-decoration:none;
}
/* 横线 */
.line{
  width: 80px;
  height: 6px;
  background: #ffffff;
  margin: 0 auto;
}

/* 导航栏 */
#header{
  background: rgba(0, 0, 0,0);
}
#header.change{
  background: #001e33;
}
#nov_none{
  display: none;
}
#header .bi-list{
  color: #07d0ff;
  font-size: 30px;
}
#header .bi-x-lg{
  color: #07d0ff;
  font-size: 30px;
}
#header button{
  position: absolute;
  top:30px;
  right: 0;
  padding: 0 0 0 0 ;
  margin-right: 1%;
  border:unset;
}
#header .navbar{
  justify-content: space-between; 
}
#header .logo{
  margin-right: 0;
  text-align: center;
}
#header .logo img{
  padding:10px 0;
}
#header li{
  padding: 0 5px;
}
#header li a{
  font-size: 22px;
  padding: 5px 10px;
  font-family: 'Montserrat-Bold';
  font-weight: bold;
  text-align: left;
  color: #FFFFFF;
  letter-spacing: 1px;
}
#header li.active a{
  background: #00a1c7;
  border-radius: 25px;
}
#header li:hover a{
  background: #00a1c7;
  border-radius: 25px;
  cursor:pointer;
}
.dropdown-item:hover{
  background-color:none;
  background-color: #fefefe;  
}
@media screen and (max-width: 1200px) {
  #header .navbar{
    justify-content:center; 
  }
}
@media screen and (max-width: 991px) {
  #header li.active a{
    background: unset;
    color: #07d0ff;
  }
  #header li:hover a{
    background: unset;
    color: #07d0ff;
    cursor:pointer;
  }
  #nov_none{
    display: block;
  }
  #navbarSupportedContent{
    text-align: left;
    background-color: #001e33;
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
  }
}
/* 首页 */
.bg_main h6,.bg_main p{
  font-size: 1.9rem;
  font-weight: 700;
  color: #ffffff;
}
.bg_main p{
  margin-bottom: 0;
  color: #ffffff;
}
.bg_home{
  background-image: url('../images/bg01.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position:center ;
}
#home{
  padding: 100px 0;
}
#home .text{
  width: 100%;
  padding-top: 5%;
}
#home h1{
  font-size: 5vw;
  font-weight: 700;
}
#home p{
  font-size: 2.3vw;
  font-family: 'Montserrat-Bold';
  font-weight: bold;
  text-align: center;
  color: #33aed3;
  width: 70%;
  margin: 20px auto;
}
#home h4{
  font-size: 2.5vw;
  font-family: 'Montserrat-Regular';
  font-weight: 200;
  color: #ffffff;
}
@media screen and (min-width: 1700px) {
  #home h1{
    font-size: 78px;
  }
  #home p{
    font-size: 34px;
  }
  #home h4{
    font-size: 38px;
  }
}
@media screen and (max-width:767px) {
  #home h1{
    font-size: 40px;
  }
  #home h1 span{
    display: block;
  }
  #home p{
    font-size: 18px;
  }
  #home h4{
    font-size: 20px;
  }
}
/* 联系我们 */
#contact{
  padding: 90px 0;
  background-image: url('../images/bg03.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position:top center;
}
#contact .bi-telephone-fill{
  color: #ffffff;
  font-size: 30px;
}
#contact h5{
  font-size: 2.5rem;
  color: #fefefe;
  font-family: 'Montserrat-Bold';
  font-weight: bold;
  margin-bottom: 1%;
}
#contact p{
  font-size: 24px;
  color: #fefefe;
  font-weight: 400;
}
#contact .content{
  width: 100%;
  margin: 0 auto;
}
#contact .content p{
 line-height: inherit;
 margin-bottom: 10px;
}
#contact .content .email{
  text-align: center;
  border-radius: 30px;
  background-color:#00a1c7 ;
  padding: 15px;
  margin: 1% 0;
}
#contact .content .email a{
  display: inline;
  font-size: 16px;
  color: #fefefe;
}
@media screen and (max-width: 767px) {
  #contact{
    padding:10% 0 31px;
  }
  #contact h5{
    font-size: 2rem;
    margin-bottom: 5%;
  }
  #contact .content .email{
    margin: 5% 0;
  }
}

/* 游戏 */
/* 游戏同用 */
#row_nav{
  font-size: 2rem;
  font-family: 'Montserrat-Bold';
  font-weight: bold;
  color: #ffffff;
  padding: 2% 0 10px;
  border-bottom-style:solid;
  border-width: 1px;
  border-color: #07d0ff;
  width: 99%;
  margin-left: 1.33333%;
}
#row_nav a{
  color: #07d0ff;
}
#row_nav .switch {
  padding-right:0;
  padding-left: 35px;
}
#row_nav .switch a{
  font-size: 16px;
  border-radius: 20px;
  color: #ffffff;
  padding: 5px 35px;
  background-color: #373b44;
}
#row_nav .switch a:hover{
  color: #00a1c7;
}
#row_nav span{
  margin: 0 1%;
}
#row_nav a:hover{
  color: #ffffff;
}
.game_show{
  margin: 30px 0;
  margin-left: 1.3333%;
  padding:0;
}
.game_details{
  margin: 30px 0;
  margin-left: 6.3333%;
  padding:0;
}
.game_details #Publication{
  margin-top: 8%;
  font-size: 1.6rem;
  font-weight: 700;
  border-top-style: solid;
  border-color: #ffffff;
  border-width: 1px;
  letter-spacing: 2px;
}
.game_details a{
  display: table;
  margin: 2% 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #00a1c7;
  height: 31px;
}
/* 下划线 */
.game_details a:hover::after{
  width: 100%;
}
.game_details a::after{
  height: 2px;
  bottom: -2px;
  background-color: #00a1c7;
  content: "";
  display: inline-block;
  transition: all .3s ease;
  transform-origin: center;
  width: 0%;
}

/* .dlbtn{
  text-align: center;
}
.dlbtn a{
  color: #ffffff;
  border-radius: 30px;
  padding: 5px 15px;
  background-color: #373b44;
  width: 70%;
}
.dlbtn a:hover{
  color: #78AFB6;
} */

@media screen and (max-width: 1200px) {
  #row_nav{
    font-size: 2rem;
    width: 92%;
    margin-left: 4%;
  }
  .game_show{
    margin-left: unset;
  }
  .game_details{
    margin-left: unset;
  }
}
@media screen and (max-width: 991px){
  #row_nav .switch {
    padding-left: 0;
  }
}
@media screen and (max-width: 767px) {
  #row_nav{
    font-size: 24px;
  }
  #row_nav .switch {
    margin: 15px 0;
  }
}
@media screen and (max-width: 575px) {
  #row_nav{
    font-size: 20px;
  }
  .game_details a,.game_details #Publication{
    font-size: 1rem;
  }
  #row_nav .switch a{
    padding: 5px 21px;
  }
}
@media screen and (max-width: 425px) {
  #row_nav{
    font-size: 16px;
  }
}
@media screen and (max-width: 340px) {
  #row_nav{
    font-size: 12px;
  }
}

/* 游戏列表 */
#gamesList{
  padding: 100px 0 50px;
  min-height: 95vh;
  background-image: url('../images/bg02.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position:center ;
}
#gamesList.home_gamesList{
  padding: 10px 0;
  min-height: unset;
}
#gamesList .title{
  padding: 30px 0;
}
#gamesList .title h2{
  font-weight: 700;
  font-size: 40px;
  font-family: 'Montserrat-Bold';
  font-weight: bold;
}
#gamesList .title .underscore{
  margin: 20px 0;
}
#gamesList .title p{
  font-size: 20px;
  margin: 0 auto;
  width: 83%;
}
#gamesList ul{
  width: 100%;
  padding-left: 0;
}
#gamesList .box{
  margin-bottom: 50px;
  width: 33%;
  list-style: none;
  display: inline-block;
  padding: 0 20px;
  vertical-align:text-top;
}
#gamesList .box a{
  display: block;
  position: relative;
  font-size: 2rem;
  color: #FFFFFF;
  font-weight: 700;
  text-align: center;
}
#gamesList .box p{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #07d0ff;
  margin: 5px 0;
}
#gamesList .box .show{
  width: 100%;
  /* border: 4px solid #495E77 ; */
  border-radius: 10px;
  margin-bottom: 10px;
}
#gamesList .box .cover{
  display: none;
  position: absolute;
  width: 100%;
  height: calc(100% - 10px);
  top:0;
  /* border: 4px solid #495E77 ; */
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.7);
}
#gamesList .box a span{
  display: none;
  position: absolute;
  width: 96.5%;
  top: 40%;
  left:50%;
  transform:translate(-50%,-50%);
  font-size: 20px;
  color: #ffffff;
  padding: 0 2%;
}
#gamesList .home_games{
  font-size: 1rem;
  color: #ffffff;
  text-align: left;
}
#gamesList .box a:hover span,#gamesList .box a:hover .cover,#gamesList .box a:hover .cover_home{
  display: block;
}
#gamesList .box .games_name{
  display: table;
  margin:auto;
}
#gamesList .box .games_name:hover::after{
  width: 100%;
}
#gamesList .box .games_name::after{
  height: 2px;
  bottom: -2px;
  background-color: #00a1c7;
  content: "";
  display: inline-block;
  transition: all .3s ease;
  transform-origin: center;
  width: 0%;
}
@media screen and (min-width: 1200px) {
  #gamesList .title{
    padding: 3% 0;
  }
  #gamesList .title .underscore{
    margin: 1% 0;
  }
  #gamesList .box{
    margin-bottom: 5%;
  }
}
@media screen and (max-width: 1200px) {
  #gamesList .box{
    width: 48%;
  }
}
@media screen and (max-width: 767px) {
  #gamesList .title{
    padding: 5% 0;
  }
  #gamesList .title .underscore{
    margin: 5% 0;
  }
  #gamesList .box{
    margin-bottom: 7%;
  }
  #gamesList .box{
    width: 100%;
  }
}

/* 游戏详情页 */
.bg_game{
  background-image: url('../images/bg02.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position:center;
}
#game{
  min-height: 95vh;
  padding: 100px 0 30px;
}
#game .game_details .text{
  min-width: 200px;
  font-size: 20px;
}

/* 协议 */
.bg_protocol{
  background-image: url('../images/bg03.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 200px;
}
#protocol{
  padding: 100px 0 0;
}
#protocol .game_privacy{
  width: 100%;
  margin:auto 0px;
  margin-top: 30px;
  padding-bottom: 30px;
}
#protocol .game_privacy a{
  color: #07d0ff;
}
#protocol .game_privacy a:hover{
  text-decoration: underline;
}
#protocol .game_privacy .icon{
  margin: 30px 0;
  margin-left: 1.3333%;
  padding:0;
}
#protocol .game_privacy .text{
  margin: 30px 0;
  font-size: 20px;
  margin-left: 6.3333%;
  padding:0;
}
@media screen and (max-width: 1200px) {
  #protocol .game_privacy .text{
    margin-left:unset;
  }
  #protocol .game_privacy .icon{
    margin-left:unset;
  }
}

/* 页脚 */
footer{
  padding: 10px 0;
  background: #001e33;
  box-shadow: 0.5px 0.87px 0px 1px rgba(49,56,70,0.75) inset;
  color: #FFFFFF;
}
@media screen and (max-width: 500px) {
  footer span{
    display: block;
  }
}

#error{
  padding-top: 45px;
  height: 100%;
  background-color: #0C1929;
}
#error h1{
  font-size: 140px;
}
#error>div{
  justify-content: center;
  width: 100%;
  position: relative;
  top: 15%;
}
@media screen and (max-width: 991px) {
  #error>div{
    justify-content: unset;
    top: 7%;
  }
  #error .text{
    margin-left: 16.666%;
    position: absolute;
    top: 110%;
  }
  #error .img{
    margin-left: 16.666%;
  }
}
@media screen and (max-width: 600px) {
  #error{
    height: 140%;
  }
  #error>div{
    justify-content: center;
    top: 7%;
  }
  #error .text,#error .img{
    margin-left: unset;
  }
}
/* 轮播 */
.swiper-container{
  --swiper-navigation-size: 80px;/* 设置按钮大小 */
}
.swiper-wrapper{
  height: auto;
}
.swiper-slide{
  height: auto;
}
.swiper-button-prev{
  left: 0;
}
.swiper-button-next{
  right: 0;
}
@media screen and (max-width: 600px) {
  .swiper-container{
    --swiper-navigation-size: 10vw;/* 设置按钮大小 */
  }
}
.gallery-thumbs{
  --swiper-navigation-size: 40px;/* 设置按钮大小 */
}
.gallery-thumbs .swiper-slide{
  border: solid 1px #78AFB6;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position:center;
}
.gallery-thumbs .swiper-button-prev,.gallery-thumbs .swiper-button-next{
  opacity: 0.5;
}
.gallery-thumbs .swiper-button-prev:hover,.gallery-thumbs .swiper-button-next:hover{
  opacity: 1;
}
.swiper-button-disabled{
  display:none;
}
