@font-face {
	font-family: Gentona;
	src: url("../fonts/rene-bieder-gentona-extrabold.otf");
}

@font-face {
	font-family: Quadon;
	src: url("../fonts/rene-bieder-quadon.otf");
}

html, body {
	padding: 0;
	margin: 0;
	text-align: center;
	font-size: 1em;
	height: 100%;
}

body {
	background: url("../images/grid_noise.png");
	display: flex;
	flex-direction: column;
}

header {
	color: #ffffff;
	font-family: Gentona;
	font-size: 1.3em;
	min-height: 75px;
	/*position: fixed;*/
	width: 100%;
}

header a, footer a {
	display: block;
	position: relative;
	height: 100%;
}

header a:hover {
	background-color: #00417c;
}

footer a {
	max-width: 400px;
	margin: 0 auto;
}

.smooth3 {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#cise-title {
	background-color: #f37021;
	display: none;
	letter-spacing: 3px;
	position: relative;
	font-size: .8em;
	margin: 0;
	height: 75px;
	line-height: 4.3;
}

#server-title {
	letter-spacing: 2px;
	height: 75px;
	margin: 0;
	font-size: 1.4em;
	line-height: 2.5;
	background-color: #f37021;
	color: #ffffff;
	text-align: left;
	padding-left: 90px;
}

#text {
	height: 100%;
	background-color: #ffffff;
	position: relative;
	top: 0;
}

main {
	padding: 75px 0;
	flex: 1 0 auto;
}

main img {
	max-width: 150px;
	padding-top: calc(100vh - 90vh)
}

main p {
	color: #00529b;
	font-family: Quadon;
	font-size: 1.2em;
	padding-top: 55px;
	margin: 0 auto;
	max-width: 300px;
}

.block {
	position: absolute;
	background-color: #00529b;
	z-index: 100;
	top: 0;
	width: 75px;
	height: 75px;
}

#left { left: 0; }

#right {
	right: 0;
	display: none;
}

footer {
	border-top: 2px solid #f37021;
	background-color: #ffffff;
	padding: 50px 25px;
}

footer img {
	width: 100%;
}

@media screen and (min-width: 825px) {
	header {
		height: 150px;
	}

	header img {
		content: url('../images/cise-logo.png');
	}

	.block {
		width: 150px;
		height: 150px;
	}

	#right {
		display: block;
	}

	#cise-title {
		display: block;
		content: "CISE"
	}

	#server-title {
		color: #00529b;
		background-color: #ffffff;
		text-align: center;
		padding-left: 0;
	}
}

@media screen and (min-width: 890px) {
	#cise-title {
		font-size: 1em;
		line-height: 3.5;
	}
}

@media screen and (min-width: 975px) {
	#cise-title {
		font-size: 1.2em;
		line-height: 3;
	}
}
