.slideshow-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/*Overlay not used?*/
.overlay {
  width: 100%;
  height: 10vh;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(36, 36, 36, 0.8);
}

.slides {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;   
}

/*SLIDESHOW TEXT*/
.caption-text {
  max-width: 40%;
  background:#c5ae39;
  color: white;
  position: absolute;
  bottom: 15%;
  left: 5%;
  font-size: 3em;
  text-align: left;
  padding: 15px;
  padding-left: 25px;
  padding-right: 80px;
  clip-path: polygon(
    0 0,
    calc(100% - 40px) 0,
    100% 50%,
    calc(100% - 40px) 100%,
    0 100%
  );  
}

@media  (max-width: 1480px) {
  .caption-text {
    font-size: 2.5em;
    padding-right: 70px;
  }
}

@media  (max-width: 950px) {
  .caption-text {
    font-size: 2em;
    padding-right: 60px;
  }
}

@media  (max-width: 850px) {
  .caption-text {
    font-size: 1.5em;
    padding-right: 50px;
  }
}
