#founders>div {
  display: flex;
  justify-content: center;
}

#founders>div>* {
  border: 0.125em solid var(--theme-color);
  border-radius: 1em;
  padding: 1em;
}

#founders .title {
  font-size: smaller;
  font-style: italic;
}

@keyframes carousel-next {
  75% {
    left: 0;
  }

  95% {
    left: 100%;
  }

  98% {
    left: 100%;
  }

  99% {
    left: 0;
  }
}

@keyframes carousel-start {
  75% {
    left: 0;
  }

  95% {
    left: -300%;
  }

  98% {
    left: -300%;
  }

  99% {
    left: 0;
  }
}

@keyframes carousel-snap {
  96% {
    scroll-snap-align: center;
  }

  97% {
    scroll-snap-align: none;
  }

  99% {
    scroll-snap-align: none;
  }

}

.carousel::-webkit-scrollbar {
  height: 0;
}

.carousel {
  position: relative;
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.carousel>* {
  margin: 1em;
  box-sizing: border-box;
}

.carousel-slide {
  display: flex;
  flex: 0 0 100%;
  position: relative;
  scroll-behavior: smooth;
}

.carousel-slide>section {
  flex-grow: 1;
}

.carousel-snapper {
  animation-name: carousel-next, carousel-snap;
  animation-timing-function: ease;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  position: absolute;
  scroll-snap-align: center;
  top: 0;
  left: 0;
  width: 099%;
}

.carousel-slide:last-child .carousel-snapper {
  animation-name: carousel-start, carousel-snap;
}
