/* SLIDESHOW CONTAINER */
.slideshow-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* HIDE ALL SLIDES BY DEFAULT */
.mySlides {
    display: none;
    position: relative;
    width: 100%;
}

/* SLIDE IMAGES */
.mySlides img {
    width: 100%;    /* Make images responsive */
    height: auto;
    display: block;
}

/* CAPTION TEXT */
.caption {
    position: absolute;
    bottom: 8%;
    left: 5%;
    color: #fff;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 1.2rem;
    border-radius: 4px;
}

/* FADING ANIMATION */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* NEXT & PREV ARROWS */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 0.5rem;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 3px;
    user-select: none;
    transition: 0.3s;
    background-color: rgba(0, 0, 0, 0.3);
}

.prev {
    left: 0;
}
.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* DOT CONTAINER */
.dot-container {
    text-align: center;
    margin: 1rem 0;
}

/* DOTS */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 4px;
    background-color: #D2B48C;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

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

/* RESPONSIVE MEDIA QUERY */
@media only screen and (max-width: 600px) {
    .caption {
        font-size: 1rem; /* slightly smaller captions on mobile */
        bottom: 5%;
    }
    .prev, .next {
        font-size: 1.2rem;
        padding: 0.3rem;
    }
}