.slider {
  font-family: "Roboto", sans-serif;
  color: #010101;
  font-weight: 100;
  max-height: 100vh;
  max-width: 100vw;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
}

.slider__slide {
  height: 100vh;
  min-width: 100vw;
  width: 100%;
  font-size: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
}

.slider__slide_yellow {
  background-color: #ffa602;
}

.slider__slide_red {
  background-color: #ff6362;
}

.slider__slide_purple {
  background-color: #bc5090;
}

.slider__slide_dark-purple {
  background-color: #58508d;
}

/* Arrows */
.right-arrow,
.left-arrow {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  /*   background-color: black; */
  z-index: 2;
  cursor: pointer;
}

.right-arrow {
  right: 1rem;
}
.left-arrow {
  left: 1rem;
}

.right-arrow::before,
.right-arrow::after,
.left-arrow::before,
.left-arrow::after {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
    rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: white;
}

.right-arrow::before {
  transform: rotate(45deg);
}

.right-arrow::after {
  transform: rotate(-45deg);
  bottom: 14px;
}

.left-arrow::before {
  transform: rotate(-45deg);
}

.left-arrow::after {
  transform: rotate(45deg);
  bottom: 14px;
}

/* Hide the scrollbar */
.slider::-webkit-scrollbar {
  display: none; /* Safari, Google Chrome, Opera,  */
}
.slider {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Adaptive */
@media screen and (max-width: 720px) {
  .right-arrow::before,
  .right-arrow::after,
  .left-arrow::before,
  .left-arrow::after {
    width: 26px;
    height: 2px;
  }
  .right-arrow::after,
  .left-arrow::after {
    bottom: 16px;
  }
  .right-arrow::before,
  .left-arrow::before {
    top: 10px;
  }
  .right-arrow::before,
  .right-arrow::after {
    right: 0;
  }
}