html {
    font-size: 20vw;
}

body {
    font-size: 0.21333rem;
    overflow: hidden;
    background-color: #769c4e;
}

#container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#wrapper {
    width: 5rem;
    height: 10rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center top;
}

.page {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.btn {
    position: absolute;
    border: none;
}

.hidden{
    top: -50rem!important;
}


#index {
    width: 5rem;
    height: 10rem;
    position: relative;
}


#videoBG {
    width: 5rem;
    height: 10rem;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(../img/start_bg2.jpg);
    background-size:cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform-origin: center top;
    z-index: 4;
}

#video {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

#startPage{
    display: none;
    width: 2rem;
    height: 1.28rem;
    position: absolute;
    top: 6.6rem;
    left: 1.49rem;
    z-index: 3;
}
.startBtnShine{
    z-index: 3;
    width: 2rem;
    height: 1.28rem;
    position: absolute;
    background-image: url(../img/start_btn.png);
    background-size: cover;
    background-position: 0 -1.28rem ;
    background-repeat: no-repeat;
}
.startBtn{
    z-index: 4;
    width: 2rem;
    height: 1.28rem;
    position: absolute;
    background-image: url(../img/start_btn.png);
    background-size: cover;
    background-position: 0 0 ;
    background-repeat: no-repeat;
}

#Q1ScrollBtn{
    display: none;
    width: 5rem;
    height: 4.1rem;
    position: absolute;
    top: 3.5rem;
    left: 0;
    z-index: 3;
}
#Q1ScrollL{
    opacity: 0;
    width: 1.36rem;
    height: 1.32rem;
    position: absolute;
    left: 0.7rem;
    top: 3rem;
}
#Q1ScrollR{
    opacity: 0;
    width: 1.36rem;
    height: 1.32rem;
    position: absolute;
    left: 3rem;
    top: 3rem;
}
.Q1ScrollShine{
    width: 1.36rem;
    height: 1.32rem;
    position: absolute;
    background-image: url(../img/Q1_tip_shine.png);
    background-size: 1.36rem  1.32rem;
    background-position: center center;
    background-repeat: no-repeat;
}
.Q1Scroll{
    width: 1.36rem;
    height: 1.32rem;
    position: absolute;
    background-image: url(../img/Q1_tip.png);
    background-size: 1.36rem  1.32rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q1Page{
    display: none;
    width: 5rem;
    height: 2.4rem;
    position: absolute;
    top: 6rem;
    left: 0;
    z-index: 4;
}
#Q1BtnA{
    width: 1.92rem;
    height:2.4rem;
    position: absolute;
    top: 0;
    left: 0.3rem;
    padding-top: 1.55rem;
}
#Q1BtnB{
    width: 1.92rem;
    height:2.4rem;
    position: absolute;
    top: 0;
    left: 2.8rem;
    padding-top: 1.55rem;
}
.Q1BtnShine{
    width: 1.92rem;
    height: .92rem;
    position: absolute;
    background-image: url(../img/Q1_btn_shine.png);
    background-size: 1.92rem  .92rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q1Page .Q1Btn{
    width: 1.92rem;
    height: .92rem;
    position: absolute;
    background-size: 1.92rem  .92rem;
    background-position: center center;
    background-repeat: no-repeat;
} 
#Q1BtnA .Q1Btn{
    background-image: url(../img/Q1_btnA.png);
}
#Q1BtnB .Q1Btn{
    background-image: url(../img/Q1_btnB.png);
}

#animalPage{
    display: none;
    width: 2.98rem;
    height: 2.88rem;
    position: absolute;
    top: 1.8rem;
    left: 0.76rem;
    z-index: 3;
}
#animalPage .tips{
    width: 1.7rem;
    height: .84rem;
    position: absolute;
    top: 1.2rem;
    left: 1.66rem;
    background-image: url(../img/animal_tips.png);
    background-size: 1.7rem .84rem;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 3;
}

