html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background-color: #000;
}

.slideshow-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.5s ease;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
    flex-shrink: 0;
}

.slide.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
}

.slide img.animate-slide {
    animation: subtleZoom 5s ease-in-out infinite;
}

@keyframes subtleZoom {
    0%, 100% {
        transform: scale(1);
        filter: brightness(100%);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(105%);
    }
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 5px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
    background-color: #f1f1f1;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@media only screen and (max-width: 768px) {
    .prev, .next {
        font-size: 20px;
        padding: 12px;
        margin-top: -25px;
    }
    .dot {
        height: 10px;
        width: 10px;
    }
    .dots-container {
        bottom: 10px;
    }
}

@media only screen and (max-width: 480px) {
    .prev, .next {
        font-size: 16px;
        padding: 8px;
        margin-top: -20px;
    }
}