.portfolio-slider {
  padding: 0;
  background: transparent;
}

.portfolio-slider__shell {
  width: 100%;
  margin: 0 auto;
}

.slider_baza {
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
  background-color: transparent;
}

.slider {
  height: 500px;
  margin: 0 auto;
  position: relative;
  width: 700px;
  margin-top: 0;
  margin-bottom: 0;
  background: transparent;
}

.slider-line {
  display: flex;
  position: relative;
  transition: all ease 1s;
  left: -700px;
}

.slider img {
  max-width: 700px;
  width: 100%;
  position: absolute;
}

.prev-button,
.next-button {
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 6px solid #fff;
  background: #000000;
  color: #ffffff;
  position: absolute;
  margin-top: 50%;
  z-index: 1000;
  left: 14px;
  font: inherit;
  font-size: 2rem;
  line-height: 2rem;
  box-shadow: 3px 3px 3px #000000;
}

.prev-button {
  left: 14px;
}

.next-button {
  left: auto;
  right: 14px;
}

.prev-button:active,
.next-button:active {
  background: #c0c0c0;
}

.prev-button:focus-visible,
.next-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 1030px) {
  .slider_baza {
    margin-top: 0;
    height: auto;
  }

  .slider {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
  }

  .slider-line {
    left: 0;
  }

  .slider-line img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .portfolio-slider {
    padding: 0;
  }

  .portfolio-slider__shell {
    width: 100%;
  }

  .slider {
    margin-top: 0;
    margin-bottom: 0;
  }

  .prev-button,
  .next-button {
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 6px solid #fff;
    background: #000;
    color: #fff;
    position: absolute;
    margin-top: 50%;
    z-index: 1000;
    left: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .next-button {
    left: auto;
    right: 14px;
  }
}
