﻿
html, body {
	font-family: "Bahnschrift Condensed";
	background: url('../images/demo_bg.png') fixed;
	font-family: "Bahnschrift Condensed";
}
h1, h2 {
	line-height: 1;
}
h1 {
	position: relative;
	left: 0;
	top: 5px;
	color: #333;
	font-size: 32px;
	font-weight: 400;
	margin: 0;
	text-shadow: 1px 2px 3px #777;
	text-align: center;
	font-family: "Bahnschrift Condensed";
}
h1 span {
	color: orange;
	text-transform: uppercase;
}
h2 {
	position: relative;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: bold;
	text-align: left;
	color: #222;
	margin: 0 30px 20px 30px;
	border-bottom: 1px solid #222;
	padding: 5px 0;
}
h2:before {
	position: absolute;
	content: "";
	top: -5px;
	left: -45px;
	width: 0;
	height: 0;
	border-right: 20px solid transparent;
	border-left: 20px solid #fff;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
}
h3 {
	font-size: 20px;
	font: 100% Bahnschrift;
}
h4 {
	font-size: 14px;
}
h5 {
	font-size: 20px;
	font-weight: bold;
	margin: 0;
}
p {
	line-height: 1;
	font: 100% "Bahnschrift Condensed", Bahnschrift;
	font-family: "Bahnschrift Condensed", Bahnschrift;
	font-size: 24px;
}
code {
	font-family: "Bahnschrift Condensed", Bahnschrift;
	font-size: 12px;
	line-height: 14px;
}
code span {
	font-size: 14px;
	font-weight: bold;
}
#wrapper {
	width: 900px;
	margin: 0 auto;
}
#pagewidth, #pagewidth_wide {
	position: relative;
	top: 30px;
	font-size: 14px;
	text-align: center;
	line-height: 1.5;
	width: 950px;
	margin: 20px auto 60px auto;
}
#pagewidth_wide {
	width: 1200px;
}
#content {
font-family:Bahnschrift;
	position: relative;
	background: #eee;
	margin: 20px auto 20px auto;
	padding: 30px 20px 20px 20px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-webkit-box-shadow: 0 2px 15px #ccc, inset 0 0 5px 10px #fff;
	-moz-box-shadow: 0 2px 15px #ccc;
	box-shadow: 0 2px 15px #ccc, inset 0 0 5px 10px #fff;
	z-index: 1;
}
#links {
	margin: 0 auto 20px auto;
}
#links li {
	text-align: left;
	margin: 5px 0 5px 40px;
}
.code {
	position: relative;
	color: #000;
	background: url('../images/paper.jpg') left top;
	margin: 20px auto 40px auto;
	width: 700px;
	padding: 15px 30px 15px 15px;
	text-align: left;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: inset 2px 2px 5px #888;
	-moz-box-shadow: inset 2px 2px 5px #888;
	box-shadow: inset 2px 2px 5px #888;
	overflow: hidden;
}
.code:after {
	position: absolute;
	top: 20px;
	right: -50px;
	width: 150px;
	height: 25px;
	line-height: 25px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	content: "CSS";
	background: rgb(255,168,76);
	background: -moz-linear-gradient(top, rgba(255,168,76,1) 0%, rgba(255,123,13,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,168,76,1)), color-stop(100%,rgba(255,123,13,1)));
	background: -webkit-linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%);
	background: -o-linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%);
	background: -ms-linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%);
	background: linear-gradient(top, rgba(255,168,76,1) 0%,rgba(255,123,13,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa84c', endColorstr='#ff7b0d',GradientType=0 );
	text-align: center;
	-webkit-box-shadow: 0 1px 5px #444;
	-moz-box-shadow: 0 1px 5px #444;
	box-shadow: 0 1px 5px #444;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.code_html {
	position: relative;
	color: #000;
	background: url('../images/paper.jpg') left top;
	width: 700px;
	margin: 20px auto;
	padding: 15px 30px 15px 15px;
	text-align: left;
	-webkit-border-radius: 10px; /* Saf3.1+, Chrome */;
	-moz-border-radius: 10px; /* FF3.5+ */;
	border-radius: 10px;
	-webkit-box-shadow: inset 2px 2px 5px #888; /* Saf3.1+, Chrome */;
	-moz-box-shadow: inset 2px 2px 5px #888; /* FF3.5+ */;
	box-shadow: inset 2px 2px 5px #888;
	overflow: hidden;
}
.code_html:after {
	position: absolute;
	top: 20px;
	right: -50px;
	width: 150px;
	height: 25px;
	line-height: 25px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	content: "HTML";
	background: rgb(204,0,0);
	background: -moz-linear-gradient(top, rgba(204,0,0,1) 0%, rgba(86,0,0,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(204,0,0,1)), color-stop(100%,rgba(86,0,0,1)));
	background: -webkit-linear-gradient(top, rgba(204,0,0,1) 0%,rgba(86,0,0,1) 100%);
	background: -o-linear-gradient(top, rgba(204,0,0,1) 0%,rgba(86,0,0,1) 100%);
	background: -ms-linear-gradient(top, rgba(204,0,0,1) 0%,rgba(86,0,0,1) 100%);
	background: linear-gradient(top, rgba(204,0,0,1) 0%,rgba(86,0,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc0000', endColorstr='#560000',GradientType=0 );
	text-align: center;
	-webkit-box-shadow: 0 1px 5px #444;
	-moz-box-shadow: 0 1px 5px #444;
	box-shadow: 0 1px 5px #444;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
#top a {
	text-align: center;
	width: 100%;
	margin: 10px 0;
	text-decoration: none;
	color: #333;
}
#top a:hover {
	text-decoration: none;
	color: #111;
}
#info {
	background: rgba(255,255,255,.40);
	box-shadow: 0 0 10px #aaa;
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	margin: 0 auto;
	z-index: 2;
	-webkit-animation: logo 3s linear;
	-moz-animation: logo 3s linear;
	animation: logo 3s linear;
}
#info .wrapper {
	position: relative;
	padding: 0;
	margin: 0 10px;
	color: #000;
}
#info .wrapper p {
	margin: 0 0 8px 0;
}
#info .wrapper .nav {
	float: left;
	margin: 5px;
	width: 100%;
	font-size: 12px;
	text-transform: uppercase;
}
#info .wrapper .nav a {
	color: #000;
	text-decoration: none;
}
#info .wrapper .nav .links {
	float: left;
	width: 30%;
}
#info .wrapper .nav .mitte {
	float: left;
	width: 39%;
	text-align: center;
}
#info .wrapper .nav .mitte span {
	font-weight: bold;
}
#info .wrapper .nav .rechts {
	float: left;
	width: 30%;
	text-align: right;
}
@-webkit-keyframes logo {
	0% { top: -80px; }
	50% { top: -80px; }
	100% { top: 0; }
}
@-moz-keyframes logo {
	0% { top: -80px; }
	50% { top: -80px; }
	100% { top: 0; }
}
@keyframes logo {
	0% { top: -80px; }
	50% { top: -80px; }
	100% { top: 0; }
 {
	background: transparent;
	border-color: transparent;
}

#gallery {
	position: relative;
	margin: 0;
	background: none;
	border: none;
}

#gallery figure {
	position: absolute;
	display: inline-block;
	top: 0;
	left: 2em;
	z-index: 1;
	animation: wechseln 30s infinite;
}

#gallery figure:last-of-type {
	position: relative;
}

#gallery > figure figcaption {
	position: absolute;
	left: 1em;
	font-size: 2em;
	font-weight: bold;
	bottom: 0.5em;
	z-index: 2;
	color: white;
}

@keyframes wechseln {
	0% {
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	60% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

#gallery figure:nth-of-type(2) {
	animation-delay: 5s;
	opacity: 0;
}

#gallery figure:nth-of-type(3) {
	animation-delay: 10s;
	opacity: 0;
}

