.carousel {
  background-color: #087C35;
  padding: 2rem 0 1rem;
  text-align: center;
}

.embla {
  max-width: 100%;
  margin: auto;
  --slide-height: 15rem;
  --slide-spacing: 4rem;
  --slide-size: 650px;
  position: relative;
  padding: 2rem 0;
}
.embla__viewport {
  overflow: hidden;
  position: relative;
}
.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(var(--slide-spacing) * -1);
}
.embla__slide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 90%;
  min-width: 0;
  padding-left: var(--slide-spacing);
}


.embla__slide__number {
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  border-radius: 1.8rem;
  font-size: 4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  user-select: none;
}

.embla__slide__number img {
  max-width: 520px;
  height: auto;
  border-radius: 8px;
}

.embla__controls {

  margin-top: 1.8rem;
  
}
.embla__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}
.embla__button {
  -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
  -webkit-appearance: none;
  appearance: none;
  background-color: white;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  width: 50px;
  height: 50px;
  z-index: 1;
  border-radius: 100%;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: 1rem;
}

.embla__button:last-child {
margin-left: auto;
    position: absolute;
    right: 1rem;
    left: auto;
}
.embla__button:disabled {
  color: var(--detail-high-contrast);
}
.embla__button__svg {
  width: 35%;
  height: 35%;
}

@media only screen and (max-width: 600px) {
  .embla__slide {
    flex: 0 0 100%;
  }
  
  .embla__buttons {
    display:none;
  }
  .embla__slide__number {
    flex: 0 0 100%; 
  }
  .embla__slide__number img {
    max-width: 100%;
  }
}
.embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
}
.embla__dot {
  
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  border: 2px solid white;
  margin: 0 0.25rem;
}
.embla__dot:after {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  content: '';
}
.embla__dot:hover {
  background-color: white;
  border-radius: 100%;
  border: 2px solid white;
}
.embla__dot:focus {
  border-radius: 100%;
  height: 20px;
  border: 2px solid white;

}
.embla__dot--selected:after {
  background-color: white;
  width: 20px;
  height: 20px;
  border: 2px solid white;

}


.embla__slide.is-in-view img {
 transform: scale(0.75);
 transition: transform 0.5s;
 opacity: 0.75;
}

.embla__slide.is-in-view.is-snapped img {
 transform: scale(1);
 opacity: 1;
 transition: transform 0.5s;
}

.carousel-title {
  color: white;
}

.carousel-text {
  color: white;
  text-align: center;
  max-width: 800px;
  margin: auto;
  font size: 20px
}

.carousel-slide__title {
  color: white;
}

.carousel-slide__text {
  color: white; 
}