.slider {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  top: 0;
  left: 0;
}

.items {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  margin: 0;
}

.item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-position: center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.item.current,
.items.single .item {
  opacity: 1;
}
/* Readability: white haze from the left where the hero text sits */
.slider_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 38%, rgba(255, 255, 255, 0.45) 62%, rgba(255, 255, 255, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.3) 100%);
  pointer-events: none;
}
@media only screen and (max-width: 767px) {
  .slider_overlay {
    background: rgba(255, 255, 255, 0.84);
  }
}
.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buttons {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 1%;
  width: 98%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrays {
  width: 32px;
  height: 32px;
  border: none;
  outline: none;
  padding: 0;
  background: transparent center no-repeat;
  cursor: pointer;
  opacity: 0.4;
}
.arrays.prev {
  background-image: url(prev.png);
}
.arrays.next {
  background-image: url(next.png);
}
.arrays:hover {
  opacity: 0.8;
}

.dots {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  z-index: 9999;
}

.dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  outline: none;
  padding: 0;
  background: #fff;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.4s ease-in-out;
}
.dot:nth-child(n + 2) {
  margin-left: 5px;
}
.dot.current {
  opacity: 1;
}
