#testimony {
  background-image: var(--testimony-image);
  min-height: 88px;
  padding-left: 15px;
  padding-right: 15px;
  background-attachment: scroll;
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: block;
}

#testimony article {
  /* margin-bottom: 15px; */
  margin-top: 40px;
  margin-right: 15px;
  width: calc(25% - 15px);
  min-height: calc(5vw - 15px);
  width: 100% !important;
  min-height: 0 !important;
  height: inherit !important;
  align-items: center;
  justify-content: space-evenly;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  position: relative;
  box-sizing: border-box;
}

#testimony article.section-header {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 25px 25px 0px 0px;
}

#testimony h3 {
  color: black;
}

#testimony h1 {
  font-size: clamp(1rem, 0.5rem + 2.2222vw, 2rem);
  text-align: center;
}

#testimony .content-slider {
  width: 100%;
  /* height: 360px; */
  background-color: rgba(255, 255, 255, 0.43);
  border-radius: 0px 0px 25px 25px;
}

#testimony .slider {
  height: 320px;
  /* width: 680px; */
  /* margin: 40px auto 0; */
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 40px;
  overflow: visible;
  position: relative;
}

#testimony .mask {
  overflow: hidden;
  height: 320px;
}

#testimony .slider ul {
  margin: 0;
  padding: 0;
  position: relative;
  
}

#testimony .slider li {
  /* width: 680px; */
  height: 320px;
  position: absolute;
  top: -325px;
  list-style: none;
 
}

#testimony .slider .quote {
  font-size: clamp(1rem, 0.625rem + 1.6667vw, 1.75rem);
  font-style: italic;
  color: black;
}

#testimony .slider .source {
  font-size: clamp(1rem, 0.625rem + 1.6667vw, 1.75rem);
  text-align: right;
  color: black;
}

#testimony .slider li.anim1 {
  animation: cycle 45s linear infinite;
}

#testimony .slider li.anim2 {
  animation: cycle2 45s linear infinite;
}

#testimony .slider li.anim3 {
  animation: cycle3 45s linear infinite;
}

#testimony .slider li.anim4 {
  animation: cycle4 45s linear infinite;
}

#testimony .slider li.anim5 {
  animation: cycle5 45s linear infinite;
}

#testimony .slider:hover li {
  animation-play-state: paused;
}

@keyframes cycle {
  0% {
    top: 0px;
  }
  4% {
    top: 0px;
  }
  16% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  50% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    top: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    top: -325px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@keyframes cycle2 {
  0% {
    top: -325px;
    opacity: 0;
  }
  16% {
    top: -325px;
    opacity: 0;
  }
  20% {
    top: 0px;
    opacity: 1;
  }
  24% {
    top: 0px;
    opacity: 1;
  }
  36% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle3 {
  0% {
    top: -325px;
    opacity: 0;
  }
  36% {
    top: -325px;
    opacity: 0;
  }
  40% {
    top: 0px;
    opacity: 1;
  }
  44% {
    top: 0px;
    opacity: 1;
  }
  56% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  60% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle4 {
  0% {
    top: -325px;
    opacity: 0;
  }
  56% {
    top: -325px;
    opacity: 0;
  }
  60% {
    top: 0px;
    opacity: 1;
  }
  64% {
    top: 0px;
    opacity: 1;
  }
  76% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle5 {
  0% {
    top: -325px;
    opacity: 0;
  }
  76% {
    top: -325px;
    opacity: 0;
  }
  80% {
    top: 0px;
    opacity: 1;
  }
  84% {
    top: 0px;
    opacity: 1;
  }
  96% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
}

@media only screen and (max-width: 460px) {
}
