.title-box {
  color: #333;
  padding: 40px;
  text-align: center;
  .title {
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 20px;
    letter-spacing: 5px;
  }
  .title-2 {
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: #555;
  }
  .line {
    width: 50px;
    height: 4px;
    border-radius: 2px;
    margin: 0 auto;

    background-image: linear-gradient(90deg, #5051f3, #c9449a);
  }
}

.menu {
  cursor: pointer;
}

.content {
  display: none;
  position: relative;
  bottom: -100%;
  /* 初始位置在屏幕下方 */
  transition: bottom 0.5s ease;
  /* 添加过渡效果 */
  padding: 10px;
  margin-top: 10px;
}

.content.active {
  width: 100%;
  display: block;
  bottom: 0;
  /* 显示时移动到屏幕底部 */
}

.content.active > div {
  animation: slideInText 0.5s ease forwards;
}

@keyframes slideInText {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 发展历程 */
.box {
  width: 90%;
  height: 508px;
  margin: 0 auto;
  display: flex;
  padding-bottom: 5vw;
  .box-left-imgh {
    width: 50%;
    height: 100%;

    img {
      display: block;
      width: 100%;
      height: 100%;
    }
  }

  .box-right-content {
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #001066, #2f50a2);
    padding: 4.5vw 3.125vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    .pare-box {
      margin-bottom: 2vw;

      span {
        display: inline-block;
        vertical-align: top;
        width: 90px;
        font-size: 24px;
        color: #fff;
      }

      div {
        display: inline-block;
        display: inline-block;
        vertical-align: top;
        width: calc(100% - 100px);
        font-size: 16px;
        line-height: 2;
        color: #fff;
      }
    }
  }
}

.menu-box {
  width: 70%;
  height: 80px;
  margin: 0 auto;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .menu-item {
    width: 20px;
    height: 20px;
    border: 1px solid #aaa;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    position: relative;

    .yuan {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 8px;
      height: 8px;
      background: #aaa;
      border-radius: 50%;
    }
  }

  .item {
    display: flex;
    flex-direction: column;
    align-items: center;

    span {
      display: inline-block;
      margin-top: 10px;
      font-size: 20px;
      color: #aaa;
    }
  }
  .item:hover {
    .menu-item {
      border: 1px solid #fff;
      background: linear-gradient(
        40deg,
        rgba(0, 16, 102, 0.9),
        rgba(47, 80, 162, 0.9)
      );
      .yuan {
        background-color: #fff;
      }
    }
  }
}

.line {
  .menu-item {
    border: 1px solid #fff;
    background: linear-gradient(
      40deg,
      rgba(0, 16, 102, 0.9),
      rgba(47, 80, 162, 0.9)
    );

    .yuan {
      background-color: #fff;
    }
  }
}
