:root {					--galerie-height: 400px;
						--galerie-picture-width: 620px;
						--galerie-color: #ccc;
						--kontrollhintergrund: yellow}

* { margin: 0px; padding: 0px}
html { text-align: center}
body {
	background-color: grey;
	background-image: url("../bilder/ich5.png");
	background-position: top center;
	background-size: 420px 571px;
	background-repeat: no-repeat;
	background-attachment: fixed;
	margin: auto;
	padding: 2px;
	font-size: 100%;
	margin: 10px auto;
	max-width: 150em;
	font-family: sans-serif;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-areas:	"head head" "nav  nav " "main main" "foot foot" "side side"}
header, main, nav, section, side, footer { margin: 5px}
header { grid-area: head}
nav { grid-area: nav}
section { grid-area: main}
side { grid-area: side}
footer { grid-area: foot}
a { color: white; font-style: bold}
a:hover { color: red}

.t_1z1 { grid-area: t_1z1} .t_1z2 { grid-area: t_1z2} .t_1z3 { grid-area: t_1z3} .t_1z4 { grid-area: t_1z4} .t_1z5 { grid-area: t_1z5}
.t_2z1 { grid-area: t_2z1} .t_2z2 { grid-area: t_2z2} .t_2z3 { grid-area: t_2z3} .t_2z4 { grid-area: t_2z4} .t_2z5 { grid-area: t_2z5}
.t_3z1 { grid-area: t_3z1} .t_3z2 { grid-area: t_3z2} .t_3z3 { grid-area: t_3z3} .t_3z4 { grid-area: t_3z4} .t_3z5 { grid-area: t_3z5} .t_3z6 { grid-area: t_3z6} .t_3z7 { grid-area: t_3z7}
.t_4z1 { grid-area: t_4z1} .t_4z2 { grid-area: t_4z2} .t_4z3 { grid-area: t_4z3} .t_4z4 { grid-area: t_4z4} .t_4z5 { grid-area: t_4z5} .t_4z6 { grid-area: t_4z6} .t_4z7 { grid-area: t_4z7}
.zzzzz { grid-area: zzzzz}
.yyyyy {
	height:700px;
	width:1px;
	margin:2px;
	float:left;
	border:1px solid;
	border-color:#ffffff;
	grid-area: yyyyy}
.header {
	border-radius: 0 15px 15px 15px;
	font-size: 500%;
	font-weight: bold;
	color: white}
.section {
/*	background-color: var(--kontrollhintergrund);	*/
	min-height: var(--galerie-height);
	text-align: right;
	color: white}
.footer { color: white}
.liste { grid-area: liste; list-style: none; padding: 0px 5px 0px 5px}
.button, .button2, .button3, .empty {
	width: 130px;
	background-image: url("../bilder/durchsichtiges-grau.png");
	margin: 1px;
	padding: 0px 5px 0px 5px;
	border: 2px solid;
	border-radius: 0 15px 15px 15px;
	text-align: left;
	color: white}
.button2 { width: 150px; text-align: right;	background-color: blue}
.button3 { text-align: right; border-radius: 15px 0 15px 15px;color: red}
.button:hover { width: 150px; background-color: green; text-align: right; cursor: pointer}
.button3:hover { background-color: blue; text-align: left; cursor: pointer}
.hidden { visibility: hidden}
.re {
	display: grid;
	grid-template-columns: 1fr 200px;
	grid-template-areas: ". liste"
	padding-right: 1px;
	text-align: right}
.gedanken { left: 870px}
.mich { text-align: right; color: white}
/* ----------------------------------------Urlaub 2018---------------------------------------*/
.galerie {
	position:relative;
	margin:0.1em auto; padding:8px;
	width:700px; height:var(--galerie-height);
	background:var(--galerie-color);
	overflow:hidden}
.bild {
	float:left;
	left:8px; top:8px;
	width:var(--galerie-picture-width); height:var(--galerie-height);
	background:var(--galerie-color);
	font:normal 0.9em Arial,sans-serif;
	text-align:center}
.bildliste {
	display:block;
	width:80px; height:var(--galerie-height);
	float:right;
	overflow:auto;
	background-color:var(--galerie-color)}
.bildliste div {
	display:block;
	margin:0 0 0 5px; padding:0 0 0 0;
	text-decoration:none}
.bildliste span {
	position:absolute;
	left:-9999px;
	text-align:center;
	overflow:hidden}
.bildliste div img {
	margin: 0 auto;
	width:50px;
	border:1px solid black}
.bildliste div span img { border:none}
.bildliste div:hover span {	left:8px; top:8px;
	width:var(--galerie-picture-width); height:var(--galerie-height);
	background:var(--galerie-color)}
.bildliste .land img { margin:2px 0;
	width:var(--galerie-picture-width);
	border:none}
.bildliste .port img { margin:2px 0;
	width:auto; height:var(--galerie-height);
	border:none}
/* ----------------------------------------Lebenslauf----------------------------------------*/
.leben {
	text-align: left;
	display: grid;
	grid-row-gap: 20px;
	grid-column-gap: 20px;
    grid-template-columns: 80px 1fr;
	grid-template-areas:	"t_1z1 t_2z1" "t_1z2 t_2z2"	"t_1z3 t_2z3" "t_1z4 t_2z4" "t_1z5 t_2z5" "zzzzz zzzzz"
							"t_3z1 t_4z1" "t_3z2 t_4z2" "t_3z3 t_4z3" "t_3z4 t_4z4"	"t_3z5 t_4z5" "t_3z6 t_4z6"	"t_3z7 t_4z7"}

/* ----------------------------------------Lebenslauf----------------------------------------*/

@media (min-width: 30em) {
	body {
		grid-template-columns: 185px repeat(2, 1fr)
		grid-template-areas:	"head head head" "nav  main main" "nav  main main" "foot foot foot"	"side side side"}
}

@media (min-width: 35em) {
	body {
		grid-template-columns: 185px repeat(2, 1fr) 100px;
		grid-template-areas:	"head head head side" "nav  main main side" "nav  main main side" "foot foot foot foot"}
	side { visibility: visible}
	.leben {
		grid-template-columns: 80px 1fr 80px 3fr;
		grid-template-areas:	"t_1z1 t_2z1 yyyyy t_3z1 t_4z1" "t_1z2 t_2z2 yyyyy t_3z2 t_4z2" "t_1z3 t_2z3 yyyyy t_3z3 t_4z3"
								"t_1z4 t_2z4 yyyyy t_3z4 t_4z4" "t_1z5 t_2z5 yyyyy t_3z5 t_4z5" ". . yyyyy t_3z6 t_4z6" ". . yyyyy t_3z7 t_4z7"}
	.yyyyy { visibility: visible}
	.xxxxx { visibility: hidden}
}
