
/*
	Based upon Jakub Hampl's "Designing a departures board with CSS3".
	http://gampleman.eu/post/1488470623/designing-a-departures-board-with-css3
*/

html{
	 background-color: black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}

body{
	/*background: black;*/
	margin: 0;
	color: white;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern";
	-webkit-font-feature-settings: "kern";
	-moz-font-feature-settings: "kern";
	-moz-font-feature-settings: "kern=1";
	text-transform: uppercase; 
	
}

h1{
	text-transform: uppercase;
	margin-top: -0.5em;
	text-align: left;
	font-size: 4em;
	-webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
 -webkit-transition: -webkit-transform 2s; /* Safari */
    transition: transform 2s;

}

h1:hover{

	 -ms-transform: translate(0px ,1em); /* IE 9 */
    -webkit-transform: translate(0px,1em); /* Safari */
    transform: translate(0px,1em); /* Standard syntax */
}

a:visited{
	color: white;
	font-weight: bold;
}

footer{
	font-size: .8em;
	position: absolute;
	bottom:0;
	text-align: right;
	width: 100%;
}

.buttons{
	width: 100%;
	text-align: center;
	margin-top: 6em;
	margin-left: auto;
	margin-right: auto;

}

button{
	text-transform: uppercase;
	text-align: center;
	font-size: 1em;
	padding: 1em 1em;
	background: none;
	border: 1px solid white;
	color: white;
	cursor: crosshair;	
}

button:active{

}

.image2{
	position: absolute;
	width: 38.2%;
	top: -3%;
	right: -4%;
	z-index: -100000;

}

.image1{
	position: absolute;
	width: 19.1%;
	bottom: 0;
	left: -4%;
	z-index: -100000;

}

img {
	max-width: 100%;
  	box-shadow: inset 0 0 0 1000px rgba(0,0,0,.8);

}

.departure-board {
    /*padding:  0.36em;*/
    font-size: 3em;
    /*display: inline-block;*/
	line-height: 1.3em;
    /*background: black;*/
    /*-webkit-border-radius: 0.21em;*/
    /*-moz-border-radius: 0.21em;*/
    /*border-radius: 0.21em;*/
    color: #fff;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15%;
}


.departure-board span.letter {
	display: inline-block;
	width: 1em;
	/*margin: 0 .1em;*/
	height: 1.3em;
	text-align: center;
	position: relative;
}


.departure-board span.letter {
	border: 1px solid white ;
	/*-webkit-box-shadow: 
		inset 0 -.07em 0 rgba(50, 50, 50, .7), 
		inset 0 -.14em 0 rgba(0, 0, 0, .7), 
		inset .14em 0 .28em rgba(0, 0, 0, .9), 
		inset -.14em 0 .28em rgba(0, 0, 0, .9),	
		0 .07em 0 rgba(255, 255, 255, .2); 

	-moz-box-shadow: 
		inset 0 -.07em 0 rgba(50, 50, 50, .7), 
		inset 0 -.14em 0 rgba(0, 0, 0, .7), 
		inset .14em 0 .28em rgba(0, 0, 0, .9), 
		inset -.14em 0 .28em rgba(0, 0, 0, .9),	
		0 .07em 0 rgba(255, 255, 255, .2); 

	-o-box-shadow: 
		inset 0 -.07em 0 rgba(50, 50, 50, .7), 
		inset 0 -.14em 0 rgba(0, 0, 0, .7), 
		inset .14em 0 .28em rgba(0, 0, 0, .9), 
		inset -.14em 0 .28em rgba(0, 0, 0, .9),	
		0 .07em 0 rgba(255, 255, 255, .2); 

	box-shadow: 
		inset 0 -.07em 0 rgba(50, 50, 50, .7), 
		inset 0 -.14em 0 rgba(0, 0, 0, .7), 
		inset .14em 0 .28em rgba(0, 0, 0, .9), 
		inset -.14em 0 .28em rgba(0, 0, 0, .9),	
		0 .07em 0 rgba(255, 255, 255, .2); */
}


.departure-board span.letter:before {
	border-top: 1px solid white;
	/*border-bottom: .07em solid rgba(255, 255, 255, .08);*/
	height: 0;
	position: relative;
	width: 100%;
	left: 0;
	top: .62em;
	content: " ";
	display: block;
	z-index: 2;
	-moz-transform: translate(0, -.05em);
	-o-transform: translate(0, -.1em);
}


.departure-board span.fold {
	display: block;
	position: absolute;
	height: 0;
	top: .65em;
}


.departure-board span.flap {
	display: block;
	position: absolute;
	top: 0em;	
	width: 1em;
	height: .65em;
	margin: 0;
	overflow: hidden;
}


.departure-board span.text {
	width: 100%;
}
	

.departure-board span.bottom {
	top: .65em;
}


.departure-board span.bottom span.text {
	position: relative;
	top: -.65em;
}
	


.departure-board span.flap.falling {
	display: none;
	bottom: 0;	
	top: auto;
}


.departure-board span.flap.falling span.text {
	-webkit-backface-visibility: hidden;
	border-top: 1px solid pink;
	border-bottom: 1px solid pink;	
    background: pink;
	display: block;
	position: relative;
	
	-webkit-transform: scaleY(1); 
	-moz-transform: scaleY(1); 
	-o-transform: scaleY(1); 
	transform: scaleY(1); 
	
	-webkit-transition: -webkit-transform linear;
	-moz-transition: -moz-transform linear;
	-o-transition: -o-transform linear;
	transition: transform linear;
}

