  body {
      background-color: #350606ec;
      overflow: hidden;
  }

  a {
        text-decoration: none;
        font-weight: 600;
        color: var(--white);
  }
  .container {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 1500px;
      height: 780px;
      padding: 50px;
      background-color: #f5f5f5;
      box-shadow: 0 30px 50px #dbdbdb;
  }


  #slide {
      width: max-content;
      margin-top: 50px;
  }

  .item {
      width: 200px;
      height: 300px;
      background-position: 50% 50%;
      display: inline-block;
      transition: 0.5s;
      background-size: cover;
      position: absolute;
      z-index: 1;
      top: 50%;
      transform: translate(0, -50%);
      border-radius: 20px;
      box-shadow: 0 30px 50px #505050;
  }

  .item:nth-child(1),
  .item:nth-child(2) {
      left: 0;
      top: 0;
      transform: translate(0, 0);
      border-radius: 0;
      width: 100%;
      height: 100%;
      box-shadow: none;
  }

  .item:nth-child(3) {
      left: 50%;
  }

  .item:nth-child(4) {
      left: calc(50% + 220px);
  }

  .item:nth-child(5) {
      left: calc(50% + 440px);
  }

  .item:nth-child(n+6) {
      left: calc(50% + 660px);
      opacity: 0;
  }

  .item .content {
      position: absolute;
      top: 50%;
      left: 100px;
      width: 300px;
      text-align: left;
      padding: 0;
      color: #eee;
      transform: translate(0, -50%);
      display: none;
      font-family: system-ui;
  }

  .item:nth-child(2) .content {
      display: block;
      z-index: 11111;
  }

  .item .name {
      font-size: 40px;
      font-weight: bold;
      opacity: 0;
      animation: showcontent 1s ease-in-out 1 forwards
  }

  .item .des {
      margin: 20px 0;
      opacity: 0;
      animation: showcontent 1s ease-in-out 0.3s 1 forwards
  }

  .item button {
      padding: 10px 20px;
      border: none;
      opacity: 0;
      animation: showcontent 1s ease-in-out 0.6s 1 forwards
  }

  @keyframes showcontent {
      from {
          opacity: 0;
          transform: translate(0, 100px);
          filter: blur(33px);
      }

      to {
          opacity: 1;
          transform: translate(0, 0);
          filter: blur(0);
      }
  }

  .buttons {
      position: absolute;
      bottom: 30px;
      z-index: 222222;
      text-align: center;
      width: 100%;
  }

  .buttons button {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 1px solid #555;
      transition: 0.5s;
  }

  .buttons button:hover {
      background-color: #bac383;
  }

  /* 去除a标签默认下划线，并设置默认文字颜色 */
a {
    text-decoration: none;
    color: #333;
}

/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */
img {
    max-width: 100%; /* 确保图片自适应 */
    height: auto; /* 高度自适应 */
    vertical-align: middle;
}

/* 去除input默认样式 */
input {
    border: none;
    outline: none;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

body {
    background-color: #fff;
}

/* 响应式布局设置 */
.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px; /* 最大宽度 */
}

/* 头部区域 */
.head {
    background-color: #fff;
    width: 100%;
    height: 50px;
    display: flex;
    position: fixed;
    z-index: 2;
    justify-content: space-between; /* 水平分布 */
    align-items: center; /* 垂直居中 */
    padding: 0 20px; /* 内边距 */
}

.head .inside img {
    height: 50px;
}

.head .nav ul {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center; /* 居中对齐 */
    padding: 0;
}

.head .nav ul li {
    margin: 0 10px; /* 增加左右间距 */
}

.head .nav ul li a {
    color: rgb(119, 63, 88);
    font-size: 14px;
    font-weight: 400;
    line-height: 50px;
}

.head .nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
}

/* 图片区域 */
.image1 {
    width: 100%;
    height: 700px;
}

.image1 img {
    width: 100%;
    height: 100%;
}

.image2 {
    width: 100%;
    max-width: 480px; /* 最大宽度 */
    height: auto; /* 高度自适应 */
    position: relative;
    margin: -240px auto 0; /* 居中叠加 */
}

.image2 img {
    border: 10px solid rgb(225,182,122);
    width: 100%;
}

/* 红色故事传颂区域 */
.hd {
    width: 100%;
    height: 60px;
    line-height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px; /* 内边距 */
}

.hd h3 {
    font-size: 1.5em; /* 适应屏幕大小 */
}

/* 具体事迹区域 */
.news {
    width: 100%;
    background: rgb(246, 235, 208);
    padding: 50px 20px; /* 加入内边距 */
}

.list {
    display: flex;
    flex-wrap: wrap; /* 换行 */
    justify-content: space-between;
}

.list div {
    display: flex;
    flex-direction: column; /* 垂直方向排列 */
    background-color: rgb(253, 250, 244);
    width: calc(50% - 10px); /* 每个项占50%减去间距 */
    margin-bottom: 20px; /* 下方间距 */
}

.list div img {
    width: 100%; /* 完全适应父元素 */
    height: auto; 
}

.list div p {
    margin: 10px; /* 增加上下间距 */
    font-size: 16px; /* 适合移动设备的字体大小 */
}

/* 版权区域 */
.footer {
    width: 100%;
    height: 80px;
    background: #ffffff;
    text-align: center;
    font-size: 16px;
    color: #0d4765;
    line-height: 30px;
    padding-top: 20px;
}

/* 媒体查询 */
@media (max-width: 768px) {
    .head {
        flex-direction: column; /* 垂直排列 */
        height: auto; /* 高度自适应 */
    }

    .head .nav ul {
        flex-direction: column; /* 垂直排列 */
    }

    .list div {
        width: 100%; /* 移动端每项宽度100% */
    }
}
