/* Testimonials carousel */
#testimonials-carousel-container {
  margin: 0 auto;
  overflow: hidden;
  padding: 30px 25px 0 25px;
  position: relative;
  top: -140px;
  width: 1230px;
  z-index: 1;
}
#testimonials-carousel {
  padding: 0 0px;
  width: 100%;
}
#testimonials-carousel ul {
  display: flex;
  /* width: 2400px; */
  /* Increments of 1230px */
  /* transform: translate3d(-2460px, 0, 0); */
  transition: transform 0.5s ease-in-out 0s;
}
#testimonials-carousel ul li {
  flex-shrink: 0;
  height: 410px;
  margin-right: 40px;
  opacity: 1;
  position: relative;
  width: 570px;
}
#testimonials-carousel ul li.active {
  opacity: 1;
}
.speech-bubble {
  /* height: 352px; */
  position: absolute;
  top: 50%;
  transform: translate3d(0, -100%, 0);
  width: 100%;
}
.speech-bubble svg {
  filter: drop-shadow(0px 0px 10px var(--dark-shade1));
  left: 0;
  position: absolute;
  top: 0;
  z-index: 0;
}
.speech-bubble-content {
  align-items: center;
  display: flex;
  height: 85%;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.speech-bubble-content span {
  font-size: 1.25rem;
  line-height: 120%;
  width: 72%;
}
.person {
  bottom: 0;
  display: flex;
  position: absolute;
  right: 0;
  width: 70%;
}
.person-icon {
  flex-shrink: 0;
}
.person-info-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
}
.person-info-container .name {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 120%;
  margin-bottom: 5px;
}
.person-info-container .position {
  flex-shrink: 0;
  color: var(--text-faint-red);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 120%;
  text-transform: uppercase;
}
#carousel-counter-container {
  display: flex;
  justify-content: center;
  margin: 40px auto 0 auto;
}
#carousel-counter-container .button-container {
  align-items: center;
  cursor: pointer;
  display: flex;
  height: 50px;
  margin-right: 7px;
  width: 50px;
}
#carousel-counter-container .button-container:last-child {
  margin-right: 0;
}
#carousel-counter-container button.counter-button {
  background-color: var(--dark-shade2);
  border-radius: 14px;
  height: 10px;
  transition: background-color 0.5s ease-in-out 0s;
  width: 50px;
}
#carousel-counter-container button.current {
  background-color: var(--button-gradient-light);
}

@media only screen and (max-width: 1280px) {
  #testimonials-carousel-container {
    width: 620px;
    z-index: 1;
  }
  #testimonials-carousel ul {
    display: flex;
    /* width: 2400px; */
    /* Increments of 1230px */
    transform: translate3d(-3070px, 0, 0);
  }
}
@media only screen and (max-width: 640px) {
  #testimonials-carousel-container {
    width: 350px;
  }
  #testimonials-carousel ul li {
    height: 250px;
    margin-right: 40px;
    opacity: 1;
    position: relative;
    width: 300px;
  }
  .speech-bubble {
    transform: translate3d(0, -90%, 0);
  }
  .speech-bubble-content span {
    font-size: 0.875rem;
    width: 80%;
  }
  .person {
    width: 70%;
  }
  .person-icon {
    height: 50px;
    width: 50px;
  }
  .person-info-container .name {
    font-size: 1rem;
  }
  .person-info-container .position {
    font-size: 0.6875rem;
  }
  #carousel-counter-container .button-container {
    height: 44px;
    justify-content: center;
    margin: 0;
    width: 44px;
  }
  #carousel-counter-container button.counter-button {
    border-radius: 50%;
    height: 50%;
    width: 50%;
  }
}
