.wrapper {
  position: relative;
  background-image: url(../images/bg-brick.png), url(../images/bg.jpg);
  background-size: 12px, cover;
  background-position: center, center;
  background-repeat: repeat, no-repeat;
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  margin: 0 auto;
  padding: 2.5em 0 4em;
}

.content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.bg1 {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: url(../images/bg-brick1.png) no-repeat;
  background-size: 145%;
  animation: floating1 1.8s ease-in-out infinite alternate-reverse;
  opacity: 0.75;
}

.bg2 {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: url(../images/bg-brick2.png) center no-repeat;
  background-size: 145%;
  animation: floating2 1.8s ease-in-out infinite alternate-reverse;
  opacity: 0.75;
}

@-webkit-keyframes floating1 {
  from {
    background-position: top 88% left 64%;
    opacity: 0.4;
  }
  to {
    background-position: top 93% left 62%;
    opacity: 0.7;
  }
}

@keyframes floating1 {
  from {
    background-position: top 88% left 64%;
    opacity: 0.4;
  }
  to {
    background-position: top 93% left 62%;
    opacity: 0.7;
  }
}

@-webkit-keyframes floating2 {
  from {
    background-position: top 115% left 14%;
    opacity: 0.7;
  }
  to {
    background-position: top 110% left 12%;
    opacity: 0.4;
  }
}

@keyframes floating2 {
  from {
    background-position: top 115% left 14%;
    opacity: 0.7;
  }
  to {
    background-position: top 110% left 12%;
    opacity: 0.4;
  }
}

.main {
  width: 85vw;
  max-width: 400px;
  margin: 0 auto;
}

.main h1 {
  position: relative;
  bottom: -1em;
  left: 50%;
  display: block;
  width: 85%;
  -webkit-transform: translateX(-50%) skewY(-6.2deg);
          transform: translateX(-50%) skewY(-6.2deg);
  z-index: 20;
}

.main h1 img {
  width: 100%;
}

.main .block {
  position: relative;
  background: url(../images/index-block.png) no-repeat;
  background-size: 120%;
  background-position: top center;
  width: 85vw;
  height: 85vw;
  max-width: 400px;
  max-height: 400px;
  padding-top: 1em;
  margin-bottom: 3em;
  border: 2px solid #fff;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 0 #767fc3;
          box-shadow: 0 2px 0 #767fc3;
  -webkit-transform: skewY(-6.2deg);
          transform: skewY(-6.2deg);
  z-index: 15;
}

.main .imgSketch {
  position: relative;
  width: 115%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.main .btn_start {
  position: absolute;
  left: 50%;
  bottom: -32px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.main .title {
  display: block;
  width: 360px;
  height: 65px;
  color: #fff;
  background: #2a395e;
  border-radius: 65px;
  border: 2px solid #fff;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  bottom: -32px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.main .title > div {
  position: relative;
  top: -10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 65px;
  background: #3e4e87;
  border-radius: 65px;
  border: 2px solid #fff;
}

.main .title > div span {
  display: block;
  font-size: 32px;
  color: #fff;
}

.main .intro {
  text-align: center;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  -webkit-transform: skewY(-6.2deg);
          transform: skewY(-6.2deg);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.bg_pc {
  position: absolute;
}

.bg_pc1 {
  -webkit-transform: translateX(-160%);
          transform: translateX(-160%);
  width: 506px;
  height: 1085px;
  background: url(../images/bg_pc-brick1.png) no-repeat;
  background-size: contain;
  animation: floating_pc1 2.5s ease-in-out infinite alternate-reverse;
}

.bg_pc2 {
  -webkit-transform: translateX(-160%);
          transform: translateX(-160%);
  width: 425px;
  height: 1085px;
  background: url(../images/bg_pc-brick2.png) no-repeat;
  background-size: contain;
  animation: floating_pc2 2.5s ease-in-out infinite alternate-reverse;
}

.bg_pc3 {
  -webkit-transform: translateX(30%);
          transform: translateX(30%);
  width: 500px;
  height: 1040px;
  background: url(../images/bg_pc-brick3.png) no-repeat;
  background-size: contain;
  animation: floating_pc3 1.8s ease-in-out infinite alternate-reverse;
}

.bg_pc4 {
  -webkit-transform: translateX(15%);
          transform: translateX(15%);
  width: 478px;
  height: 925px;
  background: url(../images/bg_pc-brick4.png) no-repeat;
  background-size: 100%;
  animation: floating_pc4 1.8s ease-in-out infinite alternate-reverse;
}

@-webkit-keyframes floating_pc1 {
  from {
    top: -10%;
    left: 50%;
    opacity: 0.4;
  }
  to {
    top: -11%;
    left: 50.5%;
    opacity: 0.7;
  }
}

@keyframes floating_pc1 {
  from {
    top: -10%;
    left: 50%;
    opacity: 0.4;
  }
  to {
    top: -11%;
    left: 50.5%;
    opacity: 0.7;
  }
}

@-webkit-keyframes floating_pc2 {
  from {
    top: -12%;
    left: 50.5%;
    opacity: 0.7;
  }
  to {
    top: -11%;
    left: 50%;
    opacity: 0.4;
  }
}

@keyframes floating_pc2 {
  from {
    top: -12%;
    left: 50.5%;
    opacity: 0.7;
  }
  to {
    top: -11%;
    left: 50%;
    opacity: 0.4;
  }
}

@-webkit-keyframes floating_pc3 {
  from {
    top: -10%;
    left: 50%;
    opacity: 0.7;
  }
  to {
    top: -11%;
    left: 50.5%;
    opacity: 0.4;
  }
}

@keyframes floating_pc3 {
  from {
    top: -10%;
    left: 50%;
    opacity: 0.7;
  }
  to {
    top: -11%;
    left: 50.5%;
    opacity: 0.4;
  }
}

@-webkit-keyframes floating_pc4 {
  from {
    top: 22%;
    left: 50.5%;
    opacity: 0.4;
  }
  to {
    top: 21%;
    left: 50%;
    opacity: 0.7;
  }
}

@keyframes floating_pc4 {
  from {
    top: 22%;
    left: 50.5%;
    opacity: 0.4;
  }
  to {
    top: 21%;
    left: 50%;
    opacity: 0.7;
  }
}

.index_pc {
  max-width: none;
  background-image: url(../images/bg-brick.png), url(../images/bg_pc.jpg);
  padding: 1.5em 0 4em;
  overflow: hidden;
}

.index_pc .main h1 {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 240px;
}

.index_pc .main .block {
  position: relative;
  width: 280px;
  height: 280px;
  -webkit-transform: none;
          transform: none;
  margin: 0 auto 3em;
}

.index_pc .main .imgSketch {
  width: 120%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.index_pc .main .no_btn {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 270px;
  height: 45px;
}

.index_pc .main .no_btn > div {
  width: 270px;
  height: 45px;
  -webkit-animation: none;
          animation: none;
}

.index_pc .main .no_btn > div span {
  font-size: 22px;
}

.index_pc .main .qrcode {
  width: 200px;
  height: 200px;
  margin: 0 auto 1em;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
}

.index_pc .main .qrcode img {
  width: 100%;
}

.index_pc .main .intro {
  -webkit-transform: none;
          transform: none;
  font-size: 16px;
}
