/* SLIDER STYLESHEET SPECIFICALLY MADE FOR CAMPDEN BRI DAY EXPERIENCE */

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    max-height: 500px;
    position: relative;
    margin: .5em 0 1em 2em;
}

/* Hide the images by default */
.slides {
    display: none;
}

.slides img {
    min-width: 100%;
    min-height: 375px;
    object-position: center;
    object-fit: cover;
}

/* Caption text */
.text  {
    color: #ffffff;
    font-size: 1.5em;
    padding: 8px 12px;
    position: absolute;
    left: 0;
    bottom: 30px;
    width: content-box;
    background-color: #7A1E99;
}

.text span {
    font-size: 0.9em;
    padding-left: 8px;
}

.text span:before {
    content: "-";
    margin-right: 4px;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    right: 0;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* RESPONSIVE STYLES HERE */

@media only screen and /*(min-width: 320px) and*/ (max-width: 769px) {
    .slideshow-container {
        max-height: 500px;
        position: relative;
        margin: 1em 0 ;
    }

    .slides img {
        min-height: 30vh;
    }

    .text {
        font-size: 1.4em;
    }

}

@media only screen and (max-width: 400px){
    .slides img {
        min-height: 275px;
    }

    .text {
        font-size: 1.8em;
        vert-align: middle;
    }

    .slides:first-child .text {
        font-size: 1.6em;
        padding: 15px;
        width: 100%;
    }

    .slides:first-child .text span {
        letter-spacing: 3px;
        font-size: 100%;
    }

}