@charset "utf-8";

/* 动画 */
@keyframes debounce {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}
.page {

  display: flex;
  justify-content: center;
  align-items: center;
  font-family: PingFangSC-Regular, PingFang SC;
}

/* 丝带 */
.pattern {
  width: 1.5rem;
  position: absolute;
  top: 0;
}
.pattern img {
  width: 100%;
}
.pattern.left {
  left: 0;
}
.pattern.right {
  right: 0;
}

.wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.app-brief {
    position: relative;
}

.logo {
    width: 1.6rem;
    height: 1.6rem;
}

#qrcode {
    width: 1.6rem;
    height: 1.6rem;
}

#qrcode canvas {
    width: 1.6rem !important;
    height: 1.6rem !important;
}

.app-name {
  margin-top: 0.3rem;
  font-size: 0.32rem;
  font-weight: 800;
  color: #555;
  font-weight: 600;
  letter-spacing: 0.02rem;
}

.scan-tips {
    width: 100%;
    margin-top: 0.3rem;
    white-space: nowrap;
    line-height: 0.25rem;
    font-size: 0.15rem;
    color: #999999;
}

.down-box {
    margin-top: 0.34rem;
}
.btn-group {
    display: flex;
    align-items: center;
    /*margin-top: 0.34rem;*/
}
.btn-qr {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.download-button {
  position: relative;
  /*width: 3.75rem;*/
  /*height: 0.85rem;*/
  padding: 12px 46px;
  /*min-width: 200px;*/
  border-radius: 0.45rem;
  background: #32b2a7;
  /*margin-top: 0.34rem;*/
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  /*font-size: 0.26rem;*/
  font-size: 14px;
  cursor: pointer;
}

.download-button:hover .down-qr {
    display: block;
}

.down-qr {
    display: none;
    position: absolute;
    top: -130px;
}
.down-qr img {
    display: block;
    border: solid 1px #999;
}

.download-button:first-child {
    margin-right: 10px;
}

/* 已安装提示 */
.open-tips {
  margin-top: 0.4rem;
  font-size: 0.3rem;
  font-weight: bold;
  line-height: 0.42rem;
  color: #fb4545;
  display: none;
  cursor: pointer;
}

.open-tips.show {
  display: block;
}

.browser-tips {
  font-size: 0.24rem;
  margin-top: 0.4rem;
  color: #999999;
  letter-spacing: 0.04rem;
  display: none;
}

.browser-tips.show {
  display: block;
}

/* 微信环境提示 */
.tips {
  display: none;
  position: fixed;
  top: 0.16rem;
  right: 0.16rem;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 0.12rem;
  padding: 0.08rem 0.2rem;
  color: #fff;
  font-size: 0.26rem;
}
.tips::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  top: -0.15rem;
  right: 0.22rem;
  display: block;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.75) transparent;
  border-width: 0 0.16rem 0.16rem 0.16rem;
}

.tips.show {
  display: block;
}
.tips.ani {
  animation: debounce 1s;
}

@media screen and (max-width: 768px) {
    #qrcode,.scan-tips {
        display: none;
    }
}
