.slideshow {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: auto;
  min-height: 542px;
  overflow: hidden;
}
@media only screen and (max-width: 992px) {
    .slideshow {
        min-height:434px;
    }
}
@media only screen and (max-width: 780px) {
    .slideshow {
        min-height:336px;
    }
}

.slide {
  position: absolute;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Slide show animation */
@keyframes slideShow {
  0%, 16.67% { opacity: 1; }
  33.33%, 100% { opacity: 0; }
}

.slide:nth-child(1) { animation: slideShow 22s infinite; animation-delay: 0s; }
.slide:nth-child(2) { animation: slideShow 22s infinite; animation-delay: 3s; }
.slide:nth-child(3) { animation: slideShow 22s infinite; animation-delay: 4s; }
.slide:nth-child(4) { animation: slideShow 22s infinite; animation-delay: 6s; }
.slide:nth-child(5) { animation: slideShow 22s infinite; animation-delay: 7s; }
.slide:nth-child(6) { animation: slideShow 22s infinite; animation-delay: 9s; }
.slide:nth-child(7) { animation: slideShow 22s infinite; animation-delay: 10s; }
.slide:nth-child(8) { animation: slideShow 22s infinite; animation-delay: 12s; }
.slide:nth-child(9) { animation: slideShow 22s infinite; animation-delay: 13s; }
.slide:nth-child(10) { animation: slideShow 22s infinite; animation-delay: 15s; }
.slide:nth-child(11) { animation: slideShow 22s infinite; animation-delay: 16s; }
.slide:nth-child(12) { animation: slideShow 22s infinite; animation-delay: 18s; }

/* Control buttons */
/*.controls {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 10px;
}

.controls button {
  background: rgba(0, 0, 0, 0.25);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
}

.controls button:hover {
  background: rgba(0, 0, 0, 0.3);
}*/

.controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
  }
  
  .control-button {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  
  .control-button:hover {
    background: rgba(0, 0, 0, 0.7);
  }
  
  /* Icon styling */
  .icon {
    width: 0;
    height: 0;
    display: block;
  }
  
  /* Rewind icon */
  /*.rewind-icon {
    border: solid 6px transparent;
    border-right: solid 6px white;
    border-left-width: 6px;
    position: relative;
  }
  
  .rewind-icon::before {
    content: "";
    position: absolute;
    left: -10px;
    top: -6px;
    border: solid 6px transparent;
    border-right: solid 6px white;
    border-left-width: 0;
  }*/
  
  /* Play icon */
  .play-icon {
    transform: translateX(2px);
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent white;
    display: inline-block;
  }
  
  /* Pause icon */
  .pause-icon {
    transform: translateX(-6px);
    width: 4px;
    height: 12px;
    right: 12px;
    display: inline-block;
    position: absolute;
    background: white;
    left: 50%;
  }
  
  .pause-icon:after {
    content: "";
    position: absolute;
    right: -8px;
    width: 4px;
    height: 12px;
    background: white;
  }
   
  /* Toggle play/pause visibility */
  #pauseIcon {
    display: none; /* Hide pause icon by default */
  }