.embla {
  max-width: 100%;
  position: relative;
  margin: auto;
  --slide-height: 100%;
  --slide-spacing: 1rem;
  --slide-size: 33%;
  padding-bottom: 25px;
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  backface-visibility: hidden;
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(1rem * -1);
}

.embla__slide {
  flex: 0 0 33%;
  min-width: 0;
  padding-left: 1rem;
}

.embla__slide__number {
  box-shadow: inset 0 0 0 0.2rem rgb(234, 234, 234);
  border-radius: 1.8rem;
  font-size: 4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 19rem;
}

.embla__controls {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 39px;
  background-size: 21px 39px;
  cursor: pointer;
  display: block;
  border: none;
  background-color: transparent;
}

.embla__dots {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #797979;
  text-align: center;
  transition: color 0.3s linear;
  display: none;
}

.embla__dot {
  display: inline-block;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.6s ease;
  width: 12px;
  height: 12px;
  border: none;
}

.embla__dot--selected {
  background-color: #8c3cfa;
}

.arrow-left {
  left: -45px;
  background-image: url(/arrow-right.png);
  transform: rotate(180deg) translateX(0);
}

.arrow-right {
  right: -35px;
  background-image: url(/arrow-right.png);
}

@media screen and (max-width: 1440px) {
  .embla__dots {
    display: block;
  }

  .arrow {
    display: none;
  }
}
