﻿.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mySlides {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    height: 500px;
}

    .mySlides.active {
        display: block;
        opacity: 1;
    }

    .mySlides img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
}

.dot-container {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.9);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .dot.active, .dot:hover {
        background-color: #717171;
    }

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color:#333;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .nav-btn:hover {
        background: rgba(0,0,0,0.8);
        transform: translateY(-50%) scale(1.1);
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}
