.content {
  width: 7.5rem;
  height: 14.5rem;
  background: url('../images/bg.jpg');
  background-size: 100% 100%;
  position: relative;
}

.level {
  width: .17rem;
  height: .26rem;
  background: url('../images/addIcon-active.png');
  background-size: 100% 100%;
  position: absolute;
  opacity: 0;
}

.active {
  opacity: 1;
  transition: all 1s ease-in-out;
}

.level-1 {
  top: 4.32rem;
  left: 4.52rem;
}

.level-2 {
  top: 5.26rem;
  left: 3.76rem;
}

.level-3 {
  top: 6.8rem;
  left: 4.4rem;
}

.level-4 {
  top: 8.82rem;
  left: 3.94rem;
}

.level-5 {
  top: 10.35rem;
  left: 2.02rem;
}

.btn {
  width: 2.31rem;
  height: .71rem;
  background: url('../images/startBtn.png');
  background-size: 100% 100%;
  position: absolute;
  top: 12.62rem;
  left: 2.6rem;
  cursor: pointer;
  animation: animate__pulse 1s infinite;
}

.btnNext {
  width: 2.31rem;
  height: .71rem;
  background: url('../images/next.png');
  background-size: 100% 100%;
  position: absolute;
  top: 12.62rem;
  left: 2.6rem;
  cursor: pointer;
  animation: animate__pulse 1s infinite;
}

@keyframes animate__pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.rule {
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  /* border: .04rem solid #5E2715; */
  background: rgba(255, 255, 255, .68);
  position: fixed;
  top: 2.4rem;
  right: .2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .24rem;
  color: #5E2715;
}

.musicBtn {
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: url('../images/music.png');
  /* border: .04rem solid #5E2715; */
  background-size: 100% 100%;
  position: fixed;
  top: 1.3rem;
  right: .2rem;
  overflow: hidden;
  z-index: 888;
}

.activeBtn {
  animation: rotate 2s linear infinite;
}

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


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

/* 弹窗 */
.dialog {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
}

.mask {
  width: 100vw;
  min-height: 100vh;
  background: rgba(0, 0, 0, .4);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
}

/* 表单弹窗 */
.formDialog .content {
  width: 6.2rem;
  height: 8.8rem;
  background: #fff;
  border: .06rem solid #006637;
  border-radius: .32rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(232, 242, 225, 1) 0%, rgba(250, 252, 249, 1) 100%);
}

.formDialog .closeBtn {
  width: .45rem;
  height: .45rem;
  position: absolute;
  top: .2rem;
  right: .2rem;
  background: url('../images/closeBtn.png');
  background-size: 100% 100%;
  cursor: pointer;
}

.formDialog .title {
  width: 4.06rem;
  height: 1.26rem;
  background: url('../images/formTitle.png');
  position: absolute;
  left: .99rem;
  top: .58rem;
  background-size: 100% 100%;
}

.formDialog .form {
  width: 4.62rEM;
  position: absolute;
  top: 2.81rem;
  left: 50%;
  transform: translateX(-50%);
}

.formDialog .form-item input {
  width: 100%;
  height: .93rem;
  border: .02rem solid #006637;
  border-radius: .16rem;
  padding: 0 .32rem;
}

.formDialog .form-item:last-child {
  margin-top: .7rem
}

.formDialog .formSubmitBtn {
  width: 2.31rem;
  height: .71rem;
  background: url('../images/formSubmitBtn.png');
  background-size: 100% 100%;
  position: absolute;
  bottom: .95rem;
  left: 50%;
  transform: translateX(-50%);
}

/* 关卡弹窗 */
.levelDialog .content {
  width: 6.2rem;
  height: 10.6rem;
  background: #fff;
  border: .06rem solid #006637;
  border-radius: .32rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* box-shadow: 0 0 50px rgba(0, 0, 0, .5); */
  background: linear-gradient(180deg, rgba(232, 242, 225, 1) 0%, rgba(250, 252, 249, 1) 100%);
}

.levelDialog .title {
  width: 4.06rem;
  height: 1.26rem;
  position: absolute;
  left: .99rem;
  top: .58rem;
}

.levelDialog .title1 {
  background: url('../images/level-1_title.png');
  background-size: 100% 100%;
}

