* {
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  background-image: url(../images/desktop/bg.webp);
  background-size: cover;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  padding-top: 1.5rem;
  z-index: 9;
  box-sizing: border-box;
}

header .logo {
  margin: 0;
  color: white;
  display: flex;
  align-items: center;
  padding-left: 4rem;
}

header .logo img {
  height: 5rem;
}

header .contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 3rem;
}

header .contact img {
  margin-left: 2vw;
  width: 10vw;
}

main {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}

main .swiper {
  width: 100%;
  height: 100%;
}

main .swiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
}

main .swiper .swiper-slide .slide-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

main .swiper .swiper-slide .slide-content .title-slide {
  text-align: center;
  width: 50%;
}

main .swiper .swiper-slide .slide-content .title-slide .imgg {
  width: 80%;
  margin-bottom: 28%;
}

main .swiper .swiper-slide .slide-content .pic {
  width: 50%;
  position: absolute;
  right: 0;
  bottom: 0;
}

main .swiper .swiper-slide .slide-content .pic img {
  height: 80vh;
  vertical-align: middle;
}

main .swiper-pagination-bullet-active {
  background: url(../images/active.webp) !important;
  background-size: 100% 100% !important;
  width: 2rem;
  height: 2rem;
}

main .swiper-pagination-bullet {
  opacity: unset;
  background: url(../images/in.webp);
  background-size: 100% 100%;
  width: 2rem;
  height: 2rem;
}

.decs-container {
  position: fixed;
  bottom: 2rem;
  width: 50%;
  z-index: 999;
}

.decs-container img {
  width: 100%;
}

.decs-container .desc {
  text-align: center;
}

.decs-container .desc img {
  width: 70% !important;
  padding-bottom: 0.5rem;
}

.decs-container .txt-qr {
  text-align: center;
  padding-bottom: 1.5rem;
}

.decs-container .txt-qr img {
  width: 60%;
}

.decs-container .qr-part {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.decs-container .qr {
  padding: 1vw;
  background-color: #fff;
  border-radius: 10px;
}

.decs-container .qr canvas {
  width: 10vw !important;
  height: 10vw !important;
}

.decs-container .decs-text {
  color: white;
  line-height: 1.5;
}

.decs-container .setup-tips {
  color: rgb(255 56 199);
  font-size: 1.5vw;
}

.decs-container .setup-detail {
  font-size: 1.2vw;
}

.decs-container .download {
  margin: 0 0 0 0.5rem;
  text-align: left;
}

.decs-container .download .app-logo img {
  width: unset;
  height: 6vw;
  margin-top: unset;
}

footer {
  display: none;
}

.spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.spinner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 9px solid;
  border-color: rgba(0, 0, 0, 0.5);
  border-right-color: #ea372d;
  -webkit-animation: spinner-zp9dbg 1s infinite linear;
          animation: spinner-zp9dbg 1s infinite linear;
}

@-webkit-keyframes spinner-zp9dbg {
  to {
     -webkit-transform: rotate(1turn);
             transform: rotate(1turn);
  }
}

@keyframes spinner-zp9dbg {
  to {
     -webkit-transform: rotate(1turn);
             transform: rotate(1turn);
  }
}

@media screen and (max-width: 640px) {
  a {
    text-decoration: none;
    color: white;
  }

  body {
    background: url(../images/mobile/bg.webp);
    background-size: 100% 100%;
    margin: 0 auto;
  }

  header {
    top: 2%;
    
    padding: 0.5rem 1rem;
  }

  header .logo {
    padding-left: 0;
  }

  header .logo img {
    height: 4rem;
  }

  header .contact {
    padding-right: 0;
  }

  header .contact img {
    margin-left: 1.2rem;
    height: 2.5rem;
    width: unset;
  }

  main .swiper .swiper-slide .slide-content {
    justify-content: center;
  }

  main .swiper .swiper-slide .slide-content .title-slide {
    display: none;
  }

  main .swiper .swiper-slide .slide-content .pic {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  main .swiper .swiper-slide .slide-content .pic img {
    width: 85%;
    height: unset;
  }

  footer {
    position: fixed;
    bottom: 0.5rem;
    width: 100%;
    z-index: 9;
    display: block;
  }

  footer .set-up-tip {
    text-align: center;
    text-decoration: underline;
    font-size: 1.2rem;
  }

  footer .set-up-tip img {
    width: 90% !important;
    padding-bottom: 0.3rem;
  }

  footer .app {
    display: flex;
    width: 100%;
    margin: auto;
    justify-content: center;
  }

  footer img {
    width: 95% !important;
    display: block;
    margin: auto;
  }

  .decs-container {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  main {
    padding-bottom: 7vh;
  }
}

@media screen and (max-width: 390px) {
  header .logo img {
    height: 2rem;
  }

  header .contact img {
    height: 2rem;
  }
}
