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

@font-face {
  font-family: Douyin Sans;
  src: url(../font/douyinmeihaoti.otf);
}

@font-face {
  font-family: Source Han Sans CN-Light;
  src: url(../font/SourceHanSansSC-Light.otf);
}

@font-face {
  font-family: Source Han Sans CN;
  src: url(../font/SourceHanSansSC-Regular.otf);
}

@font-face {
  font-family: Poppins-Bold;
  src: url(../font/Poppins-Bold.otf);
}

@font-face {
  font-family: Poppins-Light;
  src: url(../font/Poppins-Light.otf);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  display: block;
  outline: 0;
  text-decoration: none;
}

/* ul,
ol {
  list-style: none;
} */

input,
textarea,
button,
select {
  border: 0;
  resize: none;
  outline: 0;
  background: transparent;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  object-fit: contain;
}

/*多行溢出*/
.line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
}

.line3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 3;
}

.line4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 4;
}

/* hover-图片放大1.1 */
.scale-box {
  overflow: hidden;
}

.scale-box .scale-img {
  width: 100%;
  height: 100%;
  transition: all .3s linear;
  cursor: pointer;
  object-fit: cover;
}

.scale-box:hover .scale-img {
  transform: scale(1.1);
}

/* 常用盒子阴影 */
.shadow_box {
  box-shadow: 0 .02rem .12rem 0 rgba(0, 0, 0, 0.1)
}

/* 水波纹效果 */
.btn-ripple {
  vertical-align: bottom;
}

.btn-ripple:not(:disabled):hover {
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.btn-ripple:not(:disabled):hover::before {
  animation: ani_ripple 0.75s;
  z-index: 1;
  content: "";
  position: absolute;
  display: block;
  transition: all 0.6s;
  width: 100%;
  height: 0;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  padding-top: 100%;
  transform: translateX(-50%) translateY(-50%);
}

@keyframes d1 {
  form {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes d2 {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(15deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-15deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes d3 {
  0% {
    right: 0rem;
    bottom: 0rem;
  }

  50% {
    right: .14rem;
    bottom: .16rem;
  }

  100% {
    right: 0rem;
    bottom: 0rem;
  }
}

@keyframes d4 {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes d5 {
  form {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
   transform: translateY(0%);
    opacity: 1;
  }
}

.main {
  max-width: 14rem;
  width: 94%;
  margin: 0 auto;
}

.logo img {
  width: 100%;
  height: 100%;
}

.logoBack {
  width: 100%;
  min-height: 10.8rem;
  background-image: url(../img/img5.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}