.slideshow {
width:95%;
max-width:300px; 
margin:0px auto;
position:relative;
overflow:hidden;
border-radius:25px;
}
.slideshow img {
max-width:300px;
height:auto;
border-radius:25px;
}
.slideshow figure {
position:absolute;
top:0px;
left:-150%;
margin-left:0px;
border-radius:25px;
}
.slideshow figure:first-child {
position:relative;
}
.slideshow figure:nth-of-type(1) {
-webkit-animation:autoplay 30s linear infinite 0s; 
animation:autoplay 30s linear infinite 0s;
}

.slideshow figure:nth-of-type(2) {
-webkit-animation:autoplay 30s linear infinite 6s; 
animation:autoplay 30s linear infinite 6s;
}

.slideshow figure:nth-of-type(3) {
-webkit-animation:autoplay 30s linear infinite 12s; 
animation:autoplay 30s linear infinite 12s;
}

.slideshow figure:nth-of-type(4) {
-webkit-animation:autoplay 30s linear infinite 18s; 
animation:autoplay 30s linear infinite 18s;
}

.slideshow figure:nth-of-type(5) {
-webkit-animation:autoplay 30s linear infinite 24s; 
animation:autoplay 30s linear infinite 24s;
}

@keyframes autoplay {
0% {
left:-100%;
}
1%, 20% {
left:0;
}
21%, 100% {
left:100%;
}
}
@-webkit-keyframes autoplay {
0% {
left:-100%;
}
1%, 20% {
left:0;
}
21%, 100% {
left:100%;
}
}
