body {
	display: flex;
	flex-flow: row wrap;
	background: #9BB1AB;
}
/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */

header,
nav,
nav a,
article,
section,
aside,
footer {
	border-radius: 0px 0.5em 0.5em;
	border: 1px solid;
	padding: 10px;
	margin: 10px;
	flex: 1 100%;
}

nav,
nav ul,
nav li {
	margin: 0;
	padding: 0;
	border: none;
}

nav ul {
	display: flex;
	flex-direction: column;
}

nav li {
	list-style-type: none;
	margin: .3em 0;
	flex: 1 1 100%;
}

nav a {
	display: inline-block;
	width: 85%;
	background: #fffbf0;
	border: 1px solid #dfac20;
	margin: 0;
	text-decoration: none;
	text-align: center;
}

nav a:hover {
	background-color: #dfac20;
}

section {
	background: #F1F3F4;
	border-color: slateblue;
}

article {
	background: #9BB1AB;
	border-color: #9BB1AB;
}

aside {
	background: #ebf5d7;
	border-color: #8db243;
}

footer {
	background: #e4ebf2;
	border-color: #8a9da8;
	display: flex;
	flex-flow: row wrap;
}

footer * {
	flex: 1 1 0;
	justify-content: space-between;
}

footer p {
	text-align: right;
}
/* Smart Phones und Tablets mit mittlerer Auflösung */

@media all and (min-width: 35em) {
	article {
		order: 2;
	}
	nav {
		flex: 1 auto;
		order: 3;
	}
	aside {
		/* durch auto werden die beiden asides in eine Zeile gesetzt */
		
		flex: 1 auto;
		order: 4;
	}
	footer {
		order: 5;
	}
}
/* Large screens */

@media all and (min-width: 50em) {
	article {
		/* Der Article wird 3x so breit wie die beiden asides! */
		
		order: 3;
		flex: 3 1 0;
	}
	nav {
		flex: 1 1 0;
	}
	aside {
		flex: 1 1 0;
		order: 4;
		align-self: center;
		height: 200px;
	}
}

h1 {
	background: transparent;
	border: none;
	padding-left: 0;
	text-align: center;
}


@media all and (max-width: 45em) {
	header {
		height: 120px;
	}
}

@media all and (max-width: 30em) {
	header {
		height: 90px;
	}
}

article .panorama {
	width: 100%;
}

article img.rechts {
	float: right;
	margin: 0 0 0.5em 0.5em;
}
