

.webBanner {
    width: 100%;
    height: 500px;
    position: relative;
    background-size: cover;
}

.webBanner ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.webBanner li {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.bannerContent {
    position: absolute;
    top: 114px;
    left: 244px;
    color: white;
}

.bannerTitle {
    font-size: 62px;
    font-family: '思源宋体Heavy', serif;
    font-weight: bold;
}

.bannerDescription {
    font-size: 30px;
    font-family: '思源黑体 CN Light', '微软雅黑', sans-serif;
    margin-top: 20px;
}

.bannerButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.bannerButton.prev {
    left: 10px;
}

.bannerButton.next {
    right: 10px;
}

.bannerButton::before {
    content: '';
    width: 15px;
    height: 15px;
    border-top: 3px solid white;
    border-right: 3px solid white;
}

.bannerButton.prev::before {
    transform: rotate(-135deg);
}

.bannerButton.next::before {
    transform: rotate(45deg);
}

nav {
  background-color: #007bff;
  color: white;
}

.nav-list {
  list-style-type: none;
  margin: 0 auto;
  position: relative;
  width: 1200px;
  height:50px;
  padding:0;
}

.nav-list li {
  position: relative;
  float: left; /* 让导航项水平排列 */
}

.nav-list li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.nav-list li a:hover {
  background-color: #0056b3;
}

.sub-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.sub-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: calc(25% + 10px);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f9f9f9;
}

.sub-menu li {
  display: block;
  min-width: 100px;
  padding: 0; /* 去掉左右内边距 */
}

.sub-menu li a {
  color: black;
  text-decoration: none;
  display: block;
  text-align: center; /* 文字居中 */
  padding: 10px 0; /* 调整上下内边距 */
}

.sub-menu li a:hover {
  background-color: #ddd;
}

.nav-list li:hover .sub-menu {
  display: block;
  padding: 0;
}


/* 清除浮动 */
nav::after {
  content: "";
  display: table;
  clear: both;
}