.slideshow {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 99px);
  max-width: 100%;
  margin: 0px auto;
  margin-bottom: 50px;
}
.slideshow * {
  outline: none;
}
.slideshow .slider-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  overflow-x: hidden; /* Hides horizontal overflow */
  overflow-y: visible; /* Allows vertical overflow to be visible */
  height: auto; /* Ensures height grows with content */
  pointer-events: none;
  z-index: 2;
}

.slideshow .slider-wrap:nth-child(1) {
  pointer-events: all;
  width: 100%;
  z-index: 1;
}
.slideshow .slider-wrap:nth-child(1) .slider {
  left: 0%;
  width: 100%;
}
.slideshow .slider-wrap:nth-child(2) {
  left: 20%;
}
.slideshow .slider-wrap:nth-child(2) .slider {
  left: -100%;
}
.slideshow .slider-wrap:nth-child(3) {
  left: 40%;
}
.slideshow .slider-wrap:nth-child(3) .slider {
  left: -200%;
}
.slideshow .slider-wrap:nth-child(4) {
  left: 60%;
}
.slideshow .slider-wrap:nth-child(4) .slider {
  left: -300%;
}
.slideshow .slider-wrap:nth-child(4) .slider .slider-track {
  transition-delay: 1s;
}
.slideshow .slider-wrap:nth-child(5) {
  left: 80%;
}
.slideshow .slider-wrap:nth-child(5) .slider {
  left: -400%;
}
.slideshow .slider-wrap:nth-child(5) .slider .slider-track {
  transition-delay: 2s;
}
.slideshow .slider-wrap .slider {
  width: 500%;
}
.slideshow .slider-track {
  transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
}
.slideshow .item {
  min-height: calc(100vh - 99px); /* Set the height of the parent */
  background: #000034;
  color: #fff;
  display: flex; /* Enable Flexbox */
  flex-direction: column; 
  position: relative;
  z-index: 1;
}

.slideshow .item .background-img { /* Fill the width of the container */
  flex: 1; /* Make it grow to fill the parent */
  width: 100%; /* Full width */
  background: red; /* For demonstration */
}

/*.slideshow .item img::after{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.5);
}*/

.slideshow .item .text {
  position: absolute;
  z-index: 10;
  bottom: 0px;
  left: 0px;
  font-size: 40px;
  width: 70%;
  height: 300px;
/*  padding: 30px*/;
  background: rgba(0, 0, 0, .7);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
  transform: translate(-100%);
  opacity: 0;
}
.slideshow .item .text p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  text-transform: none;
  width: 50%;
  color: rgba(255, 255, 255, 0.8);
}
.slideshow .item.slick-active {
  z-index: 10;
}
.slideshow .item.slick-active .text {
  transform: translate(0);
  opacity: 1;
}