*{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
button{
    outline: none;
}

#container{
    width: 100%;
    height: 100%;
    position: relative;
}


#start-page{
    width: 100%;
    height: 100%;
    /* background: url(../image/start_bg.png) 50% 50% no-repeat; */
    background: url(../image/main_bg.png) 50% 50% repeat;
    background-size: cover;
    position: relative;
}
#start-page .title{
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    position: absolute;
    top: 30%;
    left: 0;
    text-shadow: 3px 3px 3px #ffffff;
}
#start-page .btns{
    position: absolute;
    width: 100%;
    height: 140px;
    bottom: 100px;
    left: 0;
    z-index: 10;
}

#start-page .btns button {
    width: 60%;
    height: 50px;
    line-height: 50px;
    border: 1px solid black;
    border-radius: 25px;
    background-color: #c4c9ca;
    font-size: 22px;
    margin: 10px 20%;
}
#start-page .tips{
    position: absolute;
    width: 90%;
    height: auto;
    bottom: 0;
    left: 5%;
}
#start-page .tips p{
    font-size: 12px;
    color: #D43327;
    word-break: break-all;
}
#location-id, #initdata-id{
    height: 2rem;
    overflow: hidden;
}

#main-page-bg{
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../image/main_bg.png) 50% 50% repeat;
  background-size: cover;
  display: none;
}

#main-page{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
    overflow: hidden;
}
#main-page img{
    position: absolute;
    z-index: 1;
}

#main-page-score{
    width: auto;
    height: 16px;
    line-height: 16px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
    display: none;
    z-index: 10;
}
#main-page-score{
    font-size: 18px;
    font-weight: bold;
}
#main-page-pause{
    width: 10rem;
    height: 5rem;
    line-height: 16px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    z-index: 10;
    /* background: #eeeeee; */
    text-align: right;
}
#suspend-page{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    z-index: 100;
}
#suspend-page .suspend-popup-box{
    width: 60%;
    height: 120px;
    position: absolute;
    z-index: 2;
    left: 20%;
    top: calc(50% - 50px);
}
#suspend-page .suspend-popup-box button{
    width: 100%;
    height: 50px;
    line-height: 50px;
    margin-bottom: 20px;
    border: 1px solid black;
    border-radius: 25px;
    background-color: #c4c9ca;
    font-size: 22px;
}

#end-page{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    z-index: 100;
}

#end-page .popup-box{
    width: 60%;
    height: 250px;
    position: absolute;
    left: 20%;
    top: calc(50% - 125px);
    border: 1px solid gray;
    border-radius: 5px;
    text-align: center;
    background-color:#d7ddde;
    z-index: 2;
    padding-top: 20px;
}

.popup-box .score{
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.popup-box .plantext{
    width: 100%;
    height: 6rem;
    line-height: 6rem;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.popup-box .restart{
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.popup-box .restart button{
    width: 40%;
    height: 40px;
    border-radius: 20px;
    border: 1px solid black;
    font-size: 18px;
}

#userimg{
    width: 40px;
    height: 40px;
    border-radius: 40px;
    margin: 0 auto;
}
.popup-box #userid, .popup-box #username{
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
