.wrapper {
  margin: 0 auto;
  width: 94.6875rem;
}
body {
  background: #f3f5f7;
}
.header {
  height: 6.25rem;
  background-color: #fff;
  /* 用户 */
}
.header .wrapper {
  padding-top: 1.8125rem;
  display: flex;
}
.header .logo a {
  display: block;
  width: 12.1875rem;
  height: 5.875rem;
  margin-bottom: 0%;
  margin-top: -14%;
  background-image: url(../images/贝享logo.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0;
}
.header .nav {
  margin-left: 20.125rem;
}
.header .nav ul {
  display: flex;
}
.header .nav li {
  margin-right: 3.875rem;
  margin-top: 0.3125rem;
}
.header .nav li a {
  margin-top: 0.1875rem;
  justify-content: center;
  align-content: center;
  padding: 0.375rem 0.5rem;
  line-height: 1.6875rem;
  font-size: 1.25rem;
  text-align: center;
}
.header .nav li .教育专区按钮,
.header .nav li a:hover {
  border-bottom: 2px solid #F3D070;
}
.header .user {
  margin-top: 0.0625rem;
  margin-left: auto;
}
.header .user img {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.4375rem;
  border-radius: 3.125rem;
  /* vertical-align 行内块和行内垂直方向对齐方式 */
  vertical-align: middle;
}
.header .user span {
  font-size: 16px;
  color: #666;
}
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 50px 0 30px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-section {
  width: 23%;
  margin-bottom: 30px;
}
.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #ffffff;
}
.footer-section p,
.footer-section a {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer-section a:hover {
  color: #ffffff;
}
.social-icons {
  display: flex;
  margin-top: 15px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  background-color: #333333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background-color: #555555;
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333333;
  margin-top: 20px;
  font-size: 14px;
  color: #999999;
}
@media (max-width: 768px) {
  .footer-section {
    width: 48%;
  }
}
@media (max-width: 480px) {
  .footer-section {
    width: 100%;
  }
}
