.team-container {
  background: #210a25;
  display: flex;
  flex-wrap: wrap;
  padding-left: 7rem;
  padding-right: 7rem;
}

.image-header-mobile {
  display: none;
}

.team-item {
  width: 33.33%;
  flex: 0 0 33.33%;
  position: relative;
  overflow: hidden;
}

.team-item img {
  width: 100%;
}

.team-item:hover .image-bg,
.team-item:hover .description {
  opacity: 1;
}

.image-bg {
  transition: all 0.25s ease-in-out;
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover !important;
  background-position: center !important;
  filter: blur(30px);
}

.description {
  transition: all 0.5s ease-in-out;
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.4);
  padding: 0 4rem;
  text-align: center;
}

.description .name {
  color: #fac630;
  font-family: "Montserrat-bold";
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 2.5rem;
}
.description .position {
  font-family: "Montserrat-ExtraLight";
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.description .line {
  height: 1px;
  width: 40%;
  background: #ffffff;
  margin-bottom: 1rem;
}
.description .social {
  font-family: "Montserrat";
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 2.2rem;
}

@media (max-width: 600px) {
  .image-header {
    display: none;
  }
  .image-header-mobile {
    display: block;
  }
  .team-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .team-item {
    width: 100%;
    flex: 0 0 100%;
  }

  .description .name {
    font-size: 1.5rem;
  }

  .description .position {
    font-size: 1.5rem;
  }

  .description .social {
    font-size: 1.25rem;
  }
}

@media (max-width: 1919px) and (min-width: 601px) {
  .description .name {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
  .description .position {
    font-size: 1.25rem;
  }
  .description .social {
    font-size: 1rem;
  }
}
