*{
    margin: 0px;
    padding: 0px;
}

.gameBox{
    position: relative;
    width: 600px;
    height: 700px;
    border: 2px solid black;
    margin: 100px auto;
    border-radius: 10px;
    overflow: hidden;
}
.gamePlay{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
}
.gamePlay>h1{
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 50px;
    top: 100px;
    text-shadow: 0px 5px 5px red;
}
.gamePlay>.btn{
    width: 200px;
    height: 50px;
    border: none;
    outline: none;
    border-radius:10px ;
    position: absolute;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 5px 8px 8px 0px black;
    background-color: #93C5E3;
}
.gamePlay>.btn:hover{
    background-color: #7FB3EA;
}
.gameScore{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top:0px;
    display: none;
}
.gameScore>h1{
    width: 100%;
    position: absolute;
    top:100px;
    text-align: center;
    font-size: 40px;
    text-shadow: 0px 5px 5px red;
}
.gameScore>.history-score{
    width: 370px;
    height: 320px;
    position: absolute;
    top:220px;
    left: 100px;
    font-size: 25px;
    font-weight: bold;
    border-radius:15px ;
    background-color: rgba(255,255,255,0.6);
    padding: 15px 15px;
}
.history-score>p{
    margin-top: 20px;
}
.history-score .goback{
    float: right;
    cursor: pointer;
}

.gameGrade{
    position: absolute;
    top: 400px;
    right: 40px;
    width: 160px;
    height: 50px;
    border-radius:10px ;
    background-color: rgba(255,255,255,0.7);
    overflow: hidden;
    display: none;
}
.gameGrade>span{
    display: inline-block;
    width: 50px;
    height:50px ;
    font-size: 18px;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    cursor: pointer;
}
.gameGrade>span:hover{
    background-color: burlywood;
}
.gameRun{
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}
.gameRun>.feiji{
    position: absolute;
    width: 100px;
    height: 100px;
    top: 580px;
    left: 250px;
}
.gameRun>.enemy{
    position: absolute;
    width: 100px;
    height: 100px;
}
.enemy>img{
    width: 100%;
    height: 100%;
}
.feiji>img{
    position:absolute ;
    bottom: 0px;
}
.zidan{
    position: absolute;
    width: 100px;
    height: 60px;
}
.zidan>img{
    width: 47px;
    height: 60px;
}
.head{
    width: 100%;
    height: 35px;
    position: absolute;
    top:0px;
    line-height:35px;
}
.head>.menu{
    display: inline-block;
    width: 70px;
    height: 30px;
    background-color: rgb(245, 23, 23);
    text-align: center;
    line-height:30px ;
    border-radius: 5px;
    margin-left: 10px;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
}
.head>.life{
    display: inline-block;
    width: 70px;
    height: 30px;
    text-align: center;
    line-height:30px ;
    font-size: 20px;
    font-weight: bold;
    color: wheat;
}
.head>.lifeBar{
    color: greenyellow;
    font-size: 20px;
}
.head>.score,
.head>.scoreBar{
    color:white;
    font-size: 20px;
}
.head>.money{
    display: inline-block;
    float: right;
    width: 70px;
    height: 30px;
    margin-right: 10px;
    border-radius: 5px;
    background-color: #DEB887;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    line-height:30px;
    cursor: pointer;
}
.payPanel{
    position: absolute;
    display: none;
    width: 300px;
    height: 200px;
    top: 200px;
    left: 150px;
    border: 3px solid black;
    border-radius: 20px;
    background-color: #ffe35b;
}
.payPanel>h1{
    width: 100%;
    text-align: center;
    text-shadow: 0px 5px 5px beige;
}
.payPanel>p{
    width: 100%;
    height: 60px;
    margin-top: 20px;
}

.payPanel div{
    display: inline-block;
    margin-left: 20px;
    margin-top: 40px;
    width: 150px;
    height: 50px;
    text-align: center;
    font-size: 30px;
    background-color: white;
}
.payPanel button{
    width: 100px;
    height: 50px;
    margin-top: 40px;
    font-size: 20px;
    border-radius: 10px;
    border: none;
    outline: none;
    margin-left: 15px;
    cursor: pointer;
}

.payPanel>p{
    width: 100%;
    font-size: 20px;
}
.payPanel span{
    display: inline-block;
    width: 100px;
    height: 40px;
    line-height: 40px;
    margin-left: 25px;
}
