@charset "UTF-8";

:root {
  --app-vh: 100vh;
  --app-bottom-offset: 0px;
  --fixed-top-height: 48px;
  --fixedright-height: 120px;
  --mobile-bottom-gap: calc(10px + env(safe-area-inset-bottom, 0px));
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family:
    'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', 'Arial',
    sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

.fixedTop-btn {
  position: fixed;
  display: flex;
  width: 100vw;
  background-color: rgba(191, 136, 226, 0.404);
  padding: 10px 5vw;
  z-index: 2;
  justify-content: flex-end;
  gap: 1rem;
}

.fixedTop-btn a {
  font-size: 15px;
  padding: 5px 20px;
  cursor: pointer;
  background-color: #fff;
  border-radius: 100px;
  color: #5f3cd0;
  transition: all 0.2s;
}
.fixedTop-btn a:hover {
  opacity: 0.8;
}

.fixedTop-btn a:nth-last-child(1) {
  color: #ffffff;
  background-color: #5f3cd0;
}

.fixedright-PC {
  position: fixed;
  right: calc(20% - 10px);
  top: 25%;
  color: #fff;
  z-index: 2;
  text-align: center;
  width: 28%;
}

.fixedright-PC .qrcode {
  text-align: center;
  width: 55%;
  margin: auto;
  background-image: url(/static_common/img/app_download/qrcode-bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  aspect-ratio: 287/314;
}

.fixedright-PC .qrcode img {
  width: 80%;
  margin: 1.5rem;
}

.fixedright-PC .title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ae743c;
  text-shadow:
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white,
    -3px 0 0 white,
    3px 0 0 white,
    0 -3px 0 white,
    0 3px 0 white;
}

.fixedright-PC .btn-block {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 20px;
}

.fixedright-PC .btn-block a {
  display: block;
  padding: 7px 30px;
  background-color: #c870e1;
  border-radius: 50px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 3px solid #ffffff;
  font-weight: bold;
  flex: 1;
  transition: all 0.2s;
  outline: 5px solid #c870e1;
}

.fixedright-PC .btn-block a:hover {
  background-color: #693fd3;
  outline: 5px solid #693fd3;
}

.fixedright-PC .btn-block a img {
  width: 40px;
  margin-bottom: 5px;
}

.fixedright-PC .caption-phone,
.fixedright-PC .caption-pc {
  font-size: 12px;
  color: #444444;
}

.fullscreen-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  height: var(--app-vh);
  background-image: url('/static_common/img/app_download/PC-BG-v2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#all-pages {
  position: relative;
  top: 0;
  transition: all 800ms ease;
  /* height set by js */
}

.page {
  height: 100%;
  width: 100%;
  scroll-snap-align: start;
}

.page-all {
  display: flex;
}

.page-all-left {
  display: flex;
  flex-direction: column;
  padding-left: 8%;
  justify-content: center;
  width: 50vw;
  height: 100vh;
  height: var(--app-vh);
}

.page-all-left .pageall-img-block {
  text-align: center;
}

/* .page-3 .page-3-left .page-title-pc {
  width: 80%;
} */

/* dot */
.nav-dot-container {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.nav-dot {
  width: 20px;
  height: 30px;
  padding: 8px 0px;
  margin: auto;
}

.nav-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  transition: all 200ms ease;
  margin: auto;
}

.nav-dot span:hover {
  width: 12px;
  height: 12px;
}

.nav-dot.dot-active span {
  width: 15px;
  height: 15px;
  background-color: #c870e1;
}

/* responsive */
@media screen and (min-width: 1025px) {
  .fixedright-PC .caption-phone,
  .page-all-left .page-title-phone {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .fixedright-PC .btn-block a img {
    display: none;
  }
}

@media screen and (max-width: 1400px) {
  .fixedright-PC .title {
    font-size: 1.5rem;
  }

  .fixedright-PC .btn-block {
    flex-direction: column;
  }
}

@media screen and (max-width: 1024px) {
  .fixedright-PC {
    width: 90%;
    right: 0;
    left: 0;
    margin: auto;
    bottom: calc(10% + var(--app-bottom-offset));
    top: auto;
  }

  .fixedright-PC .qrcode,
  .fixedright-PC .title,
  .fixedright-PC .caption-pc {
    display: none;
  }

  .fixedright-PC .caption-phone {
    display: block;
    margin-top: 1rem;
  }

  .page-all-left {
    width: 100vw;
    padding-left: 0;
    justify-content: start;
    height: var(--app-vh);
  }

  .page-all-left .pageall-img-block img {
    width: 60%;
    margin: auto;
    padding-top: 10vh;
  }

  .page-all-left .page-title-pc {
    display: none;
  }

  .page-all-left .page-title-phone {
    display: block;
  }
}

/* ipad */
@media screen and (max-width: 768px) {
  .fixedTop-btn {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .fixedTop-btn a {
    font-size: 12px;
    padding: 5px 12px;
  }

  .fixedright-PC .btn-block {
    flex-direction: row;
    gap: 40px;
  }

  .fixedright-PC .btn-block a img {
    width: 35px;
  }

  .page-all {
    margin: 0 10px;
  }

  .page-1 .page-1-left .page1-img-block {
    padding-top: 7.25rem;
  }

  .page-2 .page-2-left .page2-img-block,
  .page-3 .page-3-left .page3-img-block {
    padding-top: 15vh;
  }

  .nav-dot {
    padding: 0;
  }

  .page-all-left .pageall-img-block img {
    padding-top: 0vh;
  }

  /* .page-all-left .pageall-img-block img {
    width: 70%;
  } */
}

@media screen and (max-width: 540px) {
  .fixedright-PC {
    bottom: var(--mobile-bottom-gap);
  }

  .fixedTop-btn {
    padding-top: max(10px, env(safe-area-inset-top, 0px));
  }

  .fixedright-PC .btn-block a {
    aspect-ratio: 1/1;
    border-radius: 50%;
    padding: 0;
    width: 50px;
    height: auto;
  }

  .page-all-left {
    justify-content: flex-start;
    padding-top: calc(var(--fixed-top-height) + 8px);
    padding-bottom: calc(
      var(--fixedright-height) + var(--mobile-bottom-gap) + 8px
    );
  }

  .page-all-left .pageall-img-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(
      var(--app-vh) - var(--fixed-top-height) - var(--fixedright-height) -
        var(--mobile-bottom-gap) - 16px
    );
    padding-top: 0;
  }

  .page-1 .page-1-left .page1-img-block,
  .page-2 .page-2-left .page2-img-block,
  .page-3 .page-3-left .page3-img-block {
    padding-top: 0;
  }

  .page-all-left .pageall-img-block img {
    width: 94%;
    max-height: 100%;
    object-fit: contain;
    padding-top: 0;
  }

  .fixedright-PC .btn-block {
    justify-content: center;
    gap: 34px;
  }

  .fixedright-PC .btn-block a {
    width: 77px;
    flex: unset;
  }
  .fixedright-PC .btn-block a img {
    width: 24px;
  }
  .fixedright-PC .btn-block a p {
    font-size: 14px;
  }

  .fixedright-PC .caption-phone {
    margin-top: 0.8rem;
    line-height: 1.35;
  }
}

@media screen and (max-width: 430px) {
  .fullscreen-container {
    background-image: url(/static_common/img/app_download/phone-BG.jpg);
  }
  .page-all {
    margin: 0;
  }

  .page-all-left .pageall-img-block img {
    width: 94%;
    max-height: 100%;
    object-fit: contain;
    padding-top: 0;
  }

  .page-1 .page-1-left .page1-img-block {
    padding-top: 0;
  }
}

/* 小手機裝置 */
@media screen and (max-width: 380px) {
  .page-all-left .pageall-img-block img {
    width: 88%;
    max-height: 100%;
    padding-top: 0;
  }
  .fixedright-PC .btn-block {
    justify-content: center;
  }
  .fixedright-PC .btn-block a {
    width: 77px;
    flex: unset;
  }
  .fixedright-PC .btn-block a img {
    width: 24px;
  }
  .fixedright-PC .btn-block a p {
    font-size: 14px;
  }
}

@media screen and (min-width: 541px) and (max-height: 700px) {
  .fixedright-PC {
    bottom: var(--mobile-bottom-gap);
  }
}

@media screen and (max-width: 430px) and (max-height: 720px) {
  .fixedTop-btn a {
    font-size: 11px;
    padding: 5px 10px;
  }

  .page-1 .page-1-left .page1-img-block {
    padding-top: 0;
  }

  .page-all-left .pageall-img-block img {
    max-height: 100%;
  }

  .fixedright-PC .caption-phone {
    margin-top: 0.6rem;
  }
}
