#team-carousel-container {
  --tiltDegree: 64deg;
  position: relative;
  width: 100%;
  height: var(--sceneHeight);
  min-height: 993px;
  max-height: 1099px;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

#team-header {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#team-header .team-title {
  margin-top: auto;
  margin-bottom: 28px;
  color: var(--midGreen);
  font-size: var(--fs44);
}

#team-carousel {
  --carouselHeight: 660px;
  width: 100%;
  height: var(--carouselHeight);
  max-height: var(--carouselHeight);
  perspective: 800px;
  margin-top: auto;
}

#team-carousel-container {
  pointer-events: none;
}

#team-carousel>* {
  pointer-events: auto;
}


#team-contents {
  height: 740px;
  position: relative;
}

/* Main content circle */

#team-main {
  position: absolute;
  left: calc(50% + 276px);
  top: 125px;
}

.team-main-content {
  --primaryColor: #e22d20;
  --secondaryColor: #fbe1de;
  --mainSize: 865px;
  --mainTextWidth: 444px;
  --mainTextHeight: 384px;

  position: absolute;
  background: var(--secondaryColor);
  border-radius: 50%;
  overflow: hidden;
  width: var(--mainSize);
  height: var(--mainSize);
  transform: translate(-50%, -50%);
  will-change: width, height;
}

.team-main-scroll-container {
  width: min-content;
  height: min-content;
  max-height: 408px;
  margin-left: 50%;
  margin-top: 50%;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(calc(-50% + 6px), -50%);
}

.team-main-title {
  color: var(--primaryColor);
  font-size: var(--fs20);
  margin-bottom: 30px;
  width: 100%;
}

.team-main-title span {
  font-size: var(--fs28);
}

.team-main-text {
  width: var(--mainTextWidth);
  max-height: var(--mainTextHeight);
  font-size: var(--fs15);
  line-height: 1.5;
  overflow-y: auto;
  white-space: pre-wrap;
}

/* Quote content circle */

#team-quote {
  position: absolute;
  left: calc(50% - 268px);
  top: 120px;
}

.team-quote-content {
  --primaryColor: #e22d20;
  --secondaryColor: #fbe1de;
  --quoteSize: 442px;
  --quoteTextWidth: 336px;
  --quoteTextHeight: 248px;
  position: absolute;
  background: var(--primaryColor);
  border-radius: 50%;
  overflow: hidden;
  width: var(--quoteSize);
  height: var(--quoteSize);
  transform: translate(-50%, -50%);
  will-change: width, height;
}

.team-quote-mark {
  --primaryColor: #e22d20;
  --quoteSize: 442px;
  position: absolute;
  top: calc(var(--quoteSize) * -0.5 - 10px);
  left: calc(var(--quoteSize) * -0.5);
  font-size: var(--fs120);
  line-height: 1;
  color: var(--primaryColor);
  font-family: var(--fontMedium);
  font-weight: var(--fontWeightMedium);
  font-feature-settings: "ss01" 1;
}

.team-quote-scroll-container {
  width: var(--quoteTextWidth);
  max-height: var(--quoteTextHeight);
  overflow-y: auto;
  margin-left: 50%;
  margin-top: 50%;
  transform: translate(calc(-50% + 6px), -50%);
  text-align: center;
}

.team-quote-text {
  font-size: var(--fs17);
  color: var(--backgroundColor);
}

/* Social content circle */

#team-social {
  position: absolute;
  left: calc(50% + 498px);
  top: 520px;
}

#team-social .circle {
  background: var(--backgroundColor);
  width: 85px;
  height: 85px;
}

#team-social .circle .inner-circle {
  background: var(--backgroundColor);
  width: 85px;
  height: 85px;
}

/* Spinner */

#team-carousel-spinner-scale {
  position: absolute;
  left: 50%;
  top: 50%;
}

#spinner-pics {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.spinner-pic {
  will-change: transform;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  transition: all 1.1s cubic-bezier(.52, 0, .23, 1);
}

.spinner-marker {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
}

#spinner-controls {
  position: absolute;
  left: 0;
  bottom: 562px;
  width: 100%;
  display: flex;
  pointer-events: none;
}

#spinner-controls .hc-round-button {
  pointer-events: auto;
}

#spinner-next {
  margin-left: 24.5px;
}

.team-scroll-container-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#spinner-controls-buttons {
  display: flex;
}

.hc-carousel-skip {
  display: none;
}

@media only screen and (max-width: 1400px) {
  #spinner-controls {
    bottom: 569px
  }

  #spinner-controls-buttons {
    transform-origin: 0 0;
    transform: scale(0.7);
  }
}

@media only screen and (max-width: 1120px) {
  #team-header .team-title {
    font-size: var(--fs33);
  }

  #team-contents {
    height: 950px;
  }


  #team-carousel-container {
    min-height: 970px;
    max-height: 970px;
  }

  #spinner-pics {
    transform: scale(0.8);
  }

  #team-main {
    left: 50%;
    top: 100px;
  }

  #team-quote {
    left: calc(50% - 227px);
    top: 628px;
  }

  #team-social {
    left: calc(50% + 205px);
    top: 505px;
  }

  .team-main-scroll-container {
    max-height: 449px;
  }
}

@media only screen and (max-width: 960px) {
  #spinner-controls {
    bottom: 590px;
  }

  #team-header .team-title {
    font-size: var(--fs28);
  }

  #team-carousel-container {
    min-height: 924px;
    max-height: 924px;
  }

  #spinner-controls-buttons {
    transform: scale(0.5);
  }

  #spinner-pics {
    transform: translateY(-165px) scale(0.68);
  }

  .team-main-scroll-container {
    transform: translate(calc(-50% + 6px), -50%);
    width: var(--pageWidth);
    max-width: 420px;
    max-height: 582px;
  }

  .team-main-text {
    width: auto;
  }

  #team-main {
    top: 0px;
  }

  #team-quote {
    left: 50%;
    top: 506px;
    transform: scale(0.8);
  }

  .team-main-content {
    --mainTextHeight: 534px;
  }

  #team-contents {
    height: 784px;
  }

  #team-social {
    left: calc(50% + 124px);
    top: -414px;
    z-index: 100;
    transform: scale(0.8);
  }
}