.carousel {
  --current-slide: 0;
  /* we set position relative so absolute position works properly for the buttons */
  position: relative;
  overflow: hidden;
}

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

  /* basic styling */
  padding: 0;
  margin: 0.5rem;
  border-radius: 50%;
  background-color: transparent;
  border: none;

  font-size: 1.5rem;
  cursor: pointer;

  transition: color 0.1s;
}

.carousel-button_next:hover, .carousel-button_previous:hover {
  color: #732a12;
}

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

.carousel-button_middle {
	/*goes right until end then rubberbands to the first slide, horizontally center the button*/
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	color:rgb(214,132,132);
}

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

.slide {
  flex: 0 0 100%;
}

@media only screen and (width: 375px) and (-webkit-min-device-pixel-ratio: 2) {
	.carousel-button {
		top: 76%;
		font-size: 0.9em;
	}
}

@media screen and (min-width: 768px) {
  .carousel-button {
    font-size: 1rem;
	/*color:rgb(214,132,132);*/
    /*margin: 1rem;*/
	margin-top: 375px;
  }
}

.overflowNo {
	overflow: initial;
}