.slider {
  max-width: 100rem;
  margin: 5rem auto;
  position: relative;
  height: 60rem;
}

.slider-icon {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  width: 6rem;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  z-index: 2;
}
.slider-icon-left {
  left: 0;
  transform: translate(-50%, -50%);
}

.slider-wrapper {
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: 2rem;
  overflow: hidden;
}

.slider-main {
  width: 100%;
  height: 100%;
  position: absolute;
  list-style: none;
  display: flex;
  align-items: center;
  transition: transform 0.25s linear;
}

.slider-item {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 100%;
}

.slider-item img {
  width: 100%;
  height: 100%;
  background-position: center;
  object-fit: cover;
}

.slider-icon-right {
  right: 0;
  transform: translate(50%, -50%);
}
.slider-dots {
  list-style: none;
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #8a8a8a;
  cursor: pointer;
  transition: background-color 0.25s linear;
}

.slider-dot.active {
  background-color: #0bb895;
  cursor: unset;
  pointer-events: none;
}

.slider-dot:not(:first-child) {
  margin-left: 1.5rem;
}
