﻿
/*       congrats! u found another easteregg.
 ╔════╗    ╔═╗ ╔═══╗             ╔═════╗     ╔═╦═╗
 ║ ═  ╠══╦═╣ ║ ║ ═ ╠═══╦═╦═╦═══╗ ║     ╠═══╦═╣ ╠═╬═══╗
 ║   ╦╝═ ║ ═ ║ ║   ║ ═ ║ ║ ╠══ ║ ║ ║ ║ ║ ═ ║ ═ ║ ╠══ ║
 ║ ║ ╚╗ ═╣   ║ ║ ║ ║   ║   ║ ═ ║ ║ ║ ║ ║  ═╣   ║ ║ ═ ║
 ╚═╩══╩══╩═══╝ ╚═╩═╩═╗ ╠═══╩═══╝ ╚═╩═╩═╩═══╩═══╩═╩═══╝
                     ╚═╝
*/

@font-face {
	font-family: 'lexend';
	src: url('lexend.woff2') format('woff2'), url('lexend.woff') format('woff');
	font-display: fallback;
}

	/* COMMON */

body {
	background-color: #e1261c;
	color: #fff;
	font: 12pt lexend, sans-serif;
	margin: 0 1em;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	body {
		background: url('hintergrund.jpg') top center/cover no-repeat fixed;
	}
}

header {
	text-align: center;
	padding: 30% 0 1%;
}

header img:first-child {
	width: 100%;
	max-width: 1000px;
	margin-bottom: 10%;
}

header img {
	width: 20%;
	display: block;
	margin: auto;
}

h1 {
	margin-top: 0;
	font-weight: normal;
	font-size: 140%;
}

	/* NAV */

#navicon-checkbox {
	display: none;
}

#navicon {
	position: fixed;
	top: 2%;
	right: 3%;
	cursor: pointer;
	z-index: 3;
	-webkit-animation: naviconhint 1600ms; /* Safari 4-8 */
	animation: naviconhint 1600ms;
}

#navicon img {
	width: 18vw;
	height: 15vw;
}

nav {
	display: none;
	position: fixed;
	top: 15%;
	left: 0;
	right: 0;
	text-align: center;
}

nav a, footer a {
	color: #fff;
	text-decoration: none;
}

nav ul {
	margin: 0;
	padding: 0;
	margin: auto;
}

nav ul li {
	display: inline-block;
	width: 44%;
	padding: .5em 0;
}

nav ul li img {
	width: 50%;
}

input[type=checkbox]:checked ~ header, input[type=checkbox]:checked ~ main, input[type=checkbox]:checked ~ footer {
	-webkit-animation: hidecontent 800ms; /* Safari 4-8 */
	animation: hidecontent 800ms;
	visibility: hidden;
}

input[type=checkbox]:checked ~ nav, header, main, footer {
	display: block;
	-webkit-animation: showcontent 800ms; /* Safari 4-8 */
	animation: showcontent 800ms;
}

@-webkit-keyframes showcontent {
	0% {opacity: 0; display: none;}
	50% {opacity: 0; display: block;}
	100% {opacity: 1;}
}

@keyframes showcontent {
	0%   {opacity: 0; display: none;}
	50%  {opacity: 0; display: block;}
	100% {opacity: 1;}
}

@-webkit-keyframes hidecontent {
	0% {opacity: 1; visibility: visible;}
	50%  {opacity: 0;}
	100% {opacity: 0; visibility: hidden;}
}

@keyframes hidecontent {
	0% {opacity: 1; visibility: visible;}
	50% {opacity: 0;}
	100% {opacity: 0; visibility: hidden;}
}

@-webkit-keyframes naviconhint {
	0%,40% {top: -150px;}
	80%,85% {-moz-transform: scale(1.2); -webkit-transform: scale(1.2);-o-transform: scale(1.2); -ms-transform: scale(1.2);	transform: scale(1.2);}
	75%,100%  {top: 2%; -moz-transform: scale(1); -webkit-transform: scale(1);-o-transform: scale(1); -ms-transform: scale(1); transform: scale(1);}
}

