@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img {
  width: 100%;
  height: auto;
}
.team-card {
  max-width: 425px;
  position: relative;
  cursor: pointer;
}

.team-card.first-card {
  background-color: #52c7eb;
}
.team-card.second-card {
  background-color: #f18a00;
}
.team-card.third-card {
  background-color: #1ecad3;
}
.team-card.four-card {
  background-color: #055fb7;
}
.team-card.five-card {
  background-color: #e04403;
}

.team-card-front__text {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
}

.team-card-position {
  font-weight: normal;
  margin: 0 0 0.7rem;
  line-height: 2.4rem;
  font-family: "Bebas Neue", cursive;
  text-transform: uppercase;
  font-size: 2.4rem;
  color: #fff;
}

.team-card-name span {
  display: block;
}
.team-card-name {
  font-size: 4.8rem;
  line-height: 4.4rem;
}
.team-card-front__text h3 {
  font-family: "Bebas Neue", cursive;
  /* font-size: 48px; */
  color: #fff;
  font-weight: normal;
}
.team-card-name:before {
  content: "";
  display: block;
  height: 0.5rem;
  width: 6rem;
  background: #fff;
  margin: 0 0 1rem;
  transition: width 0.25s ease 0.5s;
}
.flip-card {
  background-color: transparent;
  max-width: 425px;
  width: 100%;
  height: 567px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
} */
.flip-card-inner.flip {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  /* width: 100%;
  height: 100%; */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 99999;
}

.flip-card-back {
  transform: rotateY(180deg);
  /* width: 425px;
  height: 100%; */
  background-color: #52c7eb;
}

/* team stat card start */
.team-content {
  position: relative;
}
.team-stat-card {
  position: absolute;
  bottom: 2%;
  right: 10%;
  width: 85%;
}

.team-stat-card .team-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-stat-card .team-stat .team-stat-title {
  color: #fff;
  font-family: "Bebas Neue", cursive;
  width: 49%;
  text-align: right;
  text-transform: uppercase;
}
.team-stat-card .team-stat .team-stat-value-container {
  width: 49%;

  /* text-align: right; */
  font-family: "Bebas Neue", cursive;
  margin-bottom: 3px;
}

.team-stat-card .team-stat .team-stat-value-container .team-stat-value {
  background-color: #f17b2d;
  display: inline-block;
  text-align: right;
  padding: 0px 10px;
  color: #fff;
}
/* team stat card end */
/* filter-container start */

/* filter-container end */

/* .team-member-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: none;
}
.team-member-details.active {
  display: block;
  z-index: 999;
} */
.team-member-details.stat-one {
  background-color: #258fac;
}
.team-member-details.stat-two {
  background-color: #f18a00;
}
.team-member-details.stat-three {
  background-color: #1ecad3;
}
.team-member-details.stat-four {
  background-color: #055fb7;
}
.team-member-details.stat-five {
  background-color: #e04403;
}
.team-member-stats-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* .flip-card-back,
.back-side-content {
  width: 100%;
  height: 100%;
} */

.back-side-content .team-nav {
  width: 95%;
  margin: 0 auto;
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 999999;
  margin-top: 20px;
  border: none;
}

.back-side-content .team-nav .nav-link {
  width: 100%;
  display: inline-block;
  text-align: center;
  color: #fff;
  padding: 10px 20px;
  font-size: 18px;
  text-decoration: none;
  font-family: "Bebas Neue", cursive;
  border: 1px solid #fff;
  transition: all 0.3s;
  z-index: 9999999999;
  border-radius: 0;
}
.back-side-content .team-nav .nav-link.active {
  color: #000;
  background-color: #fff;
}
.back-side-content .team-nav .nav-link:hover {
  background-color: #000;
}
.back-side-content .team-nav .nav-link.active:hover {
  color: #fff;
}

.team-img-box {
  cursor: pointer;
}

.team-main-container {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  max-width: 70%;

}
.team-main-container .flip-card {
  margin-right: 20px;
  margin-bottom: 20px;
}

.team-member-details .team-img-box img {
  filter: blur(10px);
}

.person-details-container {
  position: absolute;
  bottom: 2%;
  /* right: 10%; */
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
}
.person-details-container a {
  text-decoration: none;
}
.person-details-container .personal-email a {
  color: #0056b3;
}
.person-details-container .personal-tell a {
  color: #fff;
}
.person-details-container .social-link p {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
}

.social-link a {
  display: inline-block;
  width: 150px;
  background-color: #fff;
  padding: 10px 15px;
  border-radius: 3px;
}

.skill-box {
  width: 15px;
  height: 15px;
  border: 1px solid #fff;
  display: inline-block;
  border-radius: 50%;
}
.skill-box.fill {
  background-color: #00b2e3;
  border-color: #00b2e3;
}

.skill-box-container {
  display: flex;
  align-items: center;
}
.skill-box-container .skill-box {
  margin: 0px 5px;
}

.skill-main-container {
  position: absolute;
  /* bottom: 2%;
  right: 10%; */
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.skill-main-container .skill-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.skill-main-container .skill-container .team-skill-title {
  color: #fff;
  font-family: "Bebas Neue", cursive;
  font-size: 18px;
  margin-right: 20px;
}
