/* Allgemeines */
:root {
	--accent: green;
	--off-white: #fffcf2;
}



body {
	background: no-repeat fixed url("/i/backgrounds/forest.jpg");
	background-size: cover;
	text-align: justify;
	font-family: sans-serif;
}

#div_entire {
	max-width: 60%;
	margin: auto;

	border: 4px solid var(--accent);
	background: var(--off-white);
	padding: 16px;
}

/* Kopfzeile */
header {
	text-align: center;
}

#a_skip_link {
	background-color: #fff;
	position: absolute;
	padding: 0.2em;
	display: block;
}

#a_skip_link:not(:focus):not(:active) {
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden; white-space: nowrap;
	width: 1px;
}

#img_logo {
	max-height: 10em;
	max-width: 100%;
}

#list_header_nav {
	background: var(--accent);
}

#list_header_nav li {
	display: inline;
}

#list_header_nav li a {
	color: var(--off-white);
	text-decoration: none;
	padding: 1rem;
}

footer p, footer a {
	background: var(--accent);
	color: var(--off-white);
	text-decoration: none;
}

/* Hauptbereich */

#div_content {
	display: flex;
	gap: 3em;
	flex-flow: row nowrap;
	justify-content: space-between;
}

main {
	flex: 70%;
}

#fig_face {
	float: right;
	margin: 0px 0px 0px 32px;
}

#fig_face img {
	max-height: 10em;
	border: 4px solid var(--accent);
	border-radius: 15px;
}

#fig_face figcaption {
	text-align: center;
	font-size: 0.6em;
	font-style: italic;
}

/* Seitenleiste */
#nav_sidebar {
	background: var(--accent);
	color: var(--off-white);
	text-align: center;
	padding: 1em;
}

#ul_intrapage_nav {
	list-style: none inside;
	padding: 0px;
}

#ul_intrapage_nav a {
	color: var(--off-white);
}


/* Strukturelemente */
summary {
  padding: 4px;
  background-color: #eeeeee;
  border: none;
  box-shadow: 1px 1px 2px #bbbbbb;
  cursor: pointer;
}

details > p {
  background-color: #eeeeee;
  padding: 4px;
  margin: 0;
  box-shadow: 1px 1px 2px #bbbbbb;
}

/* In-Text-Elemente */
h1, h2 {
	text-align: center;
}

a {
	color: var(--accent);
}

dt {
	font-weight: bold;
	color: var(--accent)
}

.inl_centred {
	text-align: center;
}


/* Responsive Format */
@media screen and (max-width: 930px) {
	#div_entire {
		max-width: 90%;
		 /* Stretch the page over the whole screen */
	}
	#div_content {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		 /* Prepare the main container to wrap around its content */
	}
	#list_header_nav li {
		display: block;
		padding: 0.2rem;
		 /* Make the main navigation links on top stack vertically */
	}
	#nav_sidebar, main {
		flex-direction: column;
		flex-grow: 1;
		/* Tuck the sidebar underneath the content */
	}
}

