/*主界面*/ /*没有前导点，.class，#id*/
html,body{
    margin: 0px;
    width: 100%;
    height: 100%;
    font-family: KaiTi;/*'Courier New', Courier, monospace;*/
    overflow: hidden;
}

/* .gameBody{
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,#A3D900,#63B8D3); 
} */    /*绿蓝渐变色背景*/

.gameArea{
    width: 100%;
    height: 100%; /*减法需要空格*/
    background: url(./image/space_war.jpg) no-repeat; /*no-repeat;*/
    background-size: cover;
    /* position: relative;
    margin-top: 10px;
    margin-bottom: 10px; */
    /* float: right;   图层添加一个浮动,而且这个图层将浮在右边,这样是能去掉有图层在有的浏览器显示的右面有空白的问题*/
    overflow: hidden; /*当元素内的内容溢出的时候使它隐藏溢出的部分 */
}

/* .gameRule{
    width: calc(100%/3);
    height: calc(100% - 40px);
    background: url(./image/give.png) no-repeat;
    background-size: contain;
    position: relative;
    float: right;
} */

/*游戏主区域*/
.gameScore{
    color: white;
    font-size: 20px;
    margin: 10px;
    float: left; /*左*/
}

.scoreNum{
    font-size: 25px;
}

.gameTime{
    color: white;
    font-size: 20px;
    margin: 10px;
    float: right;   /*右*/
}

.timeNum{
    font-size: 25px;
}

/*飞机*/
.myAircraft{
    width: 106px;
    height: 76px;
    background: url(./image/me.png) no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 20px;   /*初始绝对位置*/
    left: calc(50% - 53px);
    pointer-events: none; /*该元素永远不会成为鼠标事件的 target*/
}

.enemyAircraft{
    width: 110px;
    height: 80px;
    position: absolute;
    pointer-events: none;
    font: 50px bold;
    color: yellow;
    text-align:center
}

.e1{
    background:url(./image/e1.png) no-repeat;
    background-size: contain;
    left: 10px; 
}

.e2{
    background:url(./image/e2.png) no-repeat;
    background-size: contain;
    left: 130px;
}

.e3{
    background:url(./image/e3.png) no-repeat;
    background-size: contain;
    left: 260px;
}

.bullet{
    width: 20px;
    height: 70px;
    background: url(./image/b.png) no-repeat;
    background-size: contain;
    top: 400px;
    left: 100px;
    position: absolute;
    /* -webkit-transform: rotate(0); */
    transform: rotate(0);
}

/*阴影*/
.shadow{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;    /*???*/
}

.gamebtn{
    width: 100px;
    height: 50px;
    background: url(./image/play.png) no-repeat;
    background-size: contain;
    color: white;
    line-height: 50px;
    margin: 0 auto; /* 0px; */
    text-align: center;
    cursor: pointer;
}

.shadowCenter{
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    flex-direction: column;
    justify-content: space-around;
    display: none;
}

.flyTime {
    margin: 0 auto;
    font-size: 30px;
    color: yellow;
    font-weight: bold;
    -webkit-text-stroke: 0.6px black;
}

.flyTimeNum {
    margin: 0 auto;
    font-size: 60px;
    color: #00cd00;
    -webkit-text-stroke: 0.6px yellow;
}

.rank {
    margin: 0 auto;
    font-size: 20px;
    color: #a759d4;
}