.slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  top: 0;
  left: 0;
}

.items {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  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 {
  opacity: 1;
}
.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;
}
