.acf-slider {
  height: 90vh;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.acf-slider .slide {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.acf-slider .slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* wymusza ten sam aspect ratio */
  display: block;
}
.acf-slider .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.acf-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  width: 100%;
  height: 100%;
  object-fit: cover;
}
.acf-slider .box {
  z-index: 5;
  max-width: 500px;
  width: 500px;
  background: rgba(255, 255, 255, 0.9);
  margin: 50px 0 0 auto;
  border-radius: 20px;
  visibility: inherit;
  transition: none;
  text-align: inherit;
  line-height: 22px;
  border-width: 0px;
  margin: 0px 60px 0 0;
  letter-spacing: 0px;
  font-weight: 400;
  font-size: 14px;
  position: relative;
  padding: 60px;

  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.acf-slider .box h3 {
  color: #253d4a;
  text-align: left;
  font-weight: 700;
  font-size: 34px;
}
.acf-slider .box p {
  color: #20272b;
  font-size: 18px;
}

.swiper-pagination {
  background: -moz-linear-gradient(
    top,
    rgb(84, 83, 83) 0%,
    rgb(34, 34, 34) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgb(84, 83, 83) 0%,
    rgb(34, 34, 34) 100%
  );
  background: -o-linear-gradient(top, rgb(84, 83, 83) 0%, rgb(34, 34, 34) 100%);
  background: -ms-linear-gradient(
    top,
    rgb(84, 83, 83) 0%,
    rgb(34, 34, 34) 100%
  );
  background: linear-gradient(
    to bottom,
    rgb(84, 83, 83) 0%,
    rgb(34, 34, 34) 100%
  );
  padding: 10px 15px;
  margin-left: -15px;
  margin-top: -10px;
  box-sizing: content-box;
  border-radius: 10px;
  box-shadow: 0px 0px 2px 1px rgba(33, 33, 33, 0.3);
  width: auto !important;
  margin-left: auto;
  margin-right: auto;
  left: 50% !important;
  transform: translateX(-50%);
  bottom: 20px !important;
}
.swiper-pagination-bullet {
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0);
  -webkit-transition: box-shadow 0.3s ease;
  transition: all 0.3s ease;
  background: #80807c;
  width: 15px;
  height: 15px;
  opacity: 1;
  box-shadow: none !important;
}
.swiper-pagination-bullet:focus {
  border: none !important;
  box-shadow: none !important;
}
.swiper-pagination-bullet-active {
  background: #fff;
  border: none;
  box-shadow: none !important;
}
.swiper-pagination-bullet-active:focus {
  border: none !important;
  box-shadow: none !important;
}

.acf-slider .button {
  font-size: 14px;
  color: #20272b;
  font-weight: 700;
  padding: 3px 0;
  display: table;
  margin-left: auto;
  margin-bottom: 2px !important;
  border: none;
  border-bottom: 3px solid #ec1d25;
  background: transparent;
  border-radius: 0;
}
.acf-slider .button:hover {
  background: transparent;
  color: #ec1d25;
}
