#body {
  background-color: var(--easynext-blue);
}

.team p {
  margin-bottom: 0;
}

.team p,
.team span {
  color: white;
}

.hero {
  position: relative;
  background-image: url('../imgs/heroes/porsche.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cham-ctr {
  position: relative;
}

.hero .container-fluid,
.hero .row {
  height: 100%;
}

.team-img {
  position: absolute;
  opacity: 0;
  transition: all 0.5s ease;
}

.team-img:hover {
  opacity: 1;
  transition: all 0.5s ease;
  cursor: pointer;
}

.team {
  margin: 120px 0;
  text-align: center;
}

.team h2 {
  margin-bottom: 3rem;
}

.profil {
  height: 400px;
  width: 400px;
  border: 1px solid white;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 0.6s ease-in-out;
  transform: scale(0.9);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.profil.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.avatars {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  height: 100px;
}

.avatars::after {
  content: '';
  height: 3px;
  width: 100%;
  background-color: white;
  position: absolute;
  bottom: -15px;
  left: 0;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-prev,
.swiper-button-next,
.swiper-pagination {
  color: var(--white) !important;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.avatar:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.team-content {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.team-content.hide {
  opacity: 0;
}

.team-content.show {
  opacity: 1;
}

.name {
  font-size: 22px;
}

.job {
  font-size: 17px;
  font-family: 'Montserrat-light';
}

.bio {
  margin-top: 3rem;
}

.cta-section .overlay {
  background-color: rgba(26, 49, 80, 0.85);
}

/*************
 RESPONSIVE
*************/

/* mobile */
@media screen and (max-width: 429px) {

  /* team members */
  .profil {
    height: 250px;
    width: 250px;
  }

  .avatar {
    width: 50px;
    height: 50px;
  }

}

/* tablett */
@media screen and (min-width: 430px) and (max-width: 768px) {

  .mobile-hero-bg {
    width: 100%;
    height: auto;
  }

  
}

/* LapTop 14 inches */
@media screen and (min-width: 769px) and (max-width: 1519px) {

  .team-img {
    bottom: -10.5%;
    left: 0;
  }

}

/* LapTop 17 inches */
@media screen and (min-width: 1520px) and (max-width: 1899px) {
  
  .team-img {
    bottom: -14.2%;
    left: 2.5%;
    width: 95%;
  }

}

/* Desktop and more */
@media screen and (min-width: 1900px) {
    .team-img {
    bottom: -14%;
    left: 3%;
    width: 95%;
  }
}

@media (max-width: 768px) {

  /* Navigation */
  .mobile-nav {
    background-color: var(--easynext-blue);
    background-image: linear-gradient(160deg, var(--easynext-blue) 0%, #4089e8 150%);
  }

  .hero {
    display: none;
  }

  .mobile-hero {
    display: block;
    position: relative;
  }

  .mobile-hero {
    margin-top: var(--mobile-header-height);
  }


  .title-ctr {
    padding-left: 20px;
  }

  h1 {
    font-size: 32px;
    color: var(--white);
    margin: 30px 0;
  }

  /* team members */
  .profil {
    height: 250px;
    width: 250px;
  }

  .avatar {
    width: 50px;
    height: 50px;
  }
}


@media (min-width: 769px) {
  .mobile-hero {
    display: none;
  }

  /* hero */
  .hero {
    margin-top: var(--laptop-header-height);
    height: 80vh;
  }

  
}