.carousel {
  position: relative;
  height: 66.5vw;
  min-height: 485px;
  max-height: 85vh;
  width: 100%;
}
.carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.carousel__track-container {
  background: lightgray;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel__track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
  transition: transform 250ms ease-in;
}
.carousel__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}
.carousel__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 0;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.31);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}
.carousel__button--left {
  left: 20px;
}
.carousel__button--right {
  right: 20px;
}
.carousel__button img {
  width: 12px;
}
.carousel__nav {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.carousel__indicator {
  border: 1px solid rgba(18, 18, 18, 0.5);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 0 12px;
  cursor: pointer;
}
.carousel__indicator.current-slide {
  background: rgba(0, 0, 0, 0.75);
}
.is-hidden {
  display: none;
}
.slide__wrapper {
  height: 100%;
  position: relative;
  font-family: "Assistant", serif;
  background-color: rgba(0, 0, 0, 0.3);
}
.slide__content {
  width: 100%;
  padding: 0 45px;
  position: absolute;
  top: 37.5%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 26px;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: center;
}
.slide__heading {
  font-size: 18px;
}
.slide__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.slide__button {
  color: #fff;
  font-size: 14px;
  line-height: 45px;
  border: 2px solid #fff;
  background-color: transparent;
  padding: 0 30px;
  border-radius: 4px;
}
@media (min-width: 768px) {
  .slide__content {
    top: 40%;
    padding: 0 80px;
  }
  .slide__heading {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .slide__text {
    font-size: 16px;
  }
  .slide__button {
    font-size: 16px;
  }
  .carousel__button--left {
    left: 40px;
  }
  .carousel__button--right {
    right: 40px;
  }
  .carousel__button img {
    width: 24px;
  }
  .carousel__button {
    width: 42px;
    height: 42px;
  }
}
