* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 1080px;
}

.page {
  width: 100%;
  height: 100%;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/index.jpg') no-repeat center top;
  position: relative;
  overflow: hidden;
}

.logo {
  display: block;
  width: 272px;
  height: 105px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/logo.png') no-repeat;
  position: absolute;
  left: 50%;
  margin-left: -189px;
  top: 60px;
}

.wheel-container {
  position: absolute;
}

.music,
.home {
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/home-btn.png') no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  cursor: pointer;
}

.home {
  width: 47px;
  height: 50px;
  margin-left: -24px;
  margin-top: -24px;
}

.home a {
  display: block;
  width: 100%;
  height: 100%;
}

.music {
  width: 35px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
}

.music.on {
  background-position: -53px 0;
}

.music.off {
  background-position: -95px 0;
}

.wheel-container {
  width: 179px;
  height: 222px;
  position: absolute;
  top: 4px;
  margin-left: 107px;
  left: 50%;
}

.wheel-container .wheel-bg {
  width: 100%;
  height: 100%;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/wheels.png') no-repeat;
  animation: rotate 1s linear infinite;
}

.wheel {
  position: absolute;
}

.wheel:nth-child(1) {
  width: 133px;
  height: 133px;
}

.wheel:nth-child(1) .wheel-bg {
  animation-duration: 5s;
}

.wheel:nth-child(2) {
  width: 97px;
  height: 97px;
  left: 57px;
  top: 122px;
}

.wheel:nth-child(2) .wheel-bg {
  background-position: -155px 0;
  animation-direction: reverse;
  animation-duration: 3s;
}

.wheel:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 120px;
  top: 74px;
}

.wheel:nth-child(3) .wheel-bg {
  background-position: -267px 0;
}

.board {
  width: 290px;
  height: 495px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/board.png') no-repeat;
  margin-left: -758px;
  top: 215px;
  left: 50%;
  position: absolute;
  transform-origin: left top;
  /* transform: rotate(10deg); */
  animation: board 2s forwards
}

.board.active {}

@keyframes board {
  from {
    transform: rotate(0);
  }

  30% {
    transform: rotate(20deg)
  }

  60% {
    transform: rotate(10deg)
  }

  80% {
    transform: rotate(17deg)
  }

  /* 
  80% {
    transform: rotate(11deg)
  } */

  to {
    transform: rotate(15deg)
  }
}

.slogan {
  width: 427px;
  height: 259px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/slogan.png') no-repeat;
  position: absolute;
  left: 50%;
  margin-left: -213px;
  top: 760px;
}

.top-nav {
  width: 184px;
  height: 35px;
  box-sizing: border-box;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 20px;
  left: 10px;
}

.top-nav::after {
  content: "";
  display: block;
  width: 184px;
  height: 1px;
  position: absolute;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/nav-bg.png') no-repeat;
  top: 50%;
  left: -1px;
}

.top-nav>div {
  width: 35px;
  height: 35px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/top-nav.png') no-repeat;
  position: relative;
  cursor: pointer;
}

.top-nav>div a {
  display: block;
  width: 100%;
  height: 100%;
}

.top-nav>div img {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

.top-nav div:nth-child(1) {
  background-position: 0 0;
}

.top-nav div:nth-child(2) {
  background-position: -47px 0;
}

.top-nav div:nth-child(3) {
  background-position: -93px 0;
}

.top-nav div:hover {
  background-image: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/top-nav-active.png');
}

.chara {
  position: absolute;
  left: 50%;
}

.liluo {
  width: 621px;
  height: 654px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/liluo.png') no-repeat;
  margin-left: -688px;
  top: 488px;
  opacity: 0;
  animation: fadeInRight 1s forwards;
}

.longyin {
  width: 264px;
  height: 321px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/longyin.png') no-repeat;
  margin-left: 623px;
  top: 594px;
  opacity: 0;
  animation: fadeInLeft 1s 1s forwards;
}

.longyin .try {
  width: 174px;
  height: 103px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/again.png') no-repeat;
  position: absolute;
  left: -70px;
  top: -100px;
  transform-origin: right bottom;
  animation: shake 2s infinite alternate-reverse linear;
}

@keyframes shake {
  from {
    transform: rotate(-5deg)
  }

  to {
    transform: rotate(5deg)
  }
}

.yeren {
  width: 600px;
  height: 692px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/yeren.png') no-repeat;
  top: 438px;
  margin-left: 202px;
  opacity: 0;
  animation: fadeInLeft 1s 0.5s forwards;
}


.spider {
  width: 105px;
  height: 70px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/spider.png') no-repeat;
  background-position: 0 bottom;
  position: absolute;
  margin-left: -314px;
  top: 186px;
  left: 50%;
  transform-origin: center top;
  animation: spider 6s infinite ease-in-out;
}


@keyframes spider {
  from {
    height: 70px;
    /* transform: rotate(-30deg); */
  }

  20% {
    height: 140px;
    transform: rotate(0deg);
  }

  30% {
    height: 130px;
    transform: rotate(20deg);
  }

  50% {
    height: 130px;
    transform: rotate(-20deg);
  }

  70% {
    height: 130px;
    transform: rotate(0deg);
  }

  80% {
    height: 140px;
    transform: rotate(0deg);
  }

  100% {
    height: 70px;
    transform: rotate(0deg);
  }
}

.enter-btn {
  width: 152px;
  height: 158px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/enter-btn.png') no-repeat;
  position: absolute;
  left: 50%;
  margin-left: -76px;
  top: 388px;
  cursor: pointer;
}

.enter-btn::after {
  content: "";
  display: block;
  width: 63px;
  height: 43px;
  background: url('https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/attention.png') no-repeat;
  position: absolute;
  left: 112px;
  top: 19px;
  animation: rubberBand 3s infinite;
  transform-origin: left bottom;
}

.qrcode {
  width: 194px;
  height: 239px;
  background: url(https://static.web.sdo.com/xuezu/pic/20190722_Jianding/pc/qrcode.png) no-repeat;
  position: absolute;
  left: 50%;
  top: 560px;
  margin-left: -97px;
  opacity: 0;
  transition: opacity 0.5s;
}

.qrcode.active {
  opacity: 1;
}

@-webkit-keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  14% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  7% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  14% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  21% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.heartBeat {
  -webkit-animation-name: heartBeat;
  animation-name: heartBeat;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@-webkit-keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  5% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  10% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  15% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  20% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  25% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  28% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  5% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  10% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  15% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  20% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  25% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  28% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

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

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

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}