body {
    min-height: 100vh;
    max-width: 100%;
    margin: 0 0;
}
.center {
  margin-left: auto;
  margin-right: auto;
}

.slider--container {
	position: relative; /* "relative", so that h1 and images can be set absolutely */
	height: 25vh; /* Adjust the height to your needs here */
	width: 35vw; /* Adjust the width to your needs here */
	margin: 0 10%;
	overflow: visible;
	border-radius: .125rem;
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25);
	float: left;
}

.slider--heading {
	position: absolute;
	top: 95%;
	left: 35%;
	padding: 1rem;
	z-index: 99;
	font: 200 1.25rem/1.25 Verdana, sans-serif;
	text-align: center;
	background-color: rgba(255, 255, 255, 0);
	color: rgba(255, 0, 0, 1);
	transform: translate3d(-50%, -80%, 0);
}
.slider--heading h1 {
	font:  1.25rem/1.25 Verdana, sans-serif;
	text-transform: uppercase;
	color: rgba(255,0,0,.5);
}
	/* Responsive styles for the heading */
	/* ===== == = === 30em (480px) === = == ===== */
	@media only screen and (min-width : 150rem) {
		.slider--heading h1 {font-size: 1.0rem;}
	}
	/* ===== == = === 48em (768px) === = == ===== */
	@media only screen and (min-width : 200rem) {
		.slider--heading h1 {font-size: 1.25rem;}
	}

.btn {
	margin: 1rem;
	padding: .5rem;
	font-size: .75rem;
	text-decoration: none;
	text-shadow: 1px 1px 1px #999999;
	background: transparent;
	border-radius: 5px;
	box-shadow: 0 0 2px 1px #EFEFEF;
	color: #333;
}

.btn:hover {
	text-decoration: none;
	color: #999;
}

.slider--image {
	position: absolute;
	z-index: 1;
	left: 100px;
	top:0;
	height: 100%;
	width:   auto;
	object-fit: cover;
	animation: 30s ease-in-out infinite;
} 

.slider--image1 {
	position: absolute;
	z-index: 1;
	left: 0;
	top:10%;
	height: 80%;
	width: auto;
	object-fit: cover;
	animation: 30s ease-in-out infinite;
} 
 /* Name of animations and selection of images */
.slider--image:nth-of-type(1) {
	animation-name: slide-01;
}
.slider--image1:nth-of-type(2) {
	animation-name: slide-02;
}
.slider--image1:nth-of-type(3) {
	animation-name: slide-03;
}
.slider--image:nth-of-type(4) {
	animation-name: slide-04;
}
.slider--image:nth-of-type(5) {
	animation-name: slide-05;
}
.slider--image1:nth-of-type(6) {
	animation-name: slide-06;
}

/* Images are overlaid and visible or invisible due to different transparency */
/* Moving the images with transform: scale & translate */
	/* Styles for webkit browsers */
@-webkit-keyframes slide-01 {
	0%  { opacity:1; -webkit-transform: scale(1.0) translate(0, 0);}
	16%  {opacity:0; -webkit-transform: scale(1.0) translate(0, 0);}
	33%  {opacity:0; -webkit-transform: scale(1.0) translate(0, 0);}
	50%  {opacity:0;}
	67%  {opacity:0;}
	84%  {opacity:0;}
	100%  {opacity:1; -webkit-transform: scale(1.0) translate(0, 0);}
}
@-webkit-keyframes slide-02 {
	0%  { opacity:0;}
	16%  {opacity:0; -webkit-transform: scale(1.0) translate(0, 0);}
	33%  {opacity:1; -webkit-transform: scale(1.0) translate(0, 0);}
	50%  {opacity:0; -webkit-transform: scale(1.0) translate(0, 0);}
	67%  {opacity:0; -webkit-transform: scale(1.0) translate(0, 0);}
	84%  {opacity:0;}
	100%  {opacity:0;}
}
@-webkit-keyframes slide-03 {
	0%  { opacity:0;}
	16%  {opacity:0;}
	33%  {opacity:0;}
	50%  {opacity:0; -webkit-transform: scale(1.0) translate(0, 0);}
	67%  {opacity:1; -webkit-transform: scale(1.0) translate(0, 0);}
	84%  {opacity:1; -webkit-transform: scale(1.0) translate(0, 0);}
	100%  {opacity:0; -webkit-transform: scale(1.0) translate(0, 0);}
}

	/* Styles for all other browsers */
@keyframes slide-01 {
	0%  { opacity:1; transform: scale(1.0) translate(0, 0);}
	16%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	33%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	50%  {opacity:0;}
	67%  {opacity:0;}
	84%  {opacity:0;}
	100%  {opacity:1; transform: scale(1.0) translate(0, 0);}
}
@keyframes slide-02 {
	0%  { opacity:0;}
	16%  {opacity:1; transform: scale(1.0) translate(0, 0);}
	33%  {opacity:0 transform: scale(1.0) translate(0, 0);}
	50%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	67%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	84%  {opacity:0;}
	100%  {opacity:0;}
}
@keyframes slide-03 {
	0%  { opacity:0;}
	16%  {opacity:0;}
	33%  {opacity:1; transform: scale(1.0) translate(0, 0);}
	50%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	67%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	84%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	100%  {opacity:0; transform: scale(1.0) translate(0, 0);}
}
@keyframes slide-04 {
	0%  { opacity:0;}
	16%  {opacity:0;}
	33%  {opacity:0;}
	50%  {opacity:1; transform: scale(1.0) translate(0, 0);}
	67%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	84%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	100%  {opacity:0; transform: scale(1.0) translate(0, 0);}
}
@keyframes slide-05 {
	0%  { opacity:0;}
	16%  {opacity:0;}
	33%  {opacity:0;}
	50%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	67%  {opacity:1; transform: scale(1.0) translate(0, 0);}
	84%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	100%  {opacity:0; transform: scale(1.0) translate(0, 0);}
}
@keyframes slide-06 {
	0%  { opacity:0;}
	16%  {opacity:0;}
	33%  {opacity:0;}
	50%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	67%  {opacity:0; transform: scale(1.0) translate(0, 0);}
	84%  {opacity:1; transform: scale(1.0) translate(0, 0);}
	100%  {opacity:0; transform: scale(1.0) translate(0, 0);}
}


#video_player {
	display: table;
	line-height: 0;
	font-size: 0;
	background: "#97C5E5";
	max-width: 1500px;
	margin: 0 auto;
}


#video_container {
	position: relative; 
}
#video_player div,
#video_player figcaption {
	display: table-cell;
	vertical-align: top;
}
#video_container video { 
	position: absolute;
	display: block;
	width: 95%;
	height: 95%;
	top: 0;
}
#video_player figcaption { 
	width: 24%; 
}
#video_player figcaption a {
	display: block;
}
#video_player figcaption a {
	opacity: .5;
	transition: 1s opacity;
}
#video_player figcaption a img,
figure video {
	width: 100%;
	height: auto;
}
#video_player figcaption a.currentvid,
#video_player figcaption a:hover,
#video_player figcaption a:focus { 
	opacity: 1; 
}
@media (max-width: 1500px) {
	#video_player video,
	#video_player figcaption { 
		display: table-row;
	}
	#video_container {
		padding-top: 56.25%; 
	}
	#video_player figcaption a {
		display: inline-block;
		width: 24%; 
	}
}