@font-face {
	font-family: "Handlee-Regular";
	src: url("Handlee-Regular.ttf") format("truetype");
}

body {
	/*font-family: "Vollkorn", "Droid Serif", "Noto Serif", serif;*/
	font-family: "Handlee-Regular", cursive;
	margin: 0px;
	color: Black;
	background-color: LightCoral;
	background-image: url("img/background.jpg");
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

menu {
	display: -ms-grid;
	display: grid;
	max-width: 50rem;
	width: 80%;
	min-height: 100vh;
	padding: 0px;
	margin: 0px auto;
	-ms-grid-columns: 2fr 1fr;
	grid-template-columns: 2fr 1fr;
	//-ms-grid-rows: 24rem (1fr)[10];
	//grid-template-rows: 24rem repeat(10, 1fr);
	font-family: "Handlee-Regular", cursive;
}

menu div {
	text-align: center;
	margin: 0.5rem;
	padding: 0.5rem;
	font-size: 2em;
	-webkit-transition: 0.2s;
	-o-transition: 0.2s;
	transition: 0.2s;
	background-color: white;
	border-radius: 0.3rem;
}

menu div.link:hover {
	-webkit-box-shadow: 5px 5px 5px grey;
	box-shadow: 5px 5px 5px grey;
	margin: 0.2rem;
	padding: 0.8rem;
}

menu div a {
	display: block;
	height: 100%;
}

menu div img {
	height: 2.5em;
}

menu div.kinder {
	background-color: lightcyan;
}

menu div.erwachsene {
	background-color: papayawhip;
}

#schloss {
	-ms-grid-column: 1;
	grid-column-start: 1;
	-ms-grid-row: 2;
	grid-row-start: 2;
	-ms-grid-row-span: 11;
	grid-row-end: 12;
	background-image: url("img/schloss.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom center;
}

#schloss p {
	/*margin: 0em 0.5em;*/
	margin: 2em;
	font-size: 0.8em;
	/*font-style: italic;*/
}

#logo {
	-ms-grid-column: 1;
	grid-column-start: 1;
	-ms-grid-column-span: 2;
	grid-column-end: 3;
	-ms-grid-row: 1;
	grid-row-start: 1;
	font-size: 3rem;
}

#logo img {
	max-width: 80%;
	max-height: 2em;
}

p {
	text-align: justify;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	margin-left: 0px auto;
}

div.kurs {
	padding: 0 0.5em;
	margin: 0 0.5em;
	border-left: 1px solid black;
}

ul {
	max-width: 20rem;
	margin: auto;
	text-align: left;
}

p.center {
	text-align: center;
}

section.img1, section.img2, section.img3, section.img4, section.img5, section.img6, section.img7 {
	height: 30vh;
	padding: 0px;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center center;
}

section.img1, section.img2, section.img3, section.img4, section.img6, section.img7 {
	background-size: auto 75vh;
}

section.img5 {
	background-size: 30em auto;
}

section.img1 {
	background-image: url("img/break1.png");
}

section.img2 {
	background-image: url("img/break2.png");
}

section.img3 {
	background-image: url("img/break3.png");
}

section.img4 {
	background-image: url("img/break4.png");
}

section.img5 {
	background-image: url("img/break5.png");
}

section.img6 {
	background-image: url("img/break6.png");
}

section.img7 {
	background-image: url("img/break7.png");
}

section.break {
	height: 2em;
}

menu a, header a {
	text-decoration: none;
	color: Black;
}

section.text {
	border-radius: 0.3rem;
	padding: 1em 2em;
	margin: auto;
	background-color: white;
	max-width: 30em;
}

/*
section:nth-child(even) {
	background-color: white;
}
*/

header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: baseline;
	-ms-flex-align: baseline;
	align-items: baseline;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	background-color: white;
	font-family: "Handlee-Regular", cursive;
	font-size: 1.7em;
}

header a, header span {
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
}

header h1 {
	white-space: nowrap;
	-webkit-box-flex: 3;
	-ms-flex-positive: 3;
	flex-grow: 3;
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
}

header a {
	color: gray;
	-webkit-transition: 0.2s;
	-o-transition: 0.2s;
	transition: 0.2s;
}

header a:hover {
	color: black;
}

header span {
	text-align: right;
	color: grey;
}

article {
	margin-top: 4em;
	padding: 2rem 5%;
}

h1 {
	margin: 0px;
	font-size: 1.7em;
	font-weight: normal;
	/*text-transform: uppercase;*/
	font-family: "Handlee-Regular", cursive;
	text-align: center;
}

h2 {
	margin: 0px;
	font-size: 1.5rem;
	font-weight: normal;
	/*text-transform: uppercase;*/
	font-family: "Handlee-Regular", cursive;
	text-align: center;
}

h3 {
	margin: 0px;
	/*margin-bottom: -0.5em;*/
	font-size: 1.2em;
	font-weight: bold;
	font-family: "Handlee-Regular", cursive;
}

h4 {
	margin: 0px;
	font-size: 1em;
	font-weight: bold;
	font-family: "Handlee-Regular", cursive;
}

img.portrait {
	max-height: 80vh;
	max-width: 100%;
	display: block;
	padding-bottom: 1em;
	margin: auto;
}

section.impressum {
	font-size: 0.8rem;
	text-align: center;
}

p.footnote {
	font-size: 0.8rem;
	text-align: right;
}

form {
	text-align: right;
}

form input {
	margin: 0.2em 0;
}

fieldset {
	border: none;
}

img.vorschau {
	max-width: 7em;
	height: auto;
	vertical-align: middle;
	margin-bottom: 4px;
}

#Foto {
	visibility: hidden;
	margin: 0;
	padding: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

#Fotos {
	text-align: center;
}

#Foto:target {
	visibility: visible;
}

i.fotonav {
	color: white;
	font-size: larger;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.7);
	padding: 0px 10px;
	font-size: 2em;
	font-style: normal;
}

i.fotonavleft {
	left: 0;
}

i.fotonavright {
	right: 0;
}

@media screen and (max-width: 1000px) {
	menu {
		//-ms-grid-rows: 17rem (1fr)[8];
		//grid-template-rows: 17rem repeat(8, 1fr);
	}

	menu div, #logo, header {
		font-size: 2em;
	}

	header span {
		display: none;
	}

	header a {
		-webkit-box-flex: 0;
		-ms-flex-positive: 0;
		flex-grow: 0;
	}
}

@media screen and (max-width: 700px) {
	menu {
		//-ms-grid-rows: 10rem (1fr)[8];
		//grid-template-rows: 10rem repeat(8, 1fr);
	}

	menu div, #logo, header {
		font-size: 1em;
	}

	#schloss p {
		font-size: 1em;
	}
}