#Q2Page{
    display: none;
    width: 5rem;
    height: 1.02rem;
    position: absolute;
    top: 7.5rem;
    left: 0;
    z-index: 3;
}
#Q2BtnA{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    left: 0.3rem;
}
#Q2BtnB{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    left: 2.8rem;
}
.Q2BtnShine{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/QA_btn_shine.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q2BtnA .Q2Btn{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/Q2_btnA.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q2BtnB .Q2Btn{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/Q2_btnB.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}

#Q3Page{
    display: none;
    width: 5rem;
    height: 1.02rem;
    position: absolute;
    top: 7.5rem;
    left: 0;
    z-index: 3;
}
#Q3BtnA{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    left: 0.3rem;
}
#Q3BtnB{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    left: 2.8rem;
}
.Q3BtnShine{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/QA_btn_shine.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q3BtnA .Q3Btn{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/Q3_btnA.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q3BtnB .Q3Btn{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/Q3_btnB.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}

#Q4Page{
    display: none;
    width: 5rem;
    height: 1.02rem;
    position: absolute;
    top: 7.5rem;
    left: 0;
    z-index: 3;
}
#Q4BtnA{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    left: 0.3rem;
}
#Q4BtnB{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    left: 2.8rem;
}
.Q4BtnShine{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/QA_btn_shine.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q4BtnA .Q4Btn{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/Q4_btnA.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q4BtnB .Q4Btn{
    width: 1.88rem;
    height: 1.02rem;
    position: absolute;
    background-image: url(../img/Q4_btnB.png);
    background-size: 1.88rem  1.02rem;
    background-position: center center;
    background-repeat: no-repeat;
}


#Q5Page{
    display: none;
    width: 5rem;
    height: 2rem;
    position: absolute;
    top: 6.5rem;
    left: 0;
    z-index: 3;
}
#Q5MusicL{
    width: 1.54rem;
    height: 1.24rem;
    position: absolute;
    left: 0.5rem;
    z-index: 4;
}
#Q5MusicR{
    opacity: 0;
    width: 1.54rem;
    height: 1.24rem;
    position: absolute;
    left: 2.8rem;
    z-index: 4;
}
.Q5MusicShine{
    width: 1.54rem;
    height: 1.24rem;
    position: absolute;
    background-image: url(../img/Q5_music_shine_1.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.Q5Music{
    width: 1.54rem;
    height: 1.24rem;
    position: absolute;
    background-image: url(../img/Q5_music.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.Q5hand{
    width: .46rem;
    height: .48rem;
    position: absolute;
    top: 0.8rem;
    left: 1.1rem;
    pointer-events: none;
    display: block;
    background-image: url(../img/Q5_hand.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.Q5Music.active{
    background-image: url(../img/Q5_musicPlay.png);
}
#Q5BtnA{
    width: .8rem;
    height: .7rem;
    position: absolute;
    top: 1.1rem;
    left: 0.85rem;
    background-image: url(../img/Q5_btnA.png);
    background-size: .6rem  .5rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#Q5BtnB{
    width: .8rem;
    height: .7rem;
    position: absolute;
    top: 1.1rem;
    left: 3.15rem;
    background-image: url(../img/Q5_btnB.png);
    background-size: .6rem  .5rem;
    background-position: center center;
    background-repeat: no-repeat;
}

#namePage{
    width: 5rem;
    height: 10rem;
    position: absolute;
    z-index: 5;
}
#nameBG{
    width: 3.72rem;
    height: 3.58rem;
    position: absolute;
    top: 2.4rem;
    left: .7rem;
    background-image: url(../img/name.png);
    background-size: 3.72rem  3.58rem;
    background-position: center center;
    background-repeat: no-repeat;
}
#nameText{
    width: 1.5rem;
    height: .28rem;
    position: absolute;
    top: 1.76rem;
    left: 1rem;
    color: #602808;;
    font-size: 0.2rem;
}

#nameTip {
    width: 2.34rem;
    height: .14rem;
    position: absolute;
    top: 2.18rem;
    left: .6rem;
}
.tip1{
    background-image: url(../img/name_tip1.png);
    background-size: 1.04rem  .14rem;
    background-position: center center;
    background-repeat: no-repeat;
}
.tip2{
    background-image: url(../img/name_tip2.png);
    background-size: 2.34rem  .14rem;
    background-position: center center;
    background-repeat: no-repeat;
}

#nameBtn{
    width: 1.24rem;
    height: .56rem;
    position: absolute;
    top: 2.4rem;
    left: 1.16rem;
    background-image: url(../img/name_btn.png);
    background-size: 1.24rem  .56rem;
    background-position: center center;
    background-repeat: no-repeat;
}


