/* Two-Column Row Layout */
.slide-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  justify-content: space-evenly;
  /* height: 750px; */
}

.slider-col {
    flex: 0 1 60%;
}
.remainder-col {
  flex: 1; /*  Both columns take up equal space */
  text-align: center;
  min-width: 350px;
}
.remainder-col h2 {
    font-family: Solitreo, serif;
    font-size: 35px;
    font-weight: bold;
    margin: 0px;
    height: auto;
    /* min-height: 35px; */
    width: auto;
}
.remainder-col p {
    font-family: sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin: 0px;
    height: auto;
    min-height: 20px;
    width: auto;
}
/* Slideshow Container */
.slideshow-container {
  position: relative;
  height: 400px; /* Set a fixed height for your slideshow */
  overflow: hidden;
  border-radius: 8px;
}

/* Base Slide Style */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeAnimation 25s infinite; /* total time for all slides */
}

@keyframes fadeAnimation {
  0%   { opacity: 0; }
  4%   { opacity: 1; } /* Fade in takes 1s */
  20%  { opacity: 1; } /* Display static for 4s */
  24%  { opacity: 0; } /* Fade out takes 1s */
  100% { opacity: 0; }
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }

/* Mobile Styles */
@media (max-width: 768px) {
    .slide-row {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }
    
    .slider-col {
        /* flex-direction is column here, so a percentage flex-basis sizes height (not width) and collapses to 0 */
        flex: 0 1 auto;
        width: 100%;
    }
    
    .remainder-col {
        flex: 1 1 100%;
        min-width: auto;
        padding: 10px;
    }
    
    .slideshow-container {
        height: 150px;
    }
    
    .remainder-col h2 {
        font-size: 22px;
    }
    
    .remainder-col p {
        font-size: 13px;
    }
    
    .paypal_img {
        height: 50px;
        width: auto;
        max-width: 150px;
    }
}
