.slideshow-container {position: relative;}


.slideshow {
    position: relative;
    /* width: 50%; */
    width: 100%;
    height: 930px;
    overflow: hidden;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

.slideshow img.active {
    opacity: 1;
}

.slideshow2 {
    position: relative;
    /* width: 50%; */
    width: 100%;
    height: 400px;
    overflow: hidden;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: -1;

    opacity: 0;
}

.slideshow2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

.slideshow2 img.active {
    opacity: 1;
}

/* Navigation buttons */
.nav-btn {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}


@media (max-width: 768px) {
    .slideshow {
        height: 350px;
    }
    
    .nav-btn {
        padding: 10px 15px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .slideshow {
        height: 250px;
    }
}