body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'FZZZHONGHJW';
}
* {
  box-sizing: border-box;
}
@font-face {
  font-family: 'FZZCHJW';
  src: url('../fonts/FZZCHJW.ttf');
}
@font-face {
  font-family: 'FZZZHONGHJW';
  src: url('../fonts/FZZZHONGHJW.ttf');
}
@font-face {
  font-family: 'FZZZHUNHJW';
  src: url('../fonts/FZZZHUNHJW.ttf');
}
.st {
  background-color: white;
}
.st .bg {
  width: 100%;
  height: 100%;
  background-image: url(../images/backgrond.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
}
.st .qcdb {
  width: 85%;
  padding-top: 1.1rem;
  padding-bottom: 0.5rem;
  margin: 0 auto;
}
.st .qcdb img {
  width: 100%;
}
.st .wz {
  width: 5.05rem;
  height: 1rem;
  padding-top: 0.25rem;
  line-height: 0.25rem;
  margin: 0.4rem auto;
  margin-bottom: 0.7rem;
  text-align: center;
  font-size: 0.2rem;
  font-family: 'FZZZHONGHJW';
  color: #fffae3;
  position: relative;
}
.st .wz .wz1 {
  display: block;
  width: 0.55rem;
  height: 0.22rem;
  border-top: 1px solid #a8a39b;
  border-left: 1px solid #a8a39b;
  position: absolute;
  top: 0;
  left: 0;
}
.st .wz .wz2 {
  display: block;
  width: 0.55rem;
  height: 0.22rem;
  border-bottom: 1px solid #a8a39b;
  border-right: 1px solid #a8a39b;
  position: absolute;
  right: 0;
  bottom: 0;
}
.st .sBtn {
  width: 60%;
  margin: 0 auto;
}
.st .sBtn img {
  width: 100%;
}
.st .mark {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.st .nameInput {
  width: 90%;
  height: 3rem;
  font-size: 0.22rem;
  color: #772e28;
  text-align: center;
  font-family: 'FZZZHONGHJW';
  background-image: url(../images/nameInput.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 54%;
  margin-left: -42%;
  margin-top: -1.5rem;
  padding-top: 0.6rem;
}
.st .nameInput h2 {
  width: 100%;
  height: 0.8rem;
  text-align: left;
  padding-left: 20%;
  line-height: .8rem;
}
.st .nameInput input {
  width: 55%;
  text-align: center;
  font-family: 'FZZZHONGHJW';
  font-size: 0.24rem;
  height: 0.6rem;
  line-height: 0.6rem;
  background-color: transparent;
  color: #772e28;
  font-weight: bold;
  margin-left: -2rem;
}
.st .nameInputPopover {
  width: 2.5rem;
  position: absolute;
  top: 65%;
  left: 50%;
  margin-left: -1.25rem;
  animation-duration: 1s;
  animation-delay: 0.5s;
}
.st .nameInputPopover img {
  width: 100%;
  height: auto;
}
/* .st .huan {
  width: 100%;
  height: 3.9rem;
  position: absolute;
  bottom: 0;
  animation: run 10s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transform-origin: 50% 3.9rem; */
/* } */
/* .st .huan img {
  width: 120%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
} */
#wave1{
  position: absolute;;
  bottom: 0;
  animation: waving1 6s ease-in-out infinite;
  animation-direction: alternate;
}
#wave2{
  position: absolute;;
  bottom: 0;
  animation: waving2 5s ease-in-out infinite;
  animation-direction: alternate;
}

@keyframes waving1{
  from{
    bottom: -300px;
  }
  to{
    bottom: -500px;
  }
}
@keyframes waving2{
  from{
    bottom: -400px;
  }
  to{
    bottom: -450px;
  }
}

.result .bg {
  width: 100%;
  height: 100%;
  padding-top: 2rem;
  background-image: url(../images/backgrond.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 1rem;
}
.result .reBox {
  width: 80%;
  height: 90%;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 auto;
  border-radius: 0.4rem;
  padding: 0.15rem 0;
  position: relative;
}
.result .reBox h3 {
  height: 0.72rem;
  line-height: 0.3rem;
  padding: 0.21rem 0.1rem;
  font-size: 0.26rem;
  color: #ffffff;
  font-weight: normal;
  font-family: 'FZZZHONGHJW';
  text-align: center;
}
.result .reBox span {
  display: inline-block;
  color: #ffe57c;
  font-size: 0.3rem;
  animation-delay: 1s;
}
.result .reBox .tea-name {
  width: 2.3rem;
  height: 0.6rem;
  line-height: 0.55rem;
  margin: 0 auto;
  border: 1px solid #c4a65d;
  position: relative;
  border-radius: 0.05rem;
}
.result .reBox .tea-name div {
  width: 2.2rem;
  height: 0.46rem;
  font-size: 0.3rem;
  border-radius: 0.05rem;
  color: #fff;
  text-align: center;
  background: #c4a65d;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.result .reBox .imgBox {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0.2rem auto;
  animation-delay: 1s;
}
.result .reBox .imgBox img {
  width: 100%;
}
.result .reBox .content {
  width: 80%;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  height: 35%;
  font-size: 0.26rem;
  overflow: scroll;
  color: #fff;
  animation-delay: 2s;
}
.result .btnBox {
  width: 80%;
  height: 1.2rem;
  margin: 0 auto;
  text-align: center;
}
.result .btnBox div {
  display: inline-block;
  width: 42%;
  background-size: contain;
  background-repeat: no-repeat;
  height: 0.7rem;
}
.result .btnBox .again {
  background-image: url(../images/button-restart.png);
}

.result .btnBox .save a {
  display: block;
  width: 100%;
  height: 100%;
}
.result .db {
  width: 80%;
  margin: 0 auto;
  position: relative;
}
.result .db .code {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.5rem;
  float: left;
}
.result .db .code img {
  width: 100%;
}
.result .db .wz {
  font-size: 0.22rem;
  color: #eee7d9;
  float: left;
  padding-left: 1.9rem;
  padding-right: 0.1rem;
  padding-top: 0.1rem;
  position: absolute;
  top: 0;
  left: 0;
}


.result .mark {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: url(../images/huan.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40%;
  position: absolute;
  font-size: 0.3rem;
  color: #fff;
  text-align: center;
  top: 0;
  left: 0;
  z-index: 1000;
}
.result .mark .mjtBox {
  width: 100%;
  height: 2.2rem;
}
.result .mark .mjt {
  height: 1.8rem;
  float: right;
  margin-right: 1rem;
  margin-top: 0.3rem;
}
.result .mark .mjt img {
  width: auto;
  height: 100%;
}
.result .mark a {
  color: #59b2ff;
  font-size: 0.34rem;
  line-height: 0.5rem;
}
.result .mark .fenx {
  padding-top: 0.5rem;
  line-height: 0.5rem;
}
