.quotes {
  margin-top: 10.1rem;
  margin-bottom: 10.1rem;
}

.carousel {

  justify-items: center;
  overflow: hidden;
  position: relative;

   touch-action: pan-y;
  overflow: hidden;
}

.carousel-track {
  display: flex;
 width: 100%;
  transition: transform 300ms ease;
  
  will-change: transform;
}

.quote-slide {
  min-width: 100%;
  min-height: 16rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 0 1rem;
  box-sizing: border-box;
     touch-action: pan-y;
}

.quote-slide blockquote {
  line-height: 1.325;
  max-width: 45rem;
  width: 100%;
  font-size: var(--fs-500);
  color: var(--clr-dark);
  text-align: center;
}

.quote-slide cite {
  font-size: var(--fs-100);
  text-transform: uppercase;
  font-style: normal;

  padding-top: 1rem;
  text-align: center;
}

.qoute-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--rem-100);
  margin: auto;
}

.next,
.prev {
  height: var(--rem-500);
  aspect-ratio: 1 / 1;

  color: var(--clr-dark);
  cursor: pointer;

  font-size: 1rem;

  border-radius: var(--border-radius);
  border: 1px solid var(--clr-dark);

  background: transparent;
}

.next:hover,
.prev:hover {
  background-color: var(--clr-background-2);
}

.dots {
  text-align: center;
  padding: 1rem 0;

}

.dot {
  height: 0.43rem;
  width: 0.43rem;

  margin: 0 0.14rem;

  background-color: var(--clr-background-3);

  border-radius: 50%;
  display: inline-block;

  cursor: pointer;
  border: none;
  padding: 0;
}

.dot.active {
  background-color: var(--clr-dark);
}

/* Optional */
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

@media (max-width: 768px) {
 .qoute-buttons {
    display: none;
  }
}

@media (max-width: 480px) {

    .carousel {

      min-height: 16rem;
  }


  .quote-slide blockquote{
    padding: 0;
    font-size: var(--fs-400);
  }
}

