@import url(./init.css);
@import url(./header.css);
@import url(./footer.css);

/* 返回顶部的按钮 */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 15px;
  background: rgba(0, 0, 0, 0.46);
  color: #fff;
  transition: all 0.2s linear;
}

.back-to-top i {
  display: block;
  font-size: 18px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: #fff;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

/* banner */
.bannerN {
  position: relative;
  display: flex;
  height: 450px;
  background-size: cover;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.bannerN .imgFull {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.banH2 {
  position: relative;
  color: #fff;
  font-size: 36px;
}

.banH4 {
  position: relative;
  color: #fff;
  width: 100%;
  bottom: 25%;
}

/* 背景动画 */
.mainBg {
  position: relative;
  min-height: 198px;
  font-size: 14px;
  color: #777777;
  line-height: 32px;
}

.mainBgImg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 185px;
  background: url(../images/mainBg.png) center top no-repeat;
  animation: mainBg 80s infinite;
  z-index: -1;
}

@keyframes mainBg {
  0% {
    transform: skewX(0deg);
    transform-origin: center top;
  }

  25% {
    transform: skewX(45deg);
    transform-origin: center top;
  }

  50% {
    transform: skewX(0deg);
    transform-origin: center top;
  }

  75% {
    transform: skewX(-45deg);
    transform-origin: center top;
  }

  100% {
    transform: skewX(0deg);
    transform-origin: center top;
  }
}

@media (max-width: 1600px) {
  .bannerN {
    height: 400px;
  }

  .banH2 {
    font-size: 30px;
  }
}

@media (max-width: 1400px) {
  .bannerN {
    height: 350px;
  }
}

@media (max-width: 1200px) {
  .bannerN {
    height: 300px;
    margin-top: 74px;
  }
}

@media (max-width: 1100px) {
  .bannerN {
    height: 250px;
  }

  .banH2 {
    font-size: 24px;
  }
}

@media (max-width: 360px) {
  .bannerN {
    height: 180px;
  }

  .banH2 {
    font-size: 18px;
  }
}
