.mySlides {
    display: none;
    height: 75vh;
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100vw;
    height: 100vh;
    padding: 3em;
    align-items: center;
    justify-content: center;
    background: var(--background-dark);
}

.slideshow-container img {
    max-height: 100%;
}


.f-title {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 1;
    text-align: center;
    height: 80%;
    width: 80%;
    z-index: 3;
}

.contain {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.vid-home2 {
    --width: 70%;
    width: var(--width);
    height: var(--width);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    border-radius: 17px;
    overflow: hidden;
}

.vid-home2 iframe {
    width: inherit;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.vid-overlay-link {
    height: 100%;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 2
}

/* Next & previous buttons */
.next_prev {
    display: block;
    height:100%;
    width: 100%;
}
.prev {
    
    cursor: url('../img/prev.svg'), auto;
    position: absolute;
    top: 50%;
    left:0;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    padding: 16px;
    margin-top: 0;
    color: #000;
    font-weight:inherit;
    font-size: inherit;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 999;
}

.next {
    text-align: right;
    cursor: url('../img/next.svg'), auto;
    position: absolute;
    top: 50%;
    right:0;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    padding: 16px;
    margin-top: 0;
    color: #000;
    font-weight:inherit;
    font-size: inherit;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 999;
}

/* 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.0);

}

/* Caption text */
.text {
    display: block;
    position: absolute;
    color: #f2f2f2;
    font-size: .6em;
    padding: 4em;
    text-align: center;
    text-transform: uppercase;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}


/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 0;
    display: inline-block;
    transition: background-color 0.6s ease;
}

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

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

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 600px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}