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

.wrap-inner {
  position: absolute;
  overflow: hidden;
  left: 0;
  width: 32rem;
  height: 61.9rem;
  top: 50%;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
}

/*消除ios点击阴影*/
html,
body {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* ios 滑动 */
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
}

/*消除ios动画抖动*/
* {
  -webkit-backface-visibility: hidden;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  *zoom: 1;
}

input {
  border: 0;
  outline: none;
}

input::-webkit-input-placeholder {
  /* placeholder颜色  */
  color: #222222;
}

.page {
  display: none;
  position: absolute;
}

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

/* loading-page */

.progress {
  background: #c0a353;
  border-radius: 0.25rem;
}

/* home-page */
.home-page .btn-next:active {
  background: url(../image2/home-btn-next-active.png) top left no-repeat;
  background-size: 100%;
}

/* question-page */
.question-page .question-img-block {
  transform-origin: 50% 100%;
}

.fadeoutleft {
  animation: fadeOutLeft 1s ease-in forwards;
  -webkit-animation: fadeOutLeft 1s ease-in forwards;
}

.btn-nextquestion:active {
  background: url(../image2/question-btn-next.png) top left no-repeat;
  background-size: 100%;
}

.question-page .point {
  animation: all 5s ease forwards;
  -webkit-animation: all 5s ease forwards;
}

canvas {
  opacity: 0;
}

.posterImg {
  animation: fadeInUp 0.7s ease-out backwards;
  -webkit-animation: fadeInUp 0.7s ease-out backwards;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0)
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0)
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none
  }
}

@-webkit-keyframes fadeOutLeft {
  0% {
    opacity: 1
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0)
  }
}

@keyframes fadeOutLeft {
  0% {
    opacity: 1
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0)
  }
}

/* poster-page */
.posterImg {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.btn-tryprize:active {
  background: url(../image2/btn-tryprize-active.png) left top no-repeat;
  background-size: 100%;
}

.btn-retry:active {
  background: url(../image2/btn-retry-active.png) left top no-repeat;
  background-size: 100%;
}

/* prize-page */
input[name=name] {
  font-size: 1.4rem;
  padding-left: 5.5rem;
  padding-right: 1rem;
  width: 16.4rem;
  color: #626365;
}

input[name=tel] {
  font-size: 1.4rem;
  padding-left: 5.5rem;
  padding-right: 1rem;
  width: 16.4rem;
  color: #626365;
}

.prize-page .btn-submit:active {
  background: url(../image2/btn-submit-active.png) left top no-repeat;
  background-size: 100%;
}