.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-backface-visibility: hidden;
}

input {
  border: 0;
  outline: none;
}

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

.page {
  display: none;
}

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

.santa-claus-block {
  overflow: hidden;
}

input[name='tel'] {
  text-align: center;
  font-size: 1.3rem;
  color: #333;
}

video {
  width: 100%;
  height: 200%;
  /*object-fit:cover;*/
  position: absolute;
  top: -50%;
}

.posi {
  animation: bounce 1s 2.4s ease-in infinite;
  -webkit-animation: bounce 1s 2.4s ease-in infinite;
}

.bj-img {
  z-index: 1;
}

.video-block {
  z-index: 2;
  /*transform: scale(2);*/
}

.indexup {
  transform: translate3d(0,0,0);
  animation: scfalse 1000s linear infinite;
  -webkit-animation: scfalse 1000s linear infinite;
}

.gift {
  animation: scale 1s ease-in-out infinite;
  -webkit-animation: scale 1s ease-in-out infinite;
}

@keyframes scale {
  0%, 100% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.1);
  }
}

@-webkit-keyframes scale {
  0%, 100% {
    -webkit-transform: scale(0.9);
  }
  50% {
    -webkit-transform: scale(1.1);
  }
}

@keyframes scfalse {
  0%,100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.0001);
  }
}
@-webkit-keyframes scfalse {
  0%,100% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.0001);
  }
}

@-webkit-keyframes bounce {
  0%,20%,53%,80%,to {
    -webkit-animation-timing-function: cubic-bezier(.215,.61,.355,1);
    animation-timing-function: cubic-bezier(.215,.61,.355,1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
  }

  40%,43% {
    -webkit-transform: translate3d(0,-1rem,0);
    transform: translate3d(0,-1rem,0)
  }

  40%,43%,70% {
    -webkit-animation-timing-function: cubic-bezier(.755,.05,.855,.06);
    animation-timing-function: cubic-bezier(.755,.05,.855,.06)
  }

  70% {
    -webkit-transform: translate3d(0,-0.5rem,0);
    transform: translate3d(0,-0.5rem,0)
  }

  90% {
    -webkit-transform: translate3d(0,-0.1rem,0);
    transform: translate3d(0,-0.1rem,0)
  }
}

@keyframes bounce {
  0%,20%,53%,80%,to {
    -webkit-animation-timing-function: cubic-bezier(.215,.61,.355,1);
    animation-timing-function: cubic-bezier(.215,.61,.355,1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
  }

  40%,43% {
    -webkit-transform: translate3d(0,-1rem,0);
    transform: translate3d(0,-1rem,0)
  }

  40%,43%,70% {
    -webkit-animation-timing-function: cubic-bezier(.755,.05,.855,.06);
    animation-timing-function: cubic-bezier(.755,.05,.855,.06)
  }

  70% {
    -webkit-transform: translate3d(0,-0.5rem,0);
    transform: translate3d(0,-0.5rem,0)
  }

  90% {
    -webkit-transform: translate3d(0,-0.1rem,0);
    transform: translate3d(0,-0.1rem,0)
  }
}




.leafContainer img {
  width: auto;
  height: auto;
} 
/* Defines the position and dimensions of the leafContainer div */
.leafContainer
{
  position: absolute;
  width: 100%;
  height: 100%;
}
/* This CSS rule is applied to all img elements directly inside div elements which are
   directly inside the leafContainer div. In other words, it matches the 'img' elements
   inside the leafDivs which are created in the createALeaf() function.
*/
.leafContainer > div {
  position: absolute;
  width: 2.55rem;
  height: 2.55rem;
  /* We use the following properties to apply the fade and drop animations to each leaf.
     Each of these properties takes two values. These values respectively match a setting
     for fade and drop.
  */
  -webkit-animation-iteration-count: infinite, infinite;
  -webkit-animation-direction: normal, normal;
  -webkit-animation-timing-function: linear, ease-in;
}
/* Hides a leaf towards the very end of the animation */
@-webkit-keyframes fade
{
  /* Show a leaf while into or below 95 percent of the animation and hide it, otherwise */
  0%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { opacity: 0; }
}
/* Makes a leaf fall from -300 to 600 pixels in the y-axis */
@-webkit-keyframes drop
{
  /* Move a leaf to -300 pixels in the y-axis at the start of the animation */
  0%   { -webkit-transform: translate(0px, -50px); }
  /* Move a leaf to 600 pixels in the y-axis at the end of the animation */
  100% { -webkit-transform: translate(0px, 1200px); }
}
/* Rotates a leaf from -50 to 50 degrees in 2D space */
@-webkit-keyframes clockwiseSpin
{
  /* Rotate a leaf by -50 degrees in 2D space at the start of the animation */
  0%   { -webkit-transform: rotate(-50deg); }
  /*  Rotate a leaf by 50 degrees in 2D space at the end of the animation */
  100% { -webkit-transform: rotate(50deg); }
}
/* Flips a leaf and rotates it from 50 to -50 degrees in 2D space */
@-webkit-keyframes counterclockwiseSpinAndFlip
{
  /* Flip a leaf and rotate it by 50 degrees in 2D space at the start of the animation */
  0%   { -webkit-transform: scale(-1, 1) rotate(50deg); }
  /* Flip a leaf and rotate it by -50 degrees in 2D space at the end of the animation */
  100% { -webkit-transform: scale(-1, 1) rotate(-50deg); }
}

