body {
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: "Microsoft YaHei";
}

.page1 #fireworkCanvas {
  width: 640px;
  height: 1400px;
  z-index: 2;
}

.page7 canvas,
.page7 .posterimg {
  width: 640px;
  height: 1238px;

}

.page7 .posterimg {
  position: fixed;
  z-index: 2;
  opacity: 0;
}

.page7 .btn-retry {
  z-index: 3;
}

#notification_area {
  z-index: 20000;
  padding: 0;
  margin: 0;
}

.notify_center {
  background: #1E211F;
}

.notification {
  clear: left;
  float: left;
  list-style: none;
}

.notification iframe {
  border: 0;
}

.notification iframe body {
  margin: 0;
}

.notify_content {
  float: left;
  background: #1E211F;
  color: #eee;
  padding: 20px;
  border-radius: 5px;
  opacity: .7;
  max-width: 450px;
  font-size: 30px;
}

.wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  overflow: hidden;
}

.wrap-inner {
  position: absolute;
  overflow-y: scroll;
  overflow-x: hidden;
  left: 0;
  width: 640px;
  height: 100%;
  top: 0;
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
}

.bg {
  background-size: 100% 100%;
}

.page {
  /* top: 50%;
  transform: translate(0, -50%); */
  overflow: unset;
  display: none;
}

.point {
  animation: point 1.5s linear infinite;
  -webkit-animation: point 1.5s linear infinite;
}

.hd {
  background: rgba(0, 0, 0, 0.8);
}

.cloud {
  animation: cloud 5s linear infinite;
  -webkit-animation: cloud 5s linear infinite;
}

.block {
  animation: bounceIn 1s ease backwards;
  -webkit-animation: bounceIn 1s ease backwards;
}

.shuttlecock {
  animation: updown 1s ease-in infinite;
  -webkit-animation: updown 1s ease-in infinite;
}

.leaves {
  position: absolute;
  top: -100%;
}

canvas {
  display: none;
}

.leaves-1 {
  background: url('../image2/leaves-1.png') left top no-repeat;
  width: 71px;
  height: 68px;
  left: 100px;
  animation: luo 10s ease infinite;
  -webkit-animation: luo 10s ease infinite;
}

.leaves-2 {
  background: url('../image2/leaves-2.png') left top no-repeat;
  width: 56px;
  height: 44px;
  left: 250px;
  animation: luo 7s 3s ease infinite;
  -webkit-animation: luo 7s 3s ease infinite;
}

.leaves-3 {
  background: url('../image2/leaves-3.png') left top no-repeat;
  width: 58px;
  height: 37px;
  left: 470px;
  animation: luo 8s 5s ease infinite;
  -webkit-animation: luo 8s 5s ease infinite;
}

.rule-page,
.intro-page {
  position: fixed;
  z-index: 10;
  top: 0;
}

.page1 .light {
  animation: point 2s linear infinite;
  -webkit-animation: point 2s linear infinite;
}

.page2 .water {
  animation: water 1.5s ease-out infinite;
  -webkit-animation: water 1.5s ease-out infinite;

}

.page2 .boat {
  animation: boat 1s linear infinite;
  -webkit-animation: boat 1s linear infinite;
}

.page3 .cloud2 {
  animation: cloud2 5s linear infinite;
  -webkit-animation: cloud2 5s linear infinite;
}

@-webkit-keyframes luo {
  0% {
    top: -1%;
    transform: rotate(-60deg);
  }

  100% {
    top: 100%;
    transform: rotate(60deg);
  }
}

@keyframes luo {
  0% {
    top: -1%;
    transform: rotate(-60deg);
  }

  100% {
    top: 100%;
    transform: rotate(60deg);
  }
}

@keyframes updown {

  0%,
  100% {
    transform: translateY(100%);
  }

  50% {
    transform: translateY(0);
  }
}

@-webkit-keyframes bounceIn {

  0%,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
    animation-timing-function: cubic-bezier(.215, .61, .355, 1)
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3)
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1)
  }

  40% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9)
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03)
  }

  80% {
    -webkit-transform: scale3d(.97, .97, .97);
    transform: scale3d(.97, .97, .97)
  }

  to {
    opacity: 1;
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
  }
}

@keyframes bounceIn {

  0%,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
    animation-timing-function: cubic-bezier(.215, .61, .355, 1)
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3)
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1)
  }

  40% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9)
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03)
  }

  80% {
    -webkit-transform: scale3d(.97, .97, .97);
    transform: scale3d(.97, .97, .97)
  }

  to {
    opacity: 1;
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
  }
}

@keyframes cloud2 {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  50% {
    transform: translateY(-65px);
    opacity: 1;
  }

  90%,
  100% {
    transform: translateY(-130px);
    opacity: 0;
  }
}

@keyframes boat {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-3px, 2px);
  }
}

@keyframes water {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -10px);
  }
}

@keyframes cloud {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }

  50% {
    transform: translateY(50%);
    opacity: 1;
  }

  90%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@-webkit-keyframes cloud {
  0% {
    -webkit-transform: translateY(100%);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateY(50%);
    opacity: 1;
  }

  90%,
  100% {
    -webkit-transform: translateY(0);
    opacity: 0;
  }
}

@keyframes light {

  0%,
  60%,
  100% {
    opacity: 0;
  }

  10%,
  50% {
    opacity: 1;
  }
}

@-webkit-keyframes light {

  0%,
  60%,
  100% {
    opacity: 0;
  }

  10%,
  50% {
    opacity: 1;
  }
}

@keyframes point {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@-webkit-keyframes point {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}