.levelDialog .title2 {
  background: url('../images/level-2_title.png');
  background-size: 100% 100%;
}

.levelDialog .title3 {
  background: url('../images/level-3_title.png');
  background-size: 100% 100%;
}

.levelDialog .title4 {
  background: url('../images/level-4_title.png');
  background-size: 100% 100%;
}

.levelDialog .title5 {
  background: url('../images/level-5_title.png');
  background-size: 100% 100%;
}

.levelDialog .closeBtn {
  width: .45rem;
  height: .45rem;
  position: absolute;
  top: .2rem;
  right: .2rem;
  background: url('../images/closeBtn.png');
  background-size: 100% 100%;
  cursor: pointer;
}

.levelDialog .content .nextBtn {
  width: 2.31rem;
  height: .71rem;
  background: url('../images/nextBtn.png');
  background-size: 100% 100%;
  position: absolute;
  bottom: .88rem;
  left: 50%;
  transform: translateX(-50%);
}

.levelDialog .cont {
  font-size: .34rem;
  width: 4.62rem;
  position: absolute;
  top: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
}

.levelDialog .content .problem {
  margin-bottom: .48rem;
}

.levelDialog .option .option-item {
  height: .78rem;
  border: .02rem solid #006637;
  border-radius: .16rem;
  text-align: center;
  line-height: .78rem;
  margin-bottom: .4rem;
  background: #fff;
  position: relative;
}

.levelDialog .option-item .check {
  position: absolute;
  top: 50%;
  right: .4rem;
  transform: translateY(-50%);
}

/* 关卡一 */
.levelDialog1 {
  position: absolute;
  top: 4.6rem;
  left: 5.4rem;
  scale: .1;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.levelDialog1-active {
  position: absolute;
  top: 50%;
  left: 50%;
  scale: 1;
  opacity: 1;
  transition: all 1s ease-in-out;
}

/* 关卡二 */
.levelDialog2 {
  position: absolute;
  top: 5.8rem;
  left: 2.6rem;
  scale: .1;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.levelDialog2-active {
  position: absolute;
  top: 50%;
  left: 50%;
  scale: 1;
  opacity: 1;
  transition: all 1s ease-in-out;
}

/* 关卡三 */
.levelDialog3 {
  position: absolute;
  top: 7.4rem;
  left: 5.6rem;
  scale: .1;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.levelDialog3-active {
  position: absolute;
  top: 50%;
  left: 50%;
  scale: 1;
  opacity: 1;
  transition: all 1s ease-in-out;
}

/* 关卡四 */
.levelDialog4 {
  position: absolute;
  top: 9.2rem;
  left: 2.4rem;
  scale: .1;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.levelDialog4-active {
  position: absolute;
  top: 50%;
  left: 50%;
  scale: 1;
  opacity: 1;
  transition: all 1s ease-in-out;
}

/* 关卡五 */
.levelDialog5 {
  position: absolute;
  top: 10.8rem;
  left: 3.4rem;
  scale: .1;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.levelDialog5-active {
  position: absolute;
  top: 50%;
  left: 50%;
  scale: 1;
  opacity: 1;
  transition: all 1s ease-in-out;
}

/* 反馈页面 */
.page {
  width: 7.5rem;
  height: 14.5rem;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
}

/* 失败页面 */
.failPage {
  background: url('../images/fail.jpg');
  background-size: 100% 100%;
}

/* 成功页面 */
.successPage {
  background: url('../images/success.jpg');
  background-size: 100% 100%;
}

/* 规则页面 */
.rulePage {
  background: url('../images/rule.jpg');
  background-size: 100% 100%;
}

.ruleBtn {
  width: 2.31rem;
  height: 0.71rem;
  background: url("../images/returnBtn.png");
  background-size: 100% 100%;
  position: absolute;
  top: 11rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

.successPage .userInfo {
  width: 6rem;
  padding: .3rem .2rem;
  position: absolute;
  top: 10.34rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .68);
  border-radius: .15rem;
  color: #EF8200;
  font-size: .26rem;
  line-height: .4rem;
}

.successPage .userInfo .time {
  font-size: .22rem;
  margin-top: .2rem;
}