/*---- font ----*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.0/font/bootstrap-icons.css");
@import url("https://fonts.googleapis.com/css2?family=Anton&family=Noto+Emoji&family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");

body {
  font-family: "Noto Sans TC", sans-serif;
  overflow-x: hidden;
  margin: 0 auto;
}

ol,
ul {
  padding-left: 0;
}

a {
  text-decoration: none;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}

a:hover {
  text-decoration: none;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}

.container {
  position: relative;
}

.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}

.hvr-shrink:hover {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}

/* section1 */
.section1 {
  position: relative;
  background: url(../images/visual.jpg) no-repeat center top;
  background-size: cover;
  overflow: hidden;
}

.section1 video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  object-fit: cover;
  object-position: top;
}

header {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
}

.homebtn {
  display: inline-block;
  font-size: 16px;
  padding: 6px 16px;
  background: #0070cc;
  color: rgb(255, 255, 255);
  font-weight: 500;
  border-radius: 50rem;
  border: 1px solid #fff0;
}

.homebtn:hover {
  background: #ffffff;
  color: #0070cc;
}

/* 影片 */
.example-marquee {
  position: relative;
}

.content {
  padding: 8% 0.75rem 0% 0.75rem;
  display: block;
  width: 100%;
  min-height: 100vh;
  z-index: 1;
  position: relative;
  align-content: space-between;
  justify-content: center;
  align-items: center;
}

.content p,
.device {
  display: none;
}

.txt {
  margin: 1rem;
}

