@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700&display=swap");
* {
  -webkit-overflow-scrolling: touch;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
body {
  width: 100vw;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑", Arial,
    Helvetica, sans-serif;
}
img {
  vertical-align: top;
}
button {
  border: none !important;
  cursor: pointer;
}
.mobile-top {
  margin-top: 10px;
}
.video-time-text {
  width: 90%;
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
}
.video-time-text #current-time {
  color: #3175c7;
  font-size: 12px;
  font-weight: 700;
}
.video-time-text #video-total-time {
  color: #a8a8a8;
  font-size: 12px;
  font-weight: 700;
}
#video-time-scrubber {
  position: relative;
  width: 90%;
  height: 2px;
  background-color: #b5b5b5;
  margin: 5px auto;
}
#video-current-scrubber {
  position: absolute;
  background-color: #3175c7;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
}
#video-time-handle {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #3175c7;
  cursor: pointer;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}
#video-time-handle::before {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  transform: translate(-20%, -20%);
}
.video-control {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 0;
}
.video-control .un-click {
  opacity: 0.2;
  cursor: auto !important;
}
.video-control .video-pre-icon,
.video-control .video-next-icon {
  width: 10%;
  cursor: pointer;
}
.video-control #video-play-icon,
.video-control #video-stop-icon {
  width: 18%;
  margin: 0 5%;
  cursor: pointer;
}
#video-control-loading {
  width: 100%;
  height: 0;
}
.video-play {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #1a477d80;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  cursor: pointer;
}
.play-icon {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 9999px;
  background-color: transparent;
}
.play-icon::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 40px solid #fff;
  transform: translate(70%, 75%);
}
.hidden {
  display: none !important;
}
.hidden-mobile {
  display: none !important;
}
.opacity-20 {
  opacity: 0.2;
}
.scroll::-webkit-scrollbar {
  width: 7px;
}
.scroll::-webkit-scrollbar-thumb {
  background-color: #3176c8;
  border-radius: 5px;
}
.menu-lists .scroll::-webkit-scrollbar-thumb {
  background-color: #ffffff80;
}
.dialog {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}
.dialog-base {
  width: 100%;
  height: 100dvh;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  background-color: #1a477de6;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dialog-close-icon {
  width: 16px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 50;
  cursor: pointer;
}
.main {
  width: 100%;
  background-image: url("../images/home/pc/bg.jpg");
  background-size: cover;
  background-position: center;
  background-color: rgb(92, 154, 128);
}
/* header */
header {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
.header-title-con {
  background-color: #152043;
  height: 100%;
  display: flex;
  align-items: center;
}
.header-before-clip {
  display: none;
  width: 80px;
  height: 100%;
  clip-path: polygon(0 0, 100% 0%, 40% 100%, 0% 100%);
  background-color: #1a477d;
}
.header-title-box {
  display: flex;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
}
.header-title-box img {
  width: 35px;
}
.header-title-box h1 {
  font-size: 18px;
  color: #fff;
  margin-top: 26px;
  margin-bottom: 26px;
  margin-left: 10px;
}
.logout-con {
  background-color: #356bad;
  height: 44px;
  display: flex;
}
.clip-parallelogram {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logout {
  display: flex;
  align-items: center;
}
.logout img {
  width: 18px;
}
.logout p {
  font-size: 18px;
  color: #fff;
  margin-left: 0.75rem;
}
/* main */
main {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 123px;
  padding-bottom: 180px;
}
section {
  max-width: 744px;
  width: 91.2%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 23px;
}
.logo {
  width: 177px;
}
.home-lists-card {
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
}
.home-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 22px;
  background-color: #fff;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}
.home-list:first-child {
  margin-top: 0;
}
.home-list img {
  width: 219px;
}
.home-list-con {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home-list-title {
  font-size: 24px;
  text-align: center;
  color: #3176c9;
  font-weight: 700;
  margin-top: 11px;
}
.home-list-box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  margin-top: 6px;
}
.home-list-code {
  font-size: 14px;
  color: #868686;
  font-weight: 700;
}
.home-list-box button {
  position: relative;
  display: flex;
  padding: 15px;
  border: none;
  background-color: #31b7c9;
  border-radius: 10px;
  align-items: center;
  margin-top: 4px;
}
.home-list-box button .icon {
  width: 20.44px;
}
.home-list-box button p {
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  padding-left: 7px;
}
.home-list-box button .finger {
  width: 50px;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
}
/* footer */
footer {
  width: 100%;
  position: relative;
  margin-top: -100px;
  display: flex;
}
.footer-mobile-bg {
  width: 100%;
}
.footer-pc-bg {
  width: 100%;
  display: none;
}
.footer-mobile-text {
  width: 100%;
  position: absolute;
  bottom: 0;
  line-height: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 12px;
  color: #fff;
  margin-bottom: 30px;
}
.footer-pc-text {
  display: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 14px;
  color: #fff;
  margin-bottom: 30px;
}
.footer-dog-gif {
  width: 187px;
  position: absolute;
  transform: translate(50%, -40%);
  top: 0;
  right: 50%;
}
@media (min-width: 1024px) {
  .mobile-top {
    margin-top: 0;
  }
  .video-control {
    margin: 15px 0 20px;
  }
  .video-time-text {
    width: 100%;
  }
  .video-time-text #current-time {
    font-size: 14px;
  }
  .video-time-text #video-total-time {
    font-size: 14px;
  }
  #video-time-scrubber {
    width: 100%;
  }
  #video-time-scrubber {
    margin: 10px auto;
  }
  #video-time-handle {
    width: 14px;
    height: 14px;
  }
  .video-control .video-pre-icon,
  .video-control .video-next-icon {
    width: 8%;
  }
  .video-control #video-play-icon,
  .video-control #video-stop-icon {
    width: 15%;
  }
  #video-control-loading {
    height: 100px;
  }
  .video-play {
    border-radius: 29px;
  }
  .play-icon {
    background-color: #ffffff80;
  }
  .play-icon::before {
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 60px solid #fff;
    transform: translate(45%, 40%);
  }
  .hidden-mobile {
    display: block !important;
  }
  .dialog-close-icon {
    width: 32.76px;
    right: 23.24px;
    top: 26px;
  }
  /* header */
  header {
    display: flex;
    height: 84px;
    background-color: #152043;
  }
  .header-before-clip {
    display: block;
  }
  .header-title-box {
    margin-right: 0;
    margin-left: 0;
  }
  .header-title-box img {
    width: 68px;
  }
  .header-title-box h1 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 17px;
  }
  .logout-con {
    height: 100%;
    margin: -48px;
    background-color: transparent;
    cursor: pointer;
  }
  .clip-parallelogram {
    clip-path: polygon(19.2% 0%, 100% 0%, 80.8% 100%, 0% 100%);
    width: 250px;
    height: 100%;
    background: linear-gradient(to right, #1f5595, #1a2d6a);
    box-shadow: -10px 0px 12px rgba(0, 0, 0, 0.5);
    margin: auto;
    padding-top: 0;
    padding-bottom: 0;
  }
  .clip-parallelogram:last-child {
    margin-left: -48px;
  }
  .logout img {
    width: 30px;
  }
  .logout p {
    font-size: 24px;
  }
  /* main */
  main {
    margin-top: 84px;
  }
  section {
    width: 54%;
    margin-top: 36px;
  }
  .logo {
    width: 348px;
  }
  .home-list {
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 32px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
  }
  .home-list img {
    max-width: 122.38px;
    width: 18%;
  }
  .home-list-con {
    margin-left: 22px;
  }
  .home-list-title {
    font-size: 32px;
    margin-top: 0;
    text-align: start;
  }
  .home-list-box {
    margin-top: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .home-list-code {
    font-size: 12px;
  }
  .home-list-box button {
    margin-top: 0;
  }
  .home-list-box button .icon {
    width: 16px;
    margin-top: 11px;
  }
  .home-list-box button p {
    font-size: 20px;
  }
  .home-list-box button .finger {
    width: 80px;
    transform: translate(60%, 60%);
  }
  /* footer */
  footer {
    margin-top: -130px;
  }
  .footer-mobile-bg {
    display: none;
  }
  .footer-pc-bg {
    display: block;
  }
  .footer-mobile-text {
    display: none;
  }
  .footer-pc-text {
    display: block;
  }
  .footer-dog-gif {
    position: absolute;
    transform: translate(0, -40%);
    right: 57px;
  }
}
