/* BANNER
=========================================================*/

/* BANNER
-------------------------------------*/

header {
	position: fixed;
	z-index: 200;

	display: flex;
	flex-direction: column;
	justify-content: space-around;
	
	display: -webkit-flex;
	-webkit-flex-direction: column;
	-webkit-justify-content: space-around;
	
	top: 0;
	left: 0;
	right: 0;
	
	color: #fff;
	background-color: #011B3E;
	background-repeat: no-repeat;
	background-position: 0% 50%;
	background-image: url('../images/logo.svg');
	
	box-shadow: 0 0 15px rgba(0,0,0,0.5);
	border-bottom: 2px solid white;
}
	
header h1 {
	margin: 0;
	padding: 0;
	
	font-weight: normal;
	white-space: nowrap;
}



/* LOADING VIEW
==============================================================================*/

body.loading header {
	height: 100%;

	background-size: 300px;
	background-position: 50% 50%;
}

body.loading header h1 {
	opacity: 0;
	transform: translateX(-100px);
	-webkit-transform: translateX(-100px);
}

body.loading #container {
	top: 0px;
}


/* DESKTOP VIEW
==============================================================================*/

body.desktop header {
	height: 100px;
	background-size: 100px;
}

body.desktop header h1 {
	font-size: 20pt;
	padding-left: 100px;
}

body.desktop #container {
	top: 100px;
}

body.desktop footer {
	display: flex;
	flex-direction: column;
	justify-content: space-around;

	display: -webkit-flex;
	-webkit-flex-direction: column;
	-webkit-justify-content: space-around;
	
	margin: 10px;

	color: #011B3E;
	font-weight: bold;
	text-align: center;
}


/* PHONE VIEW
==============================================================================*/

body.phone header {
	height: 60px;
	background-size: 60px;
}

body.phone header h1 {
	font-size: 15pt;
	padding-left: 60px;
}

body.phone #container {
	top: 60px;
}

body.phone footer {
	z-index: -1;
	position: fixed;
	
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	
	font-size: 10pt;
}


/* TRANSITIONS
==============================================================================*/

body.load2desk header,
body.load2phon header {
	transition: all 1s ease-in-out;
}

body.load2desk header h1,
body.load2phon header h1 {
	transition: all 0.5s 1s ease-in-out;
}


body.desk2phon header,
body.phon2desk header {
	transition: all 1s ease-in-out;
}

body.desk2phon header h1,
body.phon2desk header h1 {
	transition: all 1s ease-in-out;
}

body.desk2phon #container,
body.phon2desk #container {
	transition: all 1s ease-in-out;
}
