#slider {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

#buttons {
  position: absolute;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
}

.slide-btn {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  outline: none;
  padding: 10px;
  font-size: 20px;
  color: darkgray;
  cursor: pointer;

  &:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
    color: #fff;
    transition: 200ms;
  }
  &:not(:hover) {
    transition: 200ms;
  }
}

.slides {
  display: flex;
  transition: 600ms cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}

.slide {
  min-width: 100%;
  min-height: 100%;
}

.slide img {
  width: 100%;
}
