* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  max-width: 750px;
  margin: 0 auto;
  color: #333;
}

.none {
  display: none;
}

h1 {
  font-size: 24px;
  font-weight: normal;
  text-align: center;
  margin: 62px 0 44px;
  line-height: 1;
}

form {
  margin-top: 50px;
}

label,
input {
  display: block;
}

label {
  color: #cc2527;
  font-size: 15px;
  text-align: center;
  margin: 12px 0;
}

input {
  width: 80%;
  height: 35px;
  margin: 0 auto;
  border: 1px solid #ccc;
  background-color: #f3f5fb;
  border-radius: 18px;
  max-width: 400px;
  text-align: center;
  color: #333;
  outline: none;
}

.info {
  text-indent: 2em;
  font-size: 13px;
  padding: 0 5%;
}

button {
  display: block;
  border: none;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.test {
  width: 90px;
  height: 90px;
  margin: 50px auto 0;
  border-radius: 50%;
  background-color: #cc2527;
}

/* loading */

.loading {
  display: block;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(0, 0, 0, .4);
  border-left-color: #fff;
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

/* 旋转动画 */

@keyframes rotate {
  from {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  to {
    transform: rotate3d(0, 0, 1, 360deg);
  }
}

.content {
  position: relative;
}

.canvas {
  width: 100%;
}

.btn {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 50%;
  max-width: 300px;
  height: 36px;
  background-color: #edab48;
  border-radius: 18px;
  -webkit-box-shadow: 0 4px 2px #ebd5aa;
  box-shadow: 0 4px 2px #ebd5aa;
}

.btn1 {
  bottom: 70px;
}

.btn2 {
  bottom: 20px;
}

.mask {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: 750px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, .6);
}

.mask.bg-w {
  background-color: #fff;
}

.exit {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 30px;
  padding: 0 10px;
  background-color: silver;
  border-radius: 4px;
}

.mask img {
  width: 80%;
}

@media screen and (min-width: 600px) {
  .info {
    text-indent: 0;
    text-align: center;
  }
}