*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #e5f1fd;
  font-family: 
    "PingFang TC",
    "Noto Sans TC",
    "Microsoft JhengHei",
    sans-serif;
}

body {
  min-height: 100dvh;
  background-image: url("../images/background-board.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.mobile {
  display: none !important;
}

.desktop {
  display: block !important;
}

span.color-red {
  color: #eb333a;
}

.wrapper {
  padding: 40px 20px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  padding-left: 20px;
  padding-right: 20px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 0;
}

.header-container .logo-img {
  display: block;
  width: 100%;
  max-width: 200px;
}

.main-title {
  text-align: center;
  padding: 2% 0;
  display: flex;
  justify-content: center;
}

.main-title img {
  display: block;
  width: 50vw;
  max-width: 410px;
}

.main-cs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.main-content {
  border-radius: 30px;
  padding: 16px;
  max-width: 1000px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  color: #fff;
}

.linear-grp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.linear-grp a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.liner-set {
  background-color: #ffffff1a;
  border: 1px solid #ffffff80;
  padding: 12px 16px;
  border-radius: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.liner-set > .divider {
  border: none;
  height: 14px;
  background-color: #ccc;
  width: 2px;
  margin: 0;
}

.liner-set .arrow-redirect {
  width: 24px;
  height: 24px;
}

.liner-set > .line-spd-txt {
  font-weight: 600;
  font-size: 16px;
}

.line-btn {
  white-space: nowrap;
  background-image: url("../images/line-btn-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 40px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: bold;
  padding-left: 36px;
  padding-right: 36px;
  font-size: 16px;
  text-decoration: none;
}

.footer-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* margin-bottom: 40px; */
}

.download-container {
  display: grid;
  justify-items: center;
  display: none;
}

.qrcode {
  width: 100%;
  background-color: #fff;
  padding: 10px;
  border-radius: 12px;
}

.qrcode img {
  width: 160px;
}

.qrcode-txt {
  color: #000;
  margin-top: 8px;
  font-weight: 600;
}

.download-mobile-btn {
  font-family: 
  "PingFang SC",
  "PingFang TC",
  "Noto Sans TC",
  "Microsoft JhengHei",
  sans-serif;
  padding: 20px 50px;
  font-size: 14px;
  border-radius: 100px;
  font-weight: 500;
  color: #364153;
  margin-top: 20px;
}

.phone-icon {
  width: 28px;
  height: 28px;
  margin-right: 6px;
}

.footer-title {
  font-size: 18px;
  color: #ffffff;
}

.browsers-list {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.browsers-list .browser {
  border-radius: 50%;
  background: #ffffff;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.browser img {
  display: block;
  width: 100%;
  max-width: 45px;
}

.sponsor-logos {
  width: 100%;
  max-width: 1330px;
  aspect-ratio: 1330 / 250;
  margin-top: auto;
}

.sponsor-logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media only screen and (max-width: 767px) {
  .header-container,
  .main-title {
    width: 70%;
    margin: 0 auto;
  }

  .linear-grp {
    display: block;
  }

  .linear-grp a {
    margin-bottom: 2%;
  }

  .liner-set {
    justify-content: space-evenly;
    padding: 1%;
  }

  .liner-set:last-child {
    margin-bottom: 0;
  }

  .liner-set > .divider {
    height: 1rem;
  }

  .liner-set > a {
    height: 1.2rem;
  }

  .liner-set .arrow-redirect {
    width: 1.2rem;
    height: 1.2rem;
  }

  .line-btn {
    font-size: 14px;
    padding: 0 20px;
  }

  .line-bg {
    font-size: 16px;
    padding: 0 20px;
  }

  .line-speed {
    flex-direction: column;
  }

  .line-speed span {
    margin: 5px 0 0;
    display: block;
  }

  .footer-content {
    padding-bottom: 20px;
  }
}

@media only screen and (max-width: 500px) {
  .wrapper {
    justify-content: center;
    gap: 5vw;
  }

  .main-content {
    margin: 0 auto;
    padding: 0;
  }
  .main-title {
    margin: 20px auto;
  }
  .main-title > img {
    width: calc(100vw - 80px);
  }

  .linear-grp a {
    margin-bottom: 4%;
  }

  .liner-set {
    padding: 4%;
    font-size: 1.25rem;
  }

  .liner-set .arrow-redirect {
    width: 1.5rem;
    height: 1.5rem;
  }

  .liner-set > .line-spd-txt {
    font-weight: 600;
    font-size: 1.3rem;
  }

  .line-btn {
    font-size: 12px;
    padding: 0 15px;
    width: 100%;
    padding: 4%;
    height: 100%;
    font-size: 1.1rem;
    font-weight: 600;
  }

  .footer-content {
    padding: 0;
  }

  .line-bg {
    font-size: 12px;
    padding: 0 15px;
  }

  .download-mobile-btn {
    margin: 20px 0;
  }

  .footer-content {
    padding-top: 10px;
  }

  .sponsor-logos {
    margin-top: 0;
  }
}

@media only screen and (max-width: 350px) {
  .line-btn {
    font-size: 0.9rem;
  }
}