/*扫雷css*/
* {
    padding: 0;
    margin: 0;
}

.warrper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 1000px;
    background-image: url(../img/bg.jpg);
    background-size: 100% 100%;
}

.btn {
    width: 170px;
    height: 140px;
    position: absolute;
    left: 50px;
    background-image: url(../img/startGame.png);
    background-size: 100% 100%;
    cursor: pointer;
}

.box {
    width: 500px;
    height: 500px;
    transform: perspective(600px) rotateX(45deg);
    margin: 20px auto;
    border-bottom: 1px solid #b25f27;
    border-left: 1px solid #b25f27;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    display: none;

}

.flagBox {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 200px;
    height: 100px;
    margin-left: -100px;
    color: #333;
    font-weight: bolder;
    display: none;
}

.alertBox {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.alertImg {
    width: 600px;
    height: 400px;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 20px;
}

.colse {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0px;
    right: 0px;
    background-image: url(../img/closeBtn.png);
    background-size: 100% 100%;
    cursor: pointer;


}

.block {
    width: 49px;
    height: 49px;
    border-right: 1px solid #B25F27;
    border-top: 1px solid #B25F27;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3) inset;
    background-image: url(../img/cao.jpg);
    float: left;
}

.show {
    background-image: url(../img/dilei.jpg);
    background-size: 100% 100%;
}

.num {
    background: #ecd0a1;
    font-size: 18px;
    font-weight: bold;
    line-height: 49px;
    text-align: center;
}

.flag {
    background-image: url(../img/hongqi.jpg);
    background-size: 100% 100%;
}
