body {
	margin: 0 0 3em 0;
	background-color: #AADDFF;
	font-family: sans-serif;
	font-size: 18px;
}

a:link {
	color: #440000;
}

a:visited {
	color: #440000;
}

a:hover {
	color: black;
}

aside {
	float: right;
	margin-left: 1.5em;
	width: 200px;
}

aside img {
	margin-bottom: 1.5em;
}

main {
	background-color: #FFFF88;
	border-style: solid;
	border-color: #551111;
	border-width: 0 3px 3px 3px;
	color: #511511;
	margin: 0 auto;
	max-width: 850px;
	overflow: auto;
	padding: 1.5em;
}

main p {
	line-height: 1.3em;
	margin: 1.5em 0;
}

img {
	border-width: 0;
}

h1 {
	color: black;
}

nav {
	margin-bottom: 40px;
}

nav ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.rahmenbunt {
	border-style: solid;
	border-width: 1px;
	border-top-color: #00FF00;
	border-left-color: #FF0000;
	border-right-color: black;
	border-bottom-color: #0000FF;
}

#logo {
	display: block;
	max-width: 300px;
	width: 100%;
	height: auto;
	margin: 1em auto 2em auto;
}

#gallery {
	background: rgba(0, 0, 0, 0.8);
	bottom: 0;
	display: flex;
	flex-direction: column;
	left: 0;
	justify-content: center;
	position: fixed;
	right: 0;
	top: 0;
}

#gallery[hidden] {
	display: none;
}

#gallery img {
	border: 2px solid #FFFFFF;
	max-width: 800px;
	width: 100%;
}

#gallery .dialog {
	background: black;
	border: 2px solid white;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	max-height: 670px;
	max-width: 824px;
	padding: 1em;
	width: 100%;
}

#gallery .menu {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	margin-bottom: 1em;
}

#gallery .menu a {
	color: white;
	text-decoration: none;
	width: max-content;
}

#gallery .menu a:hover {
	text-shadow: 0 0 2px white;
}

#gallery .menu a:not([href]) {
	color: #888888;
	cursor: not-allowed;
}

.gallery {
	column-gap: 1.5em;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	row-gap: 1.5em;
}

.gallery img {
	flex: 1 1 225px;
	height: auto;
}

@media (max-width: 600px) {
	aside {
		display: block;
		float: none;
		margin: 0;
		width: 100%;
	}
	body {
		margin: 0;
	}
}
