@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
/* header */
#trein #header {
	position: absolute;
	top: 0;
	bottom: auto;
	left: 0;
	width: 100%;
	height: auto;
	padding: 0;
	text-align: center;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}
#trein .header-animate {
	opacity: 0;
	/* animation */
	animation: fadeIn;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}
#trein #header h1 {
	color: #fff;
	font-size: 360%;
	line-height: 120%;
	text-shadow: 0 0 0.5em #000;
	padding: 0;
	margin: 2% 0;
	display: block;
}
#trein #header h2 {
	color: #fff;
	font-size: 300%;
	line-height: 120%;
	text-shadow: 0 0 1em #000;
	padding: 0;
	margin: 2% 0;
	display: block;	
}
#trein h1.time {
	position: absolute;
	top: 0;
	right: 2%;
	width: 50%;
	text-align: right;
	color: #fff;
	font-size: 360%;
	line-height: 120%;
	text-shadow: 0 0 0.5em #000;
	padding: 0;
	margin: 2% 0;
	z-index: 9999;
	opacity: 0;
	/* animation */
	animation: fadeIn;
	animation-duration: 1s;
	animation-delay: 1s;
   	animation-fill-mode: forwards;
}


#trein #foto img {
	width: 100%;
}


#treinen {
	position: absolute;
	top: 15%;
	left: 10%;
	width: 80%;
	height: auto;
	font-family: "Arial Narrow", Arial, sans-serif
}
#treinen li.vertrekkend {
	list-style: none;
	float: left;
	width: 100%;
	background: #000066;
	background: linear-gradient(180deg,  #000066 0%, #2424a2 100%); /* W3C */
	border-top: 0.1vw solid #fff;
	color: #fff;
	box-shadow: 0px 0px 2vw black;
	opacity: 0;
	/* animation */
	animation: fadeIn;
	animation-duration: 1s;
   	animation-fill-mode: forwards;
}
#treinen li.vertrekkend:nth-child(1) {
	animation-delay: 0.5s;
}
#treinen li.vertrekkend:nth-child(2) {
	animation-delay: 0.7s;
}
#treinen li.vertrekkend:nth-child(3) {
	animation-delay: 0.9s;
}
#treinen li.vertrekkend:nth-child(4) {
	animation-delay: 1.1s;
}
#treinen li.vertrekkend:nth-child(5) {
	animation-delay: 1.3s;
}
#treinen li.vertrekkend:nth-child(6) {
	animation-delay: 1.5s;
}
#treinen li.vertrekkend:nth-child(7) {
	animation-delay: 1.7s;
}
#treinen li.vertrekkend:nth-child(8) {
	animation-delay: 1.9s;
}
#treinen li.vertrekkend:nth-child(9) {
	animation-delay: 2.1s;
}
#treinen li.vertrekkend:nth-child(10) {
	animation-delay: 2.3s;
}
#treinen li.vertrekkend:nth-child(n + 11) {
	display: none;
}
#treinen li.vertrekkend table {
	width: 100%;
}
#treinen li.vertrekkend td {
	padding: 1.25% 1%;
}
#treinen li.vertrekkend td:nth-child(1), #treinen li.vertrekkend td:nth-child(3), #treinen li.vertrekkend td:nth-child(4) {
	width: 10%;
	text-align: center;
}
#treinen li.vertrekkend td:nth-child(2) {
	width: 40%;
}
#treinen li.vertrekkend td:nth-child(5) {
	width: 30%;
}
#treinen li.vertrekkend h1 {
	font-size: 100%;
	margin: 0;
	padding: 0;
}
#treinen li.vertrekkend td:nth-child(1) h1 {
	font-size: 175%;
	margin: 0;
	padding: 0;
}
#treinen li.vertrekkend td:nth-child(2) h1, #treinen li.vertrekkend td:nth-child(3) h1 {
	font-size: 150%;
	margin: 0;
	padding: 0;
}
#treinen li.vertrekkend:nth-child(1) h1 {
	font-size: 100% !important;
}