.team {
  position: relative;
  padding-top: 80px;
}

.team-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: stretch;
  gap: 48px;
}

.team-content-header {}

.team-content-header h3 {}

.team-content-body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  padding-top: 217px;
  padding-bottom: 137px;
}

.team-content-body-header {
  text-align: left;
}

.team-content-body-header h4 {
  font-weight: 900;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 0px;
  text-align: left;
}

.team-content-body-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-left: 80px;
  padding-right: 80px;
  width: 100vw;
  overflow-x: scroll;
  scroll-behavior: smooth;
}

.team-content-body-slider-item {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  flex-shrink: 0;
  width: 200px;
  scroll-snap-align: center;
}

.team-content-body-slider-item:first-child {
  scroll-snap-align: end;
}

.team-content-body-slider-item:last-child {
  scroll-snap-align: start;
}

.team-content-body-slider-item-image {}

.team-content-body-slider-item-image-img {
  width: 100%;
  height: 207px;
  object-fit: cover;
}

.team-content-body-slider-item-name {}

.team-content-body-slider-item-name h5 {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0px;
}

.team-content-body-slider-item:first-child .team-content-body-slider-item-name h5 {
  font-weight: 900;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0px;
}

.team-content-body-slider-item-description {}

.team-content-body-slider-item-description p {
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 1px;
}

.team-background {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-image: url('../../assets/images/6scr_1600-1280.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 110%;
  z-index: -1;
}

@media screen and (max-width: 1599px) and (min-width: 1280px) {
  .team {}

  .team-content {}

  .team-content-header h3 {
    font-weight: 900;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: 0px;
  }

  .team-content-body {}

  .team-content-body-header {}

  .team-content-body-header h4 {
    font-family: Onest;
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .team-content-body-slider {}

  .team-content-body-slider-item {
    width: 166px;
  }

  .team-content-body-slider-item-image-img {
    height: 172px;
  }

  .team-content-body-slider-item-name h5 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .team-content-body-slider-item:first-child .team-content-body-slider-item-name h5 {
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0px;
  }

  .team-content-body-slider-item-description p {
    font-weight: 400;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1px;
  }

  .team-background {}
}

@media screen and (max-width: 1279px) and (min-width: 1024px) {
  .team {}

  .team-content {}

  .team-content-header h3 {
    font-weight: 900;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: 0px;
  }

  .team-content-body {}

  .team-content-body-header {}

  .team-content-body-header h4 {
    font-family: Onest;
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .team-content-body-slider {}

  .team-content-body-slider-item {
    width: 166px;
  }

  .team-content-body-slider-item-image-img {
    height: 172px;
  }

  .team-content-body-slider-item-name h5 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .team-content-body-slider-item:first-child .team-content-body-slider-item-name h5 {
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0px;
  }

  .team-content-body-slider-item-description p {
    font-weight: 400;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1px;
  }

  .team-background {}
}

@media screen and (max-width: 1023px) and (min-width: 640px) {
  .team {}

  .team-content {}

  .team-content-header h3 {
    font-weight: 900;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: 0px;
  }

  .team-content-body {
    padding-top: 64px;
  }

  .team-content-body-header {}

  .team-content-body-header h4 {
    font-family: Onest;
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .team-content-body-slider {}

  .team-content-body-slider-item {
    width: 166px;
    gap: 8px;
  }

  .team-content-body-slider-item-image-img {
    height: 172px;
  }

  .team-content-body-slider-item-name h5 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .team-content-body-slider-item:first-child .team-content-body-slider-item-name h5 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .team-content-body-slider-item-description p {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 1px;
  }

  .team-background {}
}

@media screen and (max-width: 639px) {
  .team {}

  .team-content {
    gap: 0px;
  }

  .team-content-header h3 {
    font-weight: 900;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0px;
  }

  .team-content-body {
    padding-top: 64px;
    padding-bottom: 50px;
  }

  .team-content-body-header {}

  .team-content-body-header h4 {
    font-weight: 900;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
  }

  .team-content-body-slider {}

  .team-content-body-slider-item {
    width: 172px;
    gap: 8px;
  }

  .team-content-body-slider-item-image-img {
    height: 177px;
  }

  .team-content-body-slider-item-name h5 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .team-content-body-slider-item:first-child .team-content-body-slider-item-name h5 {
    font-weight: 900;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0px;
  }

  .team-content-body-slider-item-description p {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 1px;
  }

  .team-background {
    height: 900px;
    background-size: 176%;
    background-position: top center;
  }
}

@media screen and (max-width: 600px) {
  .team-background {
    height: 700px;
    background-size: 184%;
    background-position: top center;
  }
}

@media screen and (max-width: 550px) {
  .team-background {
    height: 700px;
    background-size: 184%;
    background-position: top center;
  }
}

@media screen and (max-width: 500px) {
  .team-background {
    height: 800px;
    background-size: 220%;
    background-position: top center;
  }
}

@media screen and (max-width: 450px) {
  .team-background {
    height: 700px;
    background-size: 240%;
    background-position: top center;
  }
}

@media screen and (max-width: 400px) {
  .team-background {
    height: 700px;
    background-size: 283%;
    background-position: top center;
  }
}

@media screen and (max-width: 350px) {
  .team-background {
    height: 800px;
    background-size: 350%;
    background-position: top center;
  }
}

@media screen and (max-width: 300px) {
  .team-background {
    height: 7900px;
    background-size: 411%;
    background-position: top center;
  }
}

@media screen and (max-width: 250px) {
  .team-background {
    height: 800px;
    background-size: 527%;
    background-position: top center;
  }
}