/* Slideshow container */
.slideshow-container {
    width: 100%;
    height: 570px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
    height: 100%;
}

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

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: #8b8c89;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


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

.slider-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 50px;
    position: absolute;
    top: 28%;
    left: 0;
    z-index: 10;
    gap: 20px;
}

.slider-text h3 {
    text-transform: uppercase;
    font-size: 30px;
    color: white;
    font-weight: normal;
}

.slider-text h1 {
    text-transform: uppercase;
    font-size: 40px;
    color: white;
}

.sliderLearnMoreBttn button {
    width: fit-content;
    padding: 20px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bolder;
    cursor: pointer;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* RESPONSIVE MEDIA QUERIES */
@media screen and (max-width: 1100px) {
    .slider-text {
        width: 100%;
        top: 60%;
    }

    .slider-text h3 {
        font-size: 25px;
    }

    .slider-text h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 650px) {
    .slideshow-container {
        height: 300px;
    }

    .slider-text {
        top: 38%;
        gap: 10px;
        padding: 20px;
    }

    .slider-text h3 {
        font-size: 18px;
    }

    .slider-text h1 {
        font-size: 20px;
    }

    .sliderLearnMoreBttn button {
        font-size: 15px;
        padding: 10px;
    }
}