html,
body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: Source Han Sans CN;
}

ul,
li,
p {
  list-style: none;
  padding: 0;
  margin: 0;
}
.container {
  position: relative;
  z-index: 9;
}
.bg {
  width: 100%;
  box-sizing: border-box;
  z-index: -1;
}
.bg img {
  width: 100%;
  height: 100%;
  display: block;
  z-index: -9;
  box-sizing: border-box;
}
.bg .img1 {
  height: auto;
}
.head {
  background: rgba(35, 35, 35, 0.6);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
}
.head .head-content {
  max-width: 980px;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.head .head-a {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-family: PingFang SC-Bold, PingFang SC;
  font-weight: bold;
  font-size: 0.26rem;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}
.head .nav {
  display: flex;
  align-items: center;
  font-size: 0.3rem;
  height: 100px;
  border-radius: 0px 0px 0px 0px;
}
.head .nav li {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}
.head .nav li{
  margin-left: 0.8rem;
}
.head .nav li.current {
  color: #fff;
}
.head .nav li.current::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 80%;
  height: 3px;
  background-color: #fff;
  display: block;
  left: 50%;
  transform: translateX(-50%);
}

.f-btn {
  cursor: pointer;
  font-size: 0.18rem;
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 0.5rem;
  color: #fff;
  background: #4bbaff;
  background: linear-gradient(to bottom, #4bbaff 0, #023fff 100%);
  transform-style: preserve-3d;
  transition: all 0.3s ease-out;
}
.f-btn:hover {
  transform: scale(1.04);
  filter: brightness(1.05) contrast(1.05);
}

.footer {
  font-size: 0.16rem;
  height: 100px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #232323;
}
.footer p {
  margin: 0;
}
.footer .url {
  text-decoration: none;
  color: #fff;
  text-align: left;
}

/* 弹窗 */
/* 弹窗 (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* 弹窗内容 */
.modal-content {
  position: relative;
  background-color: #fff;
  margin: auto;
  padding: 0.5rem 0.3rem 1rem;
  border: 1px solid #888;
  border-radius: 20px;
  width: 5rem;
  box-shadow: 0 0.04rem 0.08rem 0 rgba(0, 0, 0, 0.2),
    0 0.06rem 0.2rem 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  animation-fill-mode: forwards;
}

/* 添加动画 */
@-webkit-keyframes animatetop {
  from {
    top: -50%;
    opacity: 0;
  }
  to {
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -50%;
    opacity: 0;
  }
  to {
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }
}

.modal-header {
  color: #000;
  font-size: 0.2rem;
  text-align: center;
}

.modal-body {
  margin-top: 0.5rem;
  position: relative;
}
.close {
  position: absolute;
  right: 0.2rem;
  top: 0.1rem;
  height: auto;
  font-size: 0.2rem;
}
.close:hover,
.close:focus {
  color: #1100ff;
  text-decoration: none;
  cursor: pointer;
}
.close img {
  width: 30px;
}

@media (max-width: 768px) {
  .head .head-a {
    font-size: 16px;
  }
  .head .nav {
    font-size: 16px;
  }
  .footer .url {
    text-align: center;
  }
  .modal-content {
    padding: 1rem 0.3rem 2rem;
    width: 15rem;
  }
}