@keyframes naviconhint {
	0%,40% {top: -150px;}
	80%,85%  {-moz-transform: scale(1.2); -webkit-transform: scale(1.2);-o-transform: scale(1.2); -ms-transform: scale(1.2); transform: scale(1.2);}
	75%,100%  {top: 2%; -moz-transform: scale(1); -webkit-transform: scale(1);-o-transform: scale(1); -ms-transform: scale(1); transform: scale(1);}
}

	/* MAIN */

main {
	display: block;
	padding: .6em;
	line-height: 120%;
	background-color: rgba(225,255,255,.93);
	color: #e1261c;
	-webkit-box-shadow: 2px 2px 12px 2px #921912;
	box-shadow: 5px 6px 16px 4px #921912;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

main img {
	display: block;
	width: 90%;
	margin: auto;
	margin-bottom: .5em;
	border: 1px #e1261c solid;
}

main ul {
	padding-left: 1.2em;
}

main li {
	margin-bottom: .4em;
}

h2, h3, hr {
	clear: both;
	font-weight: normal;
}

h2 {
	line-height: 1em;
	text-decoration: underline;
	margin-top: 1em;
}

h3 {
	text-transform: uppercase;
	margin-bottom: .2em;
	padding-top: .5em;
}

hr {
	border: 0;
	border-top: 4px #e1261c dotted;
	margin: 1.2em 0;
}

small {
	line-height: normal;
}

main label {
	display: block;
	margin-top: .8em;
}

input, textarea {
	font: inherit;
	padding: .4em;
	box-sizing: border-box;
	border: 1px #e1261c solid;
	background-color: rgba(255,255,255,.5);
	width: 98%;
	border-radius: 4px;
}

input:focus, textarea:focus {
	padding: 1.5em .4em;
}

footer {
	line-height: 1.5em;
}

code {
	display: block;
	border: 1px solid;
	padding: .5em;
	font-size: .75em;
	background-color: rgba(0,0,0,.8);
	color: #ccc;
	overflow-y: auto;
	white-space: nowrap;
}

	/* TRANSITION */

input, input:focus, textarea, textarea:focus {
	-webkit-transition: all 300ms ease;
	transition: all 300ms ease;
}

#youtube {
	position: relative;
	padding-bottom: 75%;
	padding-top: 30px; 
	height: 0; 
	overflow: hidden;
}

#profilbild {
	float: none;
	width: 75%;
	max-width: 280px;
	margin: 1em auto;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

footer {
	margin: 1.5em 0;
	text-align: center;
	word-spacing: .5em;
}

footer img {
	width: 15%;
}


	/* LANDSCAPE ORIENTATION */

@media (orientation: landscape) {

	body {
		font-size: 16pt;
	}

	header {
		padding-top: 12%;
	}
	
		header img:first-child {
		margin-bottom: 6%;
	}

	header img {
		width: 100px;
	}

	h1 {
	font-size: 28pt;
	}

	#navicon img {
		width: 120px;
		height: 99px;
	}

	nav ul li {
		width: 30%;
		padding-top: 1em;
		font-size: 18pt;
	}

	main {
		margin: auto;
		margin-bottom: 2em;
		width: auto;
		max-width: 1100px;
		padding: 2em;
	}

	main img {
		float: left;
		width: 20%;
		margin: 0 .8em .8em 0;
	}

	main ul {
		padding-left: 1.8em;
	}

	main li {
		margin-bottom: .4em;
	}

	#youtube {
		padding-bottom: 35%;
		width: 50%;
		margin: auto;
	}

	#profilbild {
		float: right;
		width: 280px !important;
	}

	footer img {
		width: 55px;
	}
}

 /* LANDSCAPE MOBILE */

@media (orientation: landscape) AND (max-width: 800px) {

	#navicon img {
		width: 80px;
		height: 66px;
	}

	nav ul li {
		width: 25%;
		padding-top: 0;
	}	
}