h1 {
  text-align: center;
  font-size: 5rem;
  font-weight: 900;
  background: -webkit-linear-gradient(270deg, #ffffff, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0rem 0rem 3px #00000094);
}

.dlpatch,
.gameapp {
  text-align: center;
  padding-top: 40vh;
}

.gameapp {
  display: none;
}

.dlbtn {
  transition: 0.3s ease-in-out;
  margin: 1%;
}

.dlbtn:hover {
  -webkit-transform: translate(0, -10px);
  transform: translate(0, -10px);
  filter: brightness(1.1) drop-shadow(0px 0px 6px #ffffff);
}

/* section2 */

.section2 {
  background-image: linear-gradient(168deg, #0070cc 0%, #005ca7 100%);
  padding: 60px 0;
}

.section2,
.section3 {
  padding: 2% 0;
}

h2 {
  padding-bottom: 30px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 3rem;
}

h4 {
  padding: 13px 0 8px 0;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
}

.central {
  text-align: center;
  border: 1px #fff solid;
  padding: 20px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
  height: 100%;
  background: linear-gradient(
    126.6deg,
    rgba(255, 255, 255, 0.12) 28.69%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: 0.3s ease-in-out;
  border-radius: 24px;
}

.central:hover {
  background: linear-gradient(
    126.6deg,
    rgba(255, 255, 255, 0.12) 28.69%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-transform: translate(0, -10px);
  transform: translate(0, -10px);
  box-shadow: 0 6px 10px #48c6ef;
}

.central img,
.central h4 {
  filter: drop-shadow(0 0px 6px #48c6ef);
}

.central p {
  font-weight: 300;
  font-size: 1rem;
  color: #fff;
  opacity: 0.9;
}

/* section3 */
.section3 {
  background-color: #fff;
  /*     background: url("https://images1.iwplay.com.tw/image/ht/events/pcdl/images/bg.jpg") repeat 0 0;
     */
  animation: bg-scrolling-reverse 4s infinite;
  animation-timing-function: linear;
}

@keyframes bg-scrolling-reverse {
  0% {
    background-position: 100px 100px;
  }
}

@keyframes bg-scrolling {
  100% {
    background-position: 100px 100px;
  }
}

.section3 h2 {
  color: #064d64;
}

.section3 p {
  font-weight: 400;
  color: #747474;
  font-size: 16px;
  margin-top: 5px;
}

.section3 span {
  font-weight: 400;
  background: linear-gradient(-45deg, transparent 5px, #00202a 0) right,
    linear-gradient(135deg, transparent 5px, #00202a 0) left;
  background-size: 50% 100%;
  background-repeat: no-repeat;
  padding: 3px 8px;
  color: #fff;
  font-size: 14px;
}

strong {
  color: #48c6ef;
}

.btns {
  display: inline-block;
  font-size: 18px;
  padding: 10px 35px;
  color: #fff;
  font-weight: 400;
  background: linear-gradient(-45deg, transparent 5px, #0070cc 0) right,
    linear-gradient(135deg, transparent 5px, #0070cc 0) left;
  background-size: 50% 100%;
  background-repeat: no-repeat;
  transition: 0.5s;
}

.btns:hover {
  color: #fff;
  background: linear-gradient(-45deg, transparent 5px, #00202a 0) right,
    linear-gradient(135deg, transparent 5px, #00202a 0) left;
  background-size: 50% 100%;
  background-repeat: no-repeat;
}

/* .ztbtn {
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 8px 10px);
    animation: zt infinite 2s ease-in-out alternate;
    margin-top: 29rem;

}


@keyframes zt {
    0% {
        transform: scale(0.87);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.87);
    }
}
 */

/*---- footer ----*/
footer {
  position: relative;
  padding: 10px 0;
  color: #fff;
  font-size: 0.7rem;
  text-align: center;
  letter-spacing: 0.2px;
  line-height: normal;
  background: #000;
  z-index: 2;
}

footer p,
footer ul {
  margin-bottom: 0;
}

footer p a {
  color: inherit;
}

footer p a:hover {
  color: #e51737;
  text-decoration: none;
  transition: 0.3s ease;
}

footer .copyright,
footer .company,
footer p,
footer .grading,
footer ul {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

footer .copyright {
  margin-right: 10px;
}

footer img {
  margin: 0 6px;
}

footer ul {
  font-size: 0.6rem;
  list-style: none;
}

@media only screen and (max-width: 1440.98px) {
  h1 {
    font-size: 4rem;
  }
}

@media only screen and (max-width: 1199.98px) {
  footer .copyright,
  footer .company,
  footer p,
  footer .grading {
    display: block;
    margin: 15px auto;
    text-align: center;
  }

  footer .copyright {
    margin-bottom: 20px;
  }

  footer ul {
    text-align: left;
  }
}

@media only screen and (max-width: 991.98px) {
  #ytbg,
  .dlpatch {
    display: none;
  }
  .dlpatch,
  .gameapp {
    text-align: center;
    padding-top: 0vh;
  }

  .device {
    position: relative;
  }

  .videom {
    position: absolute;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    top: 47%;
    right: 2%;
    filter: hue-rotate(37deg);
  }

  .videom .video-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/btn_video.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 2;
    animation: bounceIn 1s linear infinite;
  }

  @keyframes bounceIn {
    0% {
      transform: scale(0.8);
    }

    50% {
      transform: scale(1);
    }

    100% {
      transform: scale(0.8);
    }
  }

  .video-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/btn_video_frame.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    animation: turn 2s linear infinite;
  }

  @keyframes turn {
    0% {
      transform: rotateZ(0deg);
      transform-origin: 50.8% 50.3%;
    }

    100% {
      transform: rotateZ(360deg);
      filter: brightness(1);
      transform-origin: 50.8% 50.3%;
    }
  }

  .content p,
  .device,
  .gameapp {
    display: block;
  }

  .section1 video {
    display: none;
  }

  .section1 {
    background: url(../images/visualm.jpg) no-repeat center top;
    background-size: cover;
  }

  .content {
    padding: 10% 0 5% 0;
  }

  .content p {
    font-size: 18px;
    line-height: 22px;
    color: aliceblue;
    filter: drop-shadow(0rem 0rem 3px #000);
  }

  .appbtn {
    transition: 0.3s ease-in-out;
    margin: 1%;
    width: 37%;
  }

  .appbtn:hover {
    -webkit-transform: translate(0, -10px);
    transform: translate(0, -10px);
    filter: brightness(1.1) drop-shadow(0px 0px 6px #ffffff);
  }

  .goobtn {
    transition: 0.3s ease-in-out;
    margin: 1%;
    width: 45%;
  }

  .goobtn:hover {
    -webkit-transform: translate(0, -10px);
    transform: translate(0, -10px);
    filter: brightness(1.1) drop-shadow(0px 0px 6px #ffffff);
  }
}

@media only screen and (max-width: 767.98px) {
  .central {
    text-align: center;
    padding: 15px;
  }
  .ps {
    max-width: 85%;
  }
}

@media only screen and (max-width: 575.98px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .content {
    padding: 20% 0 5% 0;
    min-height: 80vh;
  }

  .homebtn {
    font-size: 14px;
  }

  .content p,
  .device {
    display: block;
  }

  .content p {
    font-size: 18px;
    line-height: 22px;
    color: aliceblue;
  }

  .central {
    text-align: center;
    padding: 8px;
  }
}

@media only screen and (max-width: 280px) {
  h1 {
    font-size: 2rem;
  }
}
