#slideshow {
	overflow: hidden;
	position: relative;
	height: auto; 
   padding-bottom: 53%;
	display: block;
   
}

.fig {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 90%;
    height: auto;
    margin-top: 1em;
    margion-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    animation: change 20s infinite;
    background-color:black;
    display: block;
}

.slide{
    width:100%;
    height:auto;
}

.cap {
    position: absolute;
    bottom: 0;
    font-size: 0.8em;
    font-weight: bold;
    width: auto%;
    height: 1.2em;
    z-index: 10;
    color: white;
    background-color: black;
    padding: 0.2em;
}

@keyframes change {
    0% {opacity: 1;}
    25% {opacity: 0;}
    75% {opacity: 0;}
    100% {opacity: 1;}
}

.fig:nth-child(4) {
    animation-delay: 0s;
}

.fig:nth-child(3) {
    animation-delay: 5s;
}

.fig:nth-child(2) {;
    animation-delay: 10s;
}

.fig:nth-child(1) {
    animation-delay: 15s;
}
