* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 0.24rem;
}

html,
body {
  height: 100%;
}

input {
  background: none;
  outline: none;
  border: none;
  padding: 0 0.1rem;
}

input::-webkit-input-placeholder {
  color: #cccccc;
}

button {
  border: none;
  background-color: #fff;
  outline: none;
  color: #3972db;
  border: 0.02rem solid #3972db;
  border-radius: 0.3rem;
  width: 1.7rem;
  height: 0.46rem;
}
#root {
  width: 7.5rem;
  height: 100%;
  margin: 0 auto;
  background: url("../img/bg_1.jpg");
  background-size: 100% 100%;
}
.container-bg {
  background: url("../img/bg_1.jpg");
  background-size: 100%;
  width: 7.5rem;
  height: 13.15rem;
  padding-top: 3.4rem;
}
@media screen and (min-height: 568px) and (max-height: 652px) {
  .kong {
    width: 6.5rem;
    height: 1.16rem;
    margin: 0 auto;
    background: #fff;
  }
}

@media screen and (min-height: 653px) and (max-height: 666px) {
  .kong {
    width: 6.5rem;
    height: 5.35rem;
    margin: 0 auto;
    background: #fff;
  }
}
@media screen and (min-height: 667px) and (max-height: 719px) {
  .kong {
    width: 6.5rem;
    height: 1.16rem;
    margin: 0 auto;
    background: #fff;
  }
}
@media screen and (min-height: 731px) and (max-height: 811px) {
  .kong {
    width: 6.5rem;
    height: 1.16rem;
    margin: 0 auto;
    background: #fff;
  }
}
@media screen and (min-height: 812px) and (max-height: 822px) {
  .kong {
    width: 6.5rem;
    height: 4.08rem;
    margin: 0 auto;
    background: #fff;
  }
}
@media screen and (min-height: 823px) and (max-height: 1023px) {
  .kong {
    width: 6.5rem;
    height: 2.85rem;
    margin: 0 auto;
    background: #fff;
  }
}
@media screen and (min-width: 1024px) {
  .kong {
    width: 6.5rem;
    height: 1.52rem;
    margin: 0 auto;
    background: #fff;
  }
}

.white-frame {
  width: 6.5rem;
  height: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 0.2rem 0.2rem 0 0;
  padding: 0 0.9rem;
}

.phone-box {
  position: relative;
  display: flex;
  align-items: center;
  top: 0.73rem;
}

.phone-img {
  width: 0.34rem;
  height: 0.55rem;
}

.phone-input-box {
  position: absolute;
  left: 0.75rem;
  width: 3.85rem;
  height: 0.65rem;
  border-bottom: 0.02rem solid #a0a0a0;
}

.phone-input {
  width: 100%;
  display: block;
  height: 100%;
}

.code-img {
  width: 0.4rem;
  height: 0.4rem;
}

.code-box {
  position: relative;
  display: flex;
  align-items: center;
  top: 1.3rem;
}

.code-input-box {
  position: absolute;
  display: flex;
  left: 0.75rem;
  justify-content: space-between;
  border-bottom: 0.02rem solid #a0a0a0;
  width: 3.85rem;
}

.code-input {
  width: 2rem;
  height: 0.55rem;
}

.btn {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  top: 2rem;
  height: 0.74rem;
  width: 3.5rem;
  background-image: -webkit-linear-gradient(90deg, #eec373 10%, #f8e69b 100%);
  border-radius: 0.35rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.3rem;
  font-weight: bold;
  color: #9c5909;
  cursor: pointer;
}

.agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 2.4rem;
  color: #999999;
  font-size: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
}

.square {
  width: 0.3rem;
  height: 0.3rem;
  border: 0.02rem solid #999999;
  border-radius: 0.1rem;
}

.yes {
  background-image: url("../img/yes.png");
  background-size: 100% 100%;
}

.agreement-font {
  margin-left: 0.13rem;
  border-bottom: 0.02rem solid #d1d1d1;
}

.query-box {
  display: flex;
  position: relative;
  top: 3rem;
  color: #3b74db;
}

.rules {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.wifi {
  border-left: 0.02rem solid #dddddd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.rules-img {
  width: 0.78rem;
  height: 0.78rem;
}

.wifi-img {
  width: 0.78rem;
  height: 0.78rem;
}
img.card{
  content: url("../img/1.png");
}
.card {
  position: fixed;
  bottom: -1.89rem;
  left: 50%;
  transform: translate(-50%, 0);
  width: 8.08rem;
  height: 4.36rem;
}

.title-font {
  position: relative;
  top: 0.7rem;
  text-align: center;
  color: #2f4569;
  font-size: 0.25rem;
}

.numberTimes {
  position: relative;
  top: 1rem;
  font-size: 0.72rem;
  text-align: center;
  color: #112a54;
}

.up-box {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.up-box-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 35%;
}

.up-box-font {
  padding: 0.46rem;
  height: 2.6rem;
  width: 5.56rem;
  background-color: #fff;
  border-radius: 0.1rem 0.1rem 0 0;
  font-size: 0.28rem;
}

.up-box-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 0.83rem;
  width: 5.56rem;
  background-color: #f3f7fd;
  border-radius: 0 0 0.1rem 0.1rem;
  color: #3972db;
  font-size: 0.32rem;
  cursor: pointer;
}
