body {
    max-width: 60em;
    background-colour: #999999;
    margin: 0 auto;
    padding: 10;
    align: center;
}

@ font-face {font-family: 'headfont'; src: url('myHead.eot'); src: url('myHead.otf');}
@ font-face {font-family: 'bodyfont'; src: url('myBody.eot'); src: url('myBody.otf');}
page { margin: 10em; }
p {font-family: bodyfont;}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	border: thin dotted;
}

nav li {
	list-style: none;
	margin: 0.5em;
	padding: 0;
	font-size: 1.5em;
}

@media (width > 45em) {
	nav ul {
		flex-direction: row;
	}
	nav li {
		flex: 1;
		font-size: 1em;
	}
}

nav a {
	display: block;
	padding: 0.4em;
	text-decoration: none;
	font-weight: bold;
	border: thin solid var(--background-color);
	border-radius: .5em;
	color: var(--accent1-color);
	background-color: var(--background-color);
	transition: all .25s ease-in;
}

[aria-current=page] {
	background: var(--accent2-color);
}

nav a:focus,
nav a:hover,
nav a:active {
	color: var(--background-color);
	background-color: var(--accent1-color);
}

:root {
	--background-color: midnightblue;
	--accent1-color: gold;
	--accent2-color: steelblue;
	--text-color: black;
}
/* Grundlayout für SELFHTML-Beispiele */

body {
	margin: 1em auto;
	max-width: 60em;
	font-family: sans-serif;
	color: #333333;
}

h1 {
	font-size: 1.5rem;
	position: relative;
	padding-left: 3em;
}

h1:before {
	position: absolute;
	left: 0;
	content: "";
	width: 2rem;
	border: thin solid transparent;
	aspect-ratio: 1/1;
	// background: url("https://wiki.selfhtml.org/images/4/45/SELF-Logo.svg") no-repeat;
	background-size: cover;
}

html {
	background: transparent!important;
	--blue: #337599;
	--green: #93b946;
	--red: #c82f04;
	--yellow: #dfac20;
	--lightblue: #d6e3eb;
	--lightgreen: #ebf5d7;
	--lightred: #ffebe6;
	--lightyellow: #f9eed2;
}

.hinweis {
	border-inline-start: thick solid var(--red);
	padding-inline-start: 1em;
}

kbd {
	background: #f9f9f9 linear-gradient(to bottom, #eee, #f9f9f9, #eee) repeat scroll 0 0;
	border: thin solid #aaa;
	border-radius: 2px;
	box-shadow: 1px 2px 2px #ddd;
	font-family: inherit;
	font-size: 0.9em;
	padding: 0 0.5em;
}



#a {
width: 500px;
-moz-box-orient: horizontal;
display: -moz-box;
-webkit-box-orient: horizontal;
display: -webkit-box;
}
#b {
-moz-box-flex: 1;
-webkit-box-flex: 1;
}
#c {
-moz-box-flex: 3;
-webkit-box-flex: 3;
}
#d {
-moz-box-flex: 1;
-webkit-box-flex: 1;
}



flex-container {
  display: flex;
  justify-content: center;

  flex-wrap: wrap;
  align-content: space-between;
  background-color: #010066;
}

flex-container>div {
  background-color: #f1f1f1;
  width: 40%
  height: auto
  margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 10px;
}

img { border: 0; }
top { align: right }



