/*!
 * Start Bootstrap - Heroic Features (https://startbootstrap.com/template-overviews/heroic-features)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-heroic-features/blob/master/LICENSE)
 */
body {
  padding-top: 60px;
  font-family: Microsoft JhengHei;
}
input,
select,
a,
option,
textarea {
  outline: none;
  text-decoration: none;
}
option {
  font-weight: bold;
}

/*----背景畫布----*/
.bg_box {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: hidden;
  pointer-events: none;
}
.star1,
.star2 {
  position: absolute;
  width: 100vw;
  height: 100vw;
  margin-top: -25%;
}
.star1 {
  background: url(../images/background_particle_c.png) no-repeat center;
  background-size: cover;
  animation: starSpin 180s infinite linear;
}

.star2 {
  background: url(../images/background_particle_d.png) no-repeat center;
  background-size: cover;
  animation: starSpin2 220s infinite linear;
}
@keyframes starSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes starSpin2 {
  from {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(540deg);
  }
}
.dark-blue {
  background: #1b1e21;
}
.kg-yellow {
  background: #f6c55e;
}
.kg-blue {
  background: #1d96d5;
}
.kg-red {
  background: #e8424c;
}
.font-gray {
  color: #b3b3b3;
}
.font-style1 {
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
  line-height: 30px;
}
.bg-blue {
  background: rgb(19, 21, 24); /* Old browsers */
  background: linear-gradient(
    to bottom,
    rgb(19, 21, 24) 30%,
    rgb(52, 59, 73) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.footerBg {
  background-color: rgb(19, 21, 24, 0.8);
}
/*----------top-hander----------*/

.hander_box {
  line-height: 60px;
  height: 60px;
}
.kg_logo {
  width: 150px;
  height: 49px;
  background: url(../images/kggLogo.png) no-repeat center;
}
.lang_box {
  float: right;
}
.lang_box select {
  border: none;
  height: 35px;
  padding: 5px;
  border-radius: 5px;
  font-weight: bold;
  background-color: #2e353a;
  color: #fff;
}
/*----------body----------*/
.banner_box {
  width: 100%;
  max-height: 400px;
  height: 60vh;
  background: url(../images/BN/bg.png) no-repeat center;
  background-size: cover;
  color: #fff;
}

.banner_content .container {
  width: 100%;
  max-height: 400px;
  height: 60vh;
  position: relative;
}

.banner_content .right_content {
  position: absolute;
  width: 37%;
  right: 0;
  top: 50%;
  margin-top: -10%;
}
.banner_content .title {
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 8px #fff;
  font-size: 3.5rem;
  line-height: 1.2;
}
.banner_content .text {
  color: #e6e6e6;
}
.banner_1 {
  background: url(../images/BN/bn1.png) no-repeat center;
  background-size: cover;
}
.banner_2 {
  background: url(../images/BN/bn2.png) no-repeat center;
  background-size: cover;
}
.banner_3 {
  background: url(../images/BN/bn3.png) no-repeat center;
  background-size: cover;
}
.banner_4 {
  background: url(../images/BN/bn4.png) no-repeat center;
  background-size: cover;
}

.demoGameBtn {
  display: block;
  margin: auto;
  margin-top: 30px;
  border-radius: 5px;
  width: 150px;
  border: 1px solid rgb(253, 191, 57);
  line-height: 45px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 2px 2px #4c4c4c;
  background: rgb(253, 191, 57);
}
.demoGameBtn:hover {
  font-size: 17px;
  border: 1px solid;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.4);
  outline-color: rgba(255, 255, 255, 0);
  transition: all 0.3s;
  background: rgb(241, 179, 45);
}

a:hover {
  color: #fff;
  text-decoration: none;
}

.hotGame,
.newGame {
  width: 95px;
  height: 25px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 0 0 15px 0;
  border-right: 1pt #000 solid;
  border-bottom: 1pt #000 solid;
}
.hotGame {
  background: #dd1a24;
}
.newGame {
  background: #ffb300;
}
.hoticon {
  background: url(../images/hoticon.png) no-repeat center;
  background-size: 90%;
  width: 100%;
  height: 120%;
  margin-top: -10px;
}
.newicon {
  background: url(../images/newicon.png) no-repeat center;
  background-size: 90%;
  width: 100%;
  height: 120%;
  margin-top: -10px;
}

/*-------Game card-------*/
.icon_box {
  position: relative;
  overflow: hidden;
}
.icon_img {
  width: 100%;
}
.demoBtn_box {
  position: absolute;
  top: -100%;
  height: 100%;
  transition: all 0.5s;
  cursor: pointer;
  color: #fff;
  width: 100%;
}
.demoBtn_box:hover {
  position: absolute;
  top: 0;
}
.demoBtn_box .content {
  background: rgba(0, 0, 0, 0.9);
  width: 100%;
  height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.demoBtn_box .content .font-style1 {
  font-weight: bold;
}
.demoBtn_box .blank {
  background: rgba(0, 0, 0, 0);
  width: 100%;
  height: inherit;
}
.demoBtn {
  width: 60%;
  padding: 10px 0;
  margin: 0 auto;
  margin-bottom: 15px;
  border-radius: 5px;
  transition: 0.5s;
  max-width: 180px;
}
.kg-red:hover {
  background-color: #b10e19;
}
.kg-blue:hover {
  background-color: #0056a7;
}
.card .card-content {
  line-height: 20px;
}
.card-body {
  text-align: left;
}
.card-title {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 25px;
  color: #4d4d4d;
}
.greyBottomBr {
  width: 100%;
  height: 7px;
  background: linear-gradient(to right, rgba(168, 168, 168, 1) 0%, rgba(103, 105, 110, 1) 100%);
}

.comingSoon {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  font-size: 30px;
  color: #fff;
  font-weight: bold;
  text-shadow: 0px 2px 2px #4c4c4c;
}
.CSgray {
  -webkit-filter: grayscale(1);
}
.flexColumn {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/*--------phone---------*/
.phSize {
  display: none;
}
.phCard {
  position: relative;
  background: #182530;
  border: #2a5b9c 1pt solid;
  color: #fff;
  font-weight: bold;
}
.phCard .content {
  display: flex;
}
.phCard .font-style1 {
  font-size: 14px;
  margin: 10px 0 !important;
}
.phCard .demoBtn {
  font-size: 18px;
  border-radius: 0;
  margin-bottom: 0px;
  padding: 5px 0;
  cursor: pointer;
}
.phCard .comingSoon {
  line-height: 50px;
}
/*-------Contact us-------*/
.contactBtn {
  width: 25%;
  text-align: center;
  bottom: 9%;
  color: #fff;
  background: #33445f;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px;
  max-width: 110px;
  min-height: 85px;
  margin: 10px auto;
  transition: all 0.3s;
  cursor: pointer;
}
.contactBtn:hover {
  background: #3e567e;
}
.contactBtn img {
  width: 50%;
  margin: auto;
}
.contact_box p {
  color: #b3b3b3;
}
.contact_box input,
.contact_box textarea {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 0.3rem;
  line-height: 35px;
  padding: 0 5px;
  background-color: rgba(113, 166, 255, 0.1);
  border: #1e406b 1pt solid;
  color: #fff;
}
::placeholder {
  color: rgb(161, 161, 161);
  opacity: 1; /* Firefox */
}
.contact_box .demoGameBtn {
  margin-top: 15px;
  margin-bottom: 5px;
  background: #e8424c;
  border: 1px solid #e8424c;
  cursor: pointer;
}
.contact_box .demoGameBtn:hover {
  border: 1px solid #ffcbce;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.4);
}

/*-------RWD-------*/
@media (max-width: 1024px) {
  .banner_content .title {
    font-size: 2.5rem;
  }

  .banner_content .text {
    font-size: 14px;
    line-height: 25px;
  }
  .banner_content .right_content {
    width: 40%;
    margin-right: 26px;
  }
  .demoGameBtn {
    margin-top: 15px;
  }
}
@media (max-width: 800px) {
  .webSize {
    display: none;
  }
  .phSize {
    display: block;
  }
  .contactBtn {
    font-size: 14px;
  }
  .comingSoon {
    font-size: 25px;
  }
}
@media (max-width: 850px) {
  .banner_content .right_content {
    margin-top: -12%;
  }
  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    display: none;
  }
}

/*-------boot 硬幹-------*/
@media (min-width: 1200px) {
}
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: 1200px;
}
.carousel-control-next,
.carousel-control-prev {
  width: 8% !important;
}
.carousel-control-next-icon {
  width: 24px;
  height: 40px;
  background-image: url(../images/right_arrow.png);
}
.carousel-control-prev-icon {
  width: 24px;
  height: 40px;
  background-image: url(../images/left_arrow.png);
}
.card,
.card-img,
.card-img-top {
  border-radius: 0;
}
.card-body {
  padding: 1rem;
}
.col-6 {
  padding-left: 0 !important;
}
.phSize .row {
  padding-left: 15px;
}
.modal-content {
  background: #172027;
  border: #2a5b9c 1pt solid;
  color: #fff;
  border-radius: 0.5rem;
}
.modal-header {
  border-bottom: #2a5b9c 1pt solid;
}
