﻿html {
  min-width: 500px;
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: 1400px;
}
body {
  background: url(../images/bg1.jpg) left top no-repeat;
  background-size: 100% 100%;
}
.stage1 {
  height: 400px;
  width: 500px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -250px;
  margin-top: -200px;
  text-align: center;
  overflow: hidden;
  background: url(../images/background.jpg) left top;
  border-radius: 20px;
  box-shadow: 3px 3px 3px #0000ff;
}

.stage1 > h1 {
  margin-top: 75px;
  font-weight: bold;
  font-size: 38px;
  font-family: "微软雅黑";
  letter-spacing: 3px;
  color: #ffffe5;
}
.stage1 > #start,
.stage1 > #end {
  height: 60px;
  width: 220px;
  margin: 10px auto;
}
.stage1 > #start {
  margin: 40px auto 10px;
}
.stage1 #start > button,
.stage1 #end > button {
  height: 46px;
  width: 190px;
  font-size: 25px;
  background: #81a8ce;
  color: #fff38f;
  font-weight: bold;
  border-radius: 5px;
}
.stage1 #start > #restartGame {
  display: none;
}
#quitGame {
  width: 260px;
  height: 130px;
  border-radius: 10px;
  background: #ffffe5;
  position: absolute;
  left: 50%;
  top: 35px;
  margin-left: -130px;
  text-align: center;
  box-shadow: 2px 2px 5px #efefef;
}
#quitGame h1 {
  font-size: 18px;
  margin-top: 28px;
  color: #009a2c;
  font-weight: bold;
}
#quitGame div {
  height: 60px;
  width: 200px;
  margin: 20px auto;
}
#quitGame div button {
  width: 68px;
  height: 34px;
  font-size: 16px;
  color: #0000ff;
  font-weight: bold;
  margin: 0 5px;
}
@media screen and (max-width: 360px) {
  #quitGame {
    width: 220px;
    height: 110px;
    margin-left: -110px;
    left: 50%;
    top: 13px;
  }
  #quitGame h1 {
    font-size: 16px;
    margin-top: 25px;
  }
  #quitGame div {
    margin: 16px auto;
  }
  #quitGame div button {
    width: 60px;
    height: 30px;
    font-size: 14px;
    color: #0000ff;
    font-weight: bold;
    margin: 0 5px;
  }
}
