﻿.mySlides {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

    .mySlides.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slideshow-container {
    position: relative;
}

.mobile-screen {
    position: relative;
    transition: all 0.3s ease;
    aspect-ratio: 9/16;
}

    .mobile-screen img {
        width: 100%;
        transition: opacity 0.3s ease;
    }


.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background: rgb(197, 246, 255, 0.4);
    backdrop-filter: blur(10px);
    /*color: black;*/
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
    border-radius: 50%;
    border: 1px solid rgb(81, 223, 255,0.4);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.prev {
    left: -90px;
}

.next {
    right: -90px;
}

    .prev:hover, .next:hover {
        background: rgb(199, 199, 199);
        border-color: rgb(81, 223, 255,0.5);
        transform: scale(1.1);
        color: black;
        text-decoration: none;
    }

.dots-container {
    text-align: center;
    margin-top: 30px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgb(199, 199, 199);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .dot.active, .dot:hover {
        background-color:rgb(81, 223, 255,0.7);
        transform: scale(1.2);
    }

.slide-counter {
    text-align: center;
    margin-top: 15px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

@media only screen and (max-width: 768px) {
    .slideshow-header h1 {
        font-size: 2rem;
    }

    .slideshow-container {
        padding: 20px;
    }

    .prev, .next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
        font-size: 16px;
    }

    .prev {
        left: -20px;
    }

    .next {
        right: -20px;
    }
}

@media only screen and (max-width: 576px) {
    .slideshow-wrapper {
        padding: 0 10px;
    }

    .slideshow-container {
        padding: 15px;
    }

    .slide-title h2 {
        font-size: 1.4rem;
    }
}
