.mySlides {display: none;}
img {vertical-align: middle;overflow:hidden;width: auto;}
.slideshow-container {
max-width: 540px;
position: relative;
margin: auto;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 40vh;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 1.5rem;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
@media only screen and (min-width: 1080px) {
    .prev, .next {position: absolute;top: 30%;font-size: 3rem;}
}
/* 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);
}
/* Caption text */
.text {
color: #000;
font-size: 1.5rem;
padding: 1px 0;
position: fixed;
bottom: 52px;
width: 100%;
text-align: center;
background: rgba(255, 255, 255, 0.8);
max-width: 540px;
}
.subtext {font-size:1rem;margin-top:-0.5rem;}
/* Number text (1/3 etc) */
.numbertext {
color: #ffffff;
font-size: 1rem;
/*padding: 8px 12px;*/
position: absolute;
top: 10px;
left: 30px;
z-index: 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}
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.prev, .next,.text {font-size: 11px}
}
figure {padding:0;height:100vh;margin-top: 60px;}

.bg img{
width: 100%;
height:100%;
overflow:hidden;
z-index: 0;
object-fit: cover;
}