body { background-color: #fafafa; }

h1 { text-align: center; margin: 150px auto 30px auto; }

.carouse-wrapper {
  max-height: 501px;
}

.carousel {
  height: 501px;
  margin: 0 auto;
  position: relative;
  max-width: 751px;
}

.carousel__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.carousel__track-container {
  background-color: gray;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
  transition: transform 400ms ease;
}

.carousel__slide {
  bottom: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.carousel__button {
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  background-color: rgba(255, 255, 255, 0.75);
  border: unset;
  padding: 0;
  z-index: 100;
  border-radius: 50%;
  padding: 7px;
  outline: none;
}

.carousel__button--right {
  right: 10px;
}

.carousel__button--left {
  left: 10px;
}

.carousel__button img {
  width: 20px;
  height: 20px;
  display: block;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.carousel__indicator {
  border: unset;
  border-radius: 50%;
  cursor: pointer;
  width: 10px;
  height: 10px;
  background-color: rgb(182, 182, 182, 0.7);
  padding: 0;
  margin: 0 5px;
  outline: none;
}

.carousel__indicator.current-slide {
  background-color: rgba(0, 0, 0, 0.7);
}
