/* 通用css */
/* @font-face {
  font-family: "AlibabaHuiPuti";
  src: url("../fonts/alibabahuiputi.ttf") format("truetype");
} */

body {
  /* font-family: "AlibabaHuiPuti"; */
  text-align: center;
  max-width: 800px;
  min-width: 256px;
  min-height: calc(100vh - 20px);
  margin: 0 auto;
  color: #515151;
  font-size: 1em;
  padding: 10px;
  background-image: linear-gradient(109.6deg,#dfeaf7 11.2%,#f4f8fc 91.1%);
}

h2 {
  text-align: center;
}

.desc {
  text-align: left;
  white-space: pre-wrap;
}

/* 继续按钮 */
.continute-div {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色蒙层 */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  color: rgb(253, 253, 253);
  text-align: center;
}

.continute-div img {
  width: 68px;
}

.continute-div div {
  cursor: pointer;
}

.next-step-mengceng {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* 下一页 */
.next-step-container {
  display: flex;
  text-align: center;
}

.next-step-container img {
  width: 68px;
}

.next-step-container-btn1 {
  flex: 1;
  margin-right: 10%;
  position: relative;
}

.next-step-container-btn1-r {
  position: absolute;
  right: 0;
  width: 68px;
  cursor: pointer;
}

.next-step-container-btn2 {
  flex: 1;
  margin-left: 10%;
  position: relative;
}

.next-step-container-btn2-l {
  position: absolute;
  left: 0;
  width: 68px;
  cursor: pointer;
}

/* 定义闪烁动画 */
@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.shok {
  position: relative;
}

.shok::after {
  content: "";
  position: absolute;
  left: 5%;
  bottom: 0;
  width: 90%;
  height: 2px;
  background-color: currentColor;
  animation: blink 1s linear infinite;
  color: blue;
}

input {
  line-height: 2em;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 2px 0;
  padding: 0 5px;
}

input:focus {
  border-color: #409eff;
  outline: none;
}

input[type="radio"] {
  cursor: pointer;
}

input[type="checkbox"] {
  cursor: pointer;
}

button {
  line-height: 1.5em;
  cursor: pointer;
  background-color: #409eff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 20px;
}

.voice-controller {
  width: 1.2em;
  height: auto;
  vertical-align: middle;
  z-index: 999;
  position: inherit;
  border-radius: 4px;
  padding: 0 4px;
  cursor: pointer;
}

/* 底部tab */
.navbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  max-width: 800px;
  background-color: white;
  border-radius: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.nav-icon {
  width: 30px;
  height: 30px;
}

.nav-text {
  font-size: 14px;
}

/* 隐藏滚动条 */
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}
