:root {
  --people-name: #e0a543;
  /* --bg-color: #0d1b2a; */
}

.people-hall {
  /* background-color: rgba(48, 157, 1, 0.3); */
  /* margin: 0px 0 50px 0; */
  padding: 60px 25px;
  width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.people-hall-banner {
  /* background-color: #e0a543; */
  position: absolute;
  height: 1250px;
  width: 100vw;
  top: 5%;
  transform: translateY(-60.5%);
  overflow: hidden;
  box-shadow: 0px 3px 6px 0 rgba(0, 0, 0, 0.7);
}

.people-hall-banner > img {
  /* background-color: chocolate; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%) opacity(60%);
  animation: hall-banner-motive 40s ease-in-out infinite alternate;
  /* transition: 0.5s; */
}

@keyframes hall-banner-motive {
  from {
    transform: scale(100%) rotate(0deg);
  }
  10% {
    transform: scale(150%) rotate(-3deg);
  }
  27% {
    transform: scale(215%) rotate(-15deg);
  }
  59% {
    transform: scale(178%) rotate(5deg);
  }
  85% {
    transform: scale(155%) rotate(-8deg);
  }
  to {
    transform: scale(100%) rotate(0deg);
  }
}

.people {
  /* background-color: #e0a543; */
  position: relative;
  height: 100%;
  width: 750px;
  padding: 10px 0;
  display: flex;
  justify-content: space-around;
}

.people-img {
  /* background-color: aqua; */
  width: 270px;
  height: 100%;
  margin: 0 25px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px 0 #000;
  overflow: hidden;
}

.people-img > img {
  /* display: block; */
  /* margin: auto 0 auto auto; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
}

/* .people-img > img:hover {
  transform: scale(1.1);
} */

.people-brief {
  /* background-color: blueviolet; */
  margin: 0 auto 0 0;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 10px 0 10px;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
  /* transform: translate(-6%, 0); */
}

.people-name {
  font-size: 1.5em;
  color: var(--people-name);
  transition: 0.5s;
}

.detail {
  font-size: 0.9em;
}

.detail > a {
  font-size: 0.8em;
  transition: 0.3s;
}

.detail > a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  /* animation: move-underline 0.3s forwards; */
  color: gold;
}

/* @keyframes move-underline {
  from {
    text-underline-offset: 0.1em;
  }
  to {
    text-underline-offset: 0.2em;
  }
} */

.people-life {
  height: 70%;
  width: 100%;
  overflow: auto;
  padding: 10px 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25),
    -2px -2px 10px rgba(0, 0, 0, 0.25);
  transform: translate(-15px, 0);
  display: flex;
  align-items: flex-end;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  text-align: justify;
  text-justify: inter-word;
}

/* -------------------------------- ↓ 响应式设计 ----------------------------------- */
@media screen and (width < 1200px) {
  .people-hall {
    padding: 20px 0;
  }

  .people {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .people-img {
    height: 40%;
    width: 85%;
    box-shadow: none;
  }

  .people-img > img {
    object-fit: contain;
  }

  .people-brief {
    height: 60%;
    width: 85%;
    margin: 0;
    padding: 0;
    align-items: center;
    overflow: auto;
    gap: 15px;
  }

  .people-name {
    font-size: 1rem;
  }

  .people-life {
    padding: 0;
    transform: none;
    align-items: flex-start;
  }
}
/* -------------------------------- ↑ 响应式设计 ----------------------------------- */
