body {
  background: #e1ede7;
}
canvas {
  display: block;
  margin: 80px auto;
  box-shadow: -2px -2px 2px #efefef, 5px 5px 5px #b9b9b9;
  background: #efefef;
}
.stage2 {
  height: 220px;
  width: 200px;
  position: absolute;
  left: 130px;
  top: 100px;
  text-align: center;
  overflow: hidden;
  background: url(../images/background.jpg) left top;
  border-radius: 10px;
}

.stage2 > h1 {
  margin-top: 35px;
  font-weight: bold;
  font-size: 20px;
  font-family: "微软雅黑";
  letter-spacing: 3px;
  color: #ffffe5;
}
.stage2 > #start,
.stage2 > #end {
  height: 40px;
  width: 150px;
  margin: 30px auto 0;
}
.stage2 > #restartGame {
  margin: 40px auto 10px;
}
.stage2 > #end {
  margin: 10px auto;
}
.stage2 #start > button,
.stage2 #end > button {
  height: 30px;
  width: 150px;
  font-size: 15px;
  background: #81a8ce;
  color: #fff38f;
  font-weight: bold;
  border-radius: 5px;
}
.stage2 #start > #startGame {
  display: none;
}
#quitGame {
  width: 250px;
  height: 120px;
  border-radius: 10px;
  background: #ffffe5;
  position: absolute;
  left: 105px;
  top: 350px;
  text-align: center;
  box-shadow: 2px 2px 5px #efefef;
}
#quitGame h1 {
  font-size: 18px;
  margin-top: 25px;
  color: #009a2c;
  font-weight: bold;
}
#quitGame div {
  height: 60px;
  width: 200px;
  margin: 18px auto;
}
#quitGame div button {
  width: 60px;
  height: 30px;
  font-size: 15px;
  color: #0000ff;
  font-weight: bold;
  margin: 0 5px;
}
#result {
  width: 240px;
  height: 100px;
  border-radius: 10px;
  background: #ffffe5;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -120px;
  margin-top: -90px;
  text-align: center;
  box-shadow: 2px 2px 5px #efefef;
}
#result p {
  font-size: 20px;
  color: #08bece;
  font-weight: bold;
}
#result .result1 {
  display: block;
  margin-top: 40px;
}
#result .result2 {
  display: none;
  margin-top: 40px;
  color: #130d8e;
}
@media screen and (max-width: 360px) {
  canvas {
    margin: 20px auto;
  }
  .stage2 {
    top: 500px;
    left: 120px;
  }
  #quitGame {
    width: 200px;
    height: 120px;
    border-radius: 10px;
    background: #ffffe5;
    position: absolute;
    left: 120px;
    top: 320px;
    text-align: center;
    box-shadow: 2px 2px 5px #efefef;
  }
  #quitGame h1 {
    font-size: 15px;
    margin-top: 28px;
    color: #009a2c;
    font-weight: bold;
  }
  #quitGame div {
    height: 60px;
    width: 200px;
    margin: 15px auto;
  }
  #quitGame div button {
    width: 60px;
    height: 30px;
    font-size: 13px;
    color: #0000ff;
    font-weight: bold;
    margin: 0 5px;
  }
}
