* {
    padding: 0;
    margin: 0;
}

body {
/* 解决iOS系统微信浏览器字体大小被修改*/
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  -moz-text-size-adjust: 100% !important;
}

.ani {
    position: absolute;
}

.heng {
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.tc {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.69);
    z-index: 999;
    padding: 0 55px;
    box-sizing: border-box;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 60px;
    top: 30px;
    font-size: 24px;
    font-family: sans-serif;
}

.left-arrow {
    left: 15px;
    background: url('/views/assets/img/left-arrow.png') ;
    animation: breathing 1s ease infinite;
}

.right-arrow {
    right: 30px;
    background: url('/views/assets/img/right-arrow.png') ;
    animation: breathing 1s ease infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#music_on {
    border: 0 none;
    top: 50px;
    z-index: 20;
    right: 50px;
    animation: rotate 2s linear infinite;
}

#music_off {
    border: 0 none;
    top: 50px;
    z-index: 21;
    right: 50px;
}

@keyframes rise {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(-850px);
    }
}

#label-0 {
    animation: rise 1s forwards;
}

#label-1 {
    animation: rise 1.5s forwards;
}

#label-2 {
    animation: rise 1.3s forwards;
}

#label-3 {
    animation: rise 1.6s forwards;
}

#label-4 {
    animation: rise 1s forwards;
}

#label-5 {
    animation: rise 1.4s forwards;
}

#label-6 {
    animation: rise 1.2s forwards;
}

.car {
    animation: drive 1s forwards;
}

.slide {
    position: absolute;
    top:0;
    left:0;
    right:0;
    opacity: 0;
    transition: opacity .8s ease-in-out;
}

.bg {
    position: absolute;
    top:0;
    left:0;
    right:0;
    opacity: .8;
}

.end {
    position: absolute;
    top:0;
    left:0;
    right:0;
    opacity: 0;
}

.slide.active,
.bg.active,
.end.active {
    opacity: 1;
}

@keyframes drive {
    from {
      right: 52px;
    }
    to {
      right: -184px;
    }
}

.outToLeft {
    animation: outToLeft 1s forwards;
}

@keyframes outToLeft {
    from {
      left: -100%;
    }
    to {
      left: 0;
    }
}

.leftToRight {
    animation: leftToRight 1s forwards;
}

@keyframes leftToRight {
    from {
      left: 0;
    }
    to {
      left: 100%;
    }
}

.rightToLeft {
    animation: rightToLeft 1s forwards;
}

@keyframes rightToLeft {
    from {
      left: 100%;
    }
    to {
      left: 0;
    }
}

.bottomToTop {
    animation: bottomToTop .2s forwards;
}

@keyframes bottomToTop {
    from {
      top: 100%;
    }
    to {
      top: 0;
    }
}

.topToBottom {
    animation: topToBottom .2s forwards;
}

@keyframes topToBottom {
    from {
      top: 0;
      bottom: 100%;
    }
    to {
      top: 0;
      bottom: 0;
    }
}

#monster,
#peachblossom,
#spring-festival-couplets,
#dragon,
#pig,
#snake,
#mouse,
#redirect,
.option-5 {
    animation: growShrink .5s infinite alternate;
}

@keyframes growShrink {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
}

.shake-animation {
  animation: shake 0.5s; /* 抖动的持续时间 */
  animation-iteration-count: infinite; /* 动画重复次数 */
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(2px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(3px); }
}

#food {
  animation: spinClockwise 12s linear infinite;
}

@keyframes spinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#spin {
  animation: spinCounterClockwise 12s linear infinite;
}

@keyframes spinCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.arrow {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 30; 
    width: 40px;
    animation: slideUp 1s ease-in-out infinite;
}

@keyframes slideUp {
    from {
      bottom: 20px;
      opacity: 1;
    }
    to {
      bottom: 30px;
      opacity: 0;
    }
}
