.carousel {
  --current-slide: 0;
  /* we set position relative so absolute position works properly for the buttons */
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 0px;
  max-height: 550px; 
  transition-timing-function: linear;
}

.carousel-button {
  /* vertically centering the buttons */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;

  /* basic styling */
  padding: 0.3rem;
  margin: 0.1rem;
  border-radius: 10%;
  background-color: transparent;
  border: none;

  font-size: 1.5rem;
  cursor: pointer;

  transition: color 0.1s;
}

.carousel-button:hover {
  color: rgba(0, 0, 0, 0.5);
}

.carousel-button_next {
  /* The "next slide button" will be at the right */
  right: 0;
}

.slides {
  display: flex;
  margin: 0;
  padding: 0;
  transition: transform 0.5s;
  transform: translateX(calc(-100% * var(--current-slide)));
}

.slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 0;
}

@media screen and (min-width: 768px) {
  .carousel-button {
    font-size: 4rem;
    color: #a61600;
    margin: 0rem;
  }
}
