* {
  padding: 0;
  margin: 0;
}

img {
  vertical-align: top;
}

a {
  display: block;
  text-decoration: none;
}

body {
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  background-image: url("../images/background_pc.webp");
  background-size: cover;
  background-color: black;
  background-position: top center;
}

header {
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 15vh;
  padding: 2vw 5vw;
  box-sizing: border-box;
  position: relative;
  z-index: 99;
}

header .logo-image {
  height: 5vw;
}

header .contact {
  display: flex;
  flex-direction: row;
  align-items: center;
}

header .contact a {
  margin-right: 3vw;
}

header .contact a:last-child {
  margin-right: 0;
}

header .contact a img {
  height: 2.5vw;
  vertical-align: middle;
}

section {
  width: 100vw;
  height: calc(100vh - 15vh);
  display: flex;
  flex-direction: row;
}

section .banner-container {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

section .banner-container img {
  height: 45vw;
}

section .title-container {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

section .title-container .title-picture {
  width: 35vw;
}

section .title-container .qrcode-container {
  margin-top: 2vw;
  position: relative;
  display: flex;
}

section .title-container .qrcode-container .qrcode-box {
    margin-right: 1vw;
}

section .title-container .qrcode-container .qrcode {
  position: absolute;
  top: 0.7vw;
  left: 1vw;
  z-index: 9;
}

section .title-container .qrcode-container .qrcode img {
  width: 10vw;
  height: 10vw;
}

section .title-container .qrcode-container .qrcode-bg {
  height: 14vw;
}

section .title-container .qrcode-container .download img {
  height: 5vw;
  margin-bottom: 1vw;
}

footer {
  display: none;
}

.spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  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-container .spinner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 9px solid;
  border-color: rgba(0, 0, 0, 0.5);
  border-right-color: #107bfe;
  -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: 600px) {
  body {
    height: 100%;
    overflow-y: scroll;
    padding-bottom: 30vw;
    background-image: url("../images/background.webp");
    background-size: cover;
    background-color: black;
    background-position: top center;
  }

  header {
    width: 100vw;
    padding: 3vw;
    height: unset;
  }

  header .logo-image {
    height: 11vw;
  }

  header .contact a {
    margin-right: 3vw;
  }

  header .contact a:last-child {
    margin-right: 0;
  }

  header .contact a img {
    height: 12vw;
    vertical-align: middle;
  }

  section {
    height: auto;
    margin-top: 2vw;
    align-items: center;
    flex-direction: column;
    justify-content: baseline;
    overflow-y: scroll;
  }

  section .banner-container {
    margin-top: -7vw;
  }

  section .banner-container img {
    width: 100vw;
    height: auto;
    position: relative;
    z-index: 99;
  }

  section .title-container {
    height: unset;
    display: block;
  }

  section .title-container .title-picture {
    width: 90vw;
  }

  section .title-container .qrcode-container {
    display: none;
  }

  footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 99;
    width: 100vw;
    background: linear-gradient(to top, black, rgba(0, 0, 0, 0.1));
  }

  footer .download {
    width: 100vw;
  }

  footer .download img {
    width: 100%;
  }

  footer .platform {
    display: flex;
    flex-direction: row;
    margin: 3vw auto;
  }

  footer .platform a {
    flex: 1;
    text-align: center;
  }

  footer .platform a img {
    width: 90%;
  }

  footer .setup {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 3vw;
  }

  footer .setup img {
    height: 5vw;
    object-fit: contain;
  }
}
