.slider {
  width: 100dvw;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.slider .list {
  position: absolute;
  width: max-content;
  /* align-self: center; */
  height: 100dvh;
  left: 0;
  top: 0;
  display: flex;
  transition: 1s;
}

.slider .button_container {
  position: absolute;
  bottom: 3%;
  width: 100%;
  display: flex;
  justify-content: center;
  transition: 1s;
}

.slider .button_container .buttons {
  display: flex;
  align-items: center;
}

.slider .buttons button {
  background-color: var(--slider-button-color);
  border: none;
  font-size: 2.5rem;
  padding-top: 0.15rem;
  height: fit-content;
  align-self: center;

  font-weight: bold;
  transition: transform 0.3s;

  cursor: pointer;
}

.fa-solid {
  color: var(--text-color);
}

.slider .buttons button:hover {
  transform: scale(1.3);
}

.slider .dots {
  /* color: var(--dots-w); */
  display: flex;
  width: 100%;
}

.slider .dots li {
  list-style: none;
  width: 0.9rem;
  height: 0.9rem;
  color: var(--dots);
  margin: 0.4rem;
  border-radius: 0.9rem;
  transition: 0.5s;
}

.slider .dots li.active {
  width: 3rem;
}

/* 
Small screens, laptops – 769px — 1024px. */

@media only screen and (max-width: 1441px) {
  .slider .button_container {
    bottom: 1%;
  }
  .slider .buttons button {
    font-size: 2rem;
  }
  .slider .dots li {
    width: 0.7rem;
    height: 0.7rem;
  }
  .slider .dots li.active {
    width: 2rem;
  }
}

/* mobile */
@media only screen and (max-width: 600px) {
  .slider .button_container {
    bottom: 4%;
  }
  .slider .dots li {
    width: 0.7rem;

    height: 0.7rem;
  }

  .slider .dots li.active {
    width: 1.9rem;
  }

  .slider .buttons button {
    font-size: 2.3rem;
  }
}
