.slider {
  position: relative;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  margin: auto;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  
  flex-shrink: 0;
  position: relative;
}

button.prev, button.next {

  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 20px 10px;
  cursor: pointer;
}

.button-show-field {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 40%;
  display: flex;
  align-items: center;
}

.prev {
  opacity: 0;
  transition: all 0.3s;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.next {
  opacity: 0;
  transition: all 0.3s;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.button-show-field.prev-field:hover .prev {
  opacity: 1;
}

.button-show-field.next-field:hover .next {
  opacity: 1;
}

.button-show-field.prev-field {
  left: 0;
  justify-content: start;
}
.button-show-field.next-field {
  right: 0;
  justify-content: end;
}

.header-text {
    position: absolute;
    top: 40%;
    left: 7%;
}

header img {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
}

.header-text h1 {
    color: white;
    font-size: 300%;
}
.header-text p {
    color: white;
    max-width: 60%;
    font-size: 140%;
    font-weight: 500;
    line-height: 30px;
}
.slider-button {
  text-decoration: none;
  font-size: 130%;
  font-weight: 450;
  color: white;
  padding: 10px 40px;
  border: 2px solid white;
  border-radius: 25px;
  background-color: rgba(0, 0, 0, 0.274);
  transition: 0.3s ease-in-out;
  margin: 50px 40px 0 0;
}
.slider-button:visited {
  color: white;
}
.slider-button:focus {
  color: white;
}
.slider-button:hover {
  background-color: rgba(0, 0, 0, 0.692);
}