*{
    margin: 0;
    padding: 0;
}
body,html{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/*开始界面*/
#start{
    position: absolute;
    left: 0;
    bottom:0;
    width: 100%;
    height: 100%;
    background: #fff url("./../images/start.gif") no-repeat center center;
    background-size:20%;
    z-index: 999;
    overflow: hidden;
}
#start h1{
    display: block;
    width: 100%;
    height: 500px;
}
#start h1 img{
    position: absolute;
    width: 80%;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
}
.start{
    position: absolute;
    width: 400px;
    height: 120px;
    line-height: 120px;
    border: 10px solid #000;
    text-align: center;
    font-size: 80px;
    left: 50%;
    bottom: 300px;
    transform: translateX(-50%);
    border-radius: 50px;
    color: #333333;
    font-weight: bold;
}
#start .help{
    position: relative;
    width: 80%;
    height: 40%;
    border: 30px double #000;
    border-radius: 40px;
    margin: 0 auto;
    background: url("../images/help2.png") no-repeat center center;
    background-size: cover;
    z-index: 1000;
    display: none;
}
#start i{
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%,-50%);
    width:80px;
    height:80px;
    background: url("../images/helpBtn.jpg") no-repeat center center;
    background-size: cover;
}

/*地图*/
.map{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgb(255,255,255);
    transition: background-color .5s ease-in-out 0ms;
    overflow: hidden;
}
.group{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 25%;
}

/*时间条*/
.time{
    width: 100%;
    height: 20px;
    background: rgb(175, 175, 175);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    display: none;
}
/*闹钟*/
.clock{
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translateX(-50%);
    width: 150px;
    height: 160px;
    line-height: 180px;
    background: url("../images/timeClock.png") no-repeat;
    background-size:cover;
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    text-shadow: 0 0 10px #f00;
    z-index: 999;
    display: none;
}
/*方块*/
.block{
    width: 25%;
    height: 100%;
    border: 1px solid #888;
    box-sizing: border-box;
    float: left;
    transition: background-color .2s linear 0ms;
    color: #fff;
    text-align: center;
    font-size: 120px;
}
/*黑色方块*/
.bgColor{
    background: rgb(0, 0, 0);
}
/*要点击的第一个黑色方块*/
.startBtn{
    background: rgb(0, 0, 0) url("./../images/startBtn.png") no-repeat center center;
    background-size: 80%;
}
.blockColor{
    background: #ccc;
}
/*失误的方块*/
.miss{
    background: #fff url("./../images/miss3.gif") no-repeat center center;
    background-size: 100%;
}
 /*音效选择*/
  .checkMusic{
      width: 100%;
      height:6%;
      position: absolute;
      left: 50%;
      bottom:300px;
      transform: translateX(-50%);
      display: none;
      justify-content:space-around;
}
.checkMusic span{
    display: inline-block;
    width: 35%;
    height: 100%;
    border: 10px solid #ccc;
    text-align: center;
    font-size: 65px;
    border-radius: 30px;
    color: #666;
    font-weight: bold;
}

/*模式选择*/
.checkModel{
    width: 100%;
    height:6%;
    position: absolute;
    left: 50%;
    bottom:300px;
    transform: translateX(-50%);
    display: none;
    justify-content:space-around;

}
.checkModel span{
    display: inline-block;
    width: 35%;
    /*height: 100%;*/
    height: 80px;
    line-height: 80px;
    border: 10px solid #ccc;
    text-align: center;
    font-size: 65px;
    border-radius: 30px;
    color: #666;
    font-weight: bold;
}
 #text .textItems{
     position: absolute;
     left: 0;
     top: 5%;
     width: 100%;
     height: 500px;
     z-index: 1200;
     display: none;
 }
#text .textItems:nth-child(1){
    background:url("../images/text/1.png") no-repeat center center;
}
#text .textItems:nth-child(2){
    background:url("../images/text/2.png") no-repeat center center;
}
#text .textItems:nth-child(3){
    background:url("../images/text/3.png") no-repeat center center;
}
#text .textItems:nth-child(4){
    background:url("../images/text/4.png") no-repeat center center;
}
#text .textItems:nth-child(5){
    background:url("../images/text/5.png") no-repeat center center;
}
#text .textItems:nth-child(6){
    background:url("../images/text/6.png") no-repeat center center;
}
#text .textItems:nth-child(7){
    background:url("../images/text/7.png") no-repeat center center;
}
#text .textItems:nth-child(8){
    background:url("../images/text/8.png") no-repeat center center;
}
#text .textItems:nth-child(9){
    background:url("../images/text/9.png") no-repeat center center;
}
#text .textItems:nth-child(10){
    background:url("../images/text/10.png") no-repeat center center;
}
#text .textItems:nth-child(11){
    background:url("../images/text/11.png") no-repeat center center;
}
#text .textItems:nth-child(12){
    background:url("../images/text/retime.png") no-repeat center center;
}

/*结算界面*/
#over{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #dff;
    background-image:url("./../images/over.gif");
    background-repeat: no-repeat;
    background-position:center center ;
    box-shadow: inset 0 0 300px #333333;
    display: none;
    z-index: 1500;
}
#over p{
    display: block;
    width: 100%;
    height: 180px;
    font-size:100px;
    text-align: center;
    font-weight: bold;
    margin-top: 300px;
    color: #fff;
    text-shadow: 0 0 50px #000;
}
#over span{
    display: block;
    width: 100%;
    height: 100px;
    margin-top: 100px;
    font-size: 100px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 50px #000;
}

#over .restart{
    width: 500px;
    height: 200px;
    line-height: 200px;
    font-size: 90px;
    background: #f60;
    color: #fff;
    letter-spacing: 10px;
    text-align: center;
    margin: 500px auto;
    border-radius: 50px;
    box-shadow: 0 0 80px #000;
    text-shadow: 0 0 50px lightgoldenrodyellow;
    border: 10px solid #f80;
}
#over .return a{
    text-decoration: none;
    position: absolute;
    left:50%;
    bottom: 5%;
    font-size: 50px;
    transform: translateX(-50%);
    width: 300px;
    height: 100px;
    line-height: 100px;
    background: rgba(95, 95, 95, 0.7);
    text-align: center;
    color: #ddd;
    text-shadow: 3px 3px 5px black;
    border: 5px solid #fff;
}

.mask{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}