@charset "UTF-8";
/**
 * Bootstrap 5.3 – Variabili SCSS di base
 * @see https://getbootstrap.com/docs/5.3/customize/sass/
 */
/* ----------------------------------------------------------
 * SPACING
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * COLOR SYSTEM
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BODY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TYPOGRAPHY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * LINK
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BORDER 
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * ACCORDION
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TABS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BUTTONS
 * ---------------------------------------------------------- */
.block__slider-team .container-team {
  position: relative;
  overflow: hidden;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}
.block__slider-team .container-team .row-team {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  animation: teamCardMove 30s linear infinite;
  cursor: grab;
  --row-width: 4088px;
}
.block__slider-team .container-team .row-team.is-dragging {
  cursor: grabbing;
  animation-play-state: paused;
}
.block__slider-team .container-team:nth-of-type(2) .row-team {
  animation: teamCardMoveReverse 30s linear infinite;
}
.block__slider-team .container-team:nth-of-type(2) .row-team.is-dragging {
  animation-play-state: paused;
}
.block__slider-team .container-team:nth-of-type(3) .row-team {
  animation: teamCardMove 30s linear infinite;
}
.block__slider-team .container-team:nth-of-type(3) .row-team.is-dragging {
  animation-play-state: paused;
}
.block__slider-team .container-team .card-team {
  width: 200px;
  height: 300px;
  border-radius: 0.625rem;
  user-select: none;
  position: relative;
  padding: 0;
}
.block__slider-team .container-team .card-team .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.block__slider-team .container-team .card-team .wrap-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.block__slider-team .container-team .card-team .wrap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s ease-out;
}
.block__slider-team .container-team .card-team .wrap-img::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0.625rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 2.28%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
.block__slider-team .container-team .card-team:hover .content {
  opacity: 1;
}
.block__slider-team .container-team .card-team:hover .wrap-img img {
  filter: none;
}
.block__slider-team .container-team .card-team:hover .wrap-img::after {
  opacity: 1;
}

@keyframes teamCardMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--row-width) + 100vw));
  }
}
@keyframes teamCardMoveReverse {
  0% {
    transform: translateX(calc(-1 * var(--row-width) + 100vw));
  }
  100% {
    transform: translateX(0);
  }
}