#result{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 6;
	overflow-x: hidden;
	overflow-y: scroll;
}
#result .name{
    width: 1.05rem;
    height: .3rem;
    position: absolute;
    top: 0.85rem;
    left: .56rem;
    text-align: right;
    line-height: .3rem;
    font-size: .2rem;
    font-weight:bold;
    color: black;
}
.resultBG{
    width: 5rem;
    background-size:cover;
    background-position: 0 0;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}
.resultBG0{
    height: 10rem;
    background-image: url(../img/result_0.jpg);
}
.resultBG1{
    height: 10.526667rem;
    background-image: url(../img/result_1.jpg);
}
.resultBG2{
    height: 10rem;
    background-image: url(../img/result_2.jpg);
}
.resultBG3{
    height: 10rem;
    background-image: url(../img/result_3.jpg);
}
.resultBG4{
    height: 10rem;
    background-image: url(../img/result_4.jpg);
}
.resultBG0 .getGift, .resultBG2 .getGift, .resultBG3 .getGift, .resultBG4 .getGift {
    width: 2.02rem;
    height: .66rem;
    display: flex;
    position: absolute;
    top:7.44rem;
    left: 1.5rem;
    flex-direction: column;
    align-items: center;
    z-index: 8;
}
.resultBG1 .getGift {
    width: 2.02rem;
    height: .66rem;
    display: flex;
    position: absolute;
    top: 8.5rem;
    left: 1.5rem;
    flex-direction: column;
    align-items: center;
    z-index: 8;
}
.resultBG0 .getGift img, .resultBG1 .getGift img, .resultBG2 .getGift img, .resultBG3 .getGift img, .resultBG4 .getGift img {
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: block;
    position: absolute;
}
.resultBG0 .launch_btn, .resultBG1 .launch_btn, .resultBG2 .launch_btn, .resultBG3 .launch_btn, .resultBG4 .launch_btn {
    width: 2.02rem;
    display: block;
}
.resultBG0 .replayBtn, .resultBG2 .replayBtn, .resultBG3 .replayBtn, .resultBG4 .replayBtn  {
    width: 1.34rem;
    height: .38rem;
    position: absolute;
    top: 8.8rem;
    left: .6rem;
    background-image: url(../img/result_replay.png);
    background-size: 1.34rem  .38rem;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 8;
}
.resultBG1 .replayBtn {
    width: 1.34rem;
    height: .38rem;
    position: absolute;
    top: 9.73rem;
    left: .6rem;
    background-image: url(../img/result_replay.png);
    background-size: 1.34rem  .38rem;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 8;
}
.resultBG0 .shareBtn, .resultBG2 .shareBtn, .resultBG3 .shareBtn, .resultBG4 .shareBtn {
    width: 1.34rem;
    height: .38rem;
    position: absolute;
    top: 8.8rem;
    left: 3.1rem;
    background-image: url(../img/result_share.png);
    background-size: 1.34rem  .38rem;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 8;
}
.resultBG1 .shareBtn {
    width: 1.34rem;
    height: .38rem;
    position: absolute;
    top: 9.73rem;
    left: 3.1rem;
    background-image: url(../img/result_share.png);
    background-size: 1.34rem  .38rem;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 8;
}
.resultBG .arrowBtn {
    width: .28rem;
    height: 1.68rem;
    position: fixed;
    top: 45%;
    right: .06rem;
    background-image: url(../img/result_arrow.gif);
    background-size: .28rem  1.68rem;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 8;
}
#sharepic1 {
    width: 5rem;
    height: 10.82rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
}

#sharepic1 img {
    width: 100%;
    height: 100%;
}

#share{
    width: 5rem;
    height: 10rem;
    background-image: url(../img/share_bg.png);
    background-size: 2.52rem 2.82rem;
    background-position:top right;
    background-repeat: no-repeat;
}


/*==============音乐===============*/

.musicSwitch {
    width: .44rem;
    height: .44rem;
    position: fixed;
    top: 0.1rem;
    right: 0.1rem;
    z-index: 7;
}

.musicSwitch .musicbtn {
    width: 0.44rem;
    height: 0.44rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -0.22rem 0 0 -0.22rem;
    background: url(../img/btn_switch.png) no-repeat 0 0;
    background-size: cover;
}

.musicSwitch.mute .musicbtn {
    background-position: 0 -0.44rem;
}
.musicRotate {
    -webkit-animation: musicRotate 4s linear both infinite;
    animation: musicRotate 4s linear both infinite;
}