.card-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  width: 100%;
  margin-bottom: 50px;
}

.card {
  cursor: pointer;
  width: 30vw;
  height: 40vh;
  border-radius: 20px;
  background: transparent;
  position: relative;
}

.front,
.back {
  width: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform .6s linear;
  border-radius: 20px;
}

.front {
  transform: perspective(600px) rotateY(0deg);
  background: rgb(254, 221, 196);
  display: flex;
  flex-direction: row;
  padding: 20px 1vw;
  gap: 2vw;
}

.front img {
  width: 45%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  overflow: hidden;
  min-width: 40%;
}

.front-content {
  display: flex;
  width: 100%;
  height: 100%;
}

.back-content {
  display: flex;
  width: 100%;
  height: 100%;
}

.front-img,
.front-text,
.back-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


.front-text span,
.back-text span {
  font-size: 1.2em;
  color: white;
  text-align: center;
}

.back {
  background: rgb(254, 114, 53, 0.7);
  transform: perspective(600px) rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover>.front {
  transform: perspective(600px) rotateY(-180deg);
}

.card:hover>.back {
  transform: perspective(600px) rotateY(0deg);
}

.picard:hover>.front {
  transform: perspective(600px) rotateY(-180deg);
}

.picard:hover>.back {
  transform: perspective(600px) rotateY(0deg);
}

.divider {
  width: 100%;
  height: 5px;
  background: rgb(139, 120, 137);
  margin-bottom: 50px;
}

.card-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

h1.teampage-h2 {
  color: rgb(139, 120, 137);
}

.divider2 {
  width: 100%;
  height: 5px;
  background: rgb(139, 120, 137);
  margin-bottom: 50px;
}

.teamfront-border {
  width: 80%;
  height: 2px;
  background: rgb(139, 120, 137);
  border: none;
  margin-bottom: 10px;
  margin-right: 0.3vh;
  border-radius: 2px;
}

.teamfront-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  margin-top: 30px;
  margin-left: 0px;
  margin-right: 2vh;
}

.back-text {
  font-size: 0.9em;
  color: white;
  text-align: center;
  margin: 5vh;
}

.teammatecontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.picard {
  cursor: pointer;
  width: 30vw;
  height: 40vh;
  border-radius: 20px;
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

}

.picard .front-img img {
  width: 80%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 55%;
}

.picard .teamfront-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}


.adcard-bg .card-row .teamfront-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 水平居中 */
  justify-content: center;
  height: 100%;
}