@font-face {
  font-family: 'Inconsolatazi';
  src: url('font.otf') format('opentype');
}

body {
	background-color: white;
	margin: 0;
	padding: 0;
}

* {
	box-sizing: border-box;
	font-family: 'Inconsolatazi';
	font-size: 1em;
	hyphens: auto; 
}

section {
	line-height: 1.5;
	margin: 0px 0px 50px 0px;
	padding-top: 25px;
	text-indent: 5px hanging;
}

section * {
	text-indent: 0px;
}

section img {
	border-radius: 5px;
	margin: 5px 0px;
	width: calc(100% - 5px);
}


#Impressum {
	height: 100vh;
}

iframe {
	border-radius: 5px;
	width: calc(100% - 5px);
}

ul {
	padding-left: 15px;
}

li {
	list-style: square;
	padding: 3px 0px;
}

sup {
	font-size: 0.5em;
}

h1 {
	font-size: 1.5em;
	font-weight: normal;
	background-color: #515660;
	border-radius: 5px;
	color: white;
	display: inline-block;
	margin: 20px 00px 0px 00px;
	padding: 10px 10px;
	text-align: justify;
	position: relative;
	left: -5px;
}

h2 {
	background-color: #dddddd;
	border-radius: 5px;
	color: black;
	display: inline-block;
	font-weight: bold;
	margin: 0px;
	padding: 0px 5px;
}

.ls, .rs {
	background-color: #dddddd;
}

.rs {
	box-shadow: 10px 0px 30px #999999 inset;
}

.ls {
	box-shadow: -10px 0px 30px #999999 inset;
}

.shadowTop {
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
	height: 15px;
	margin: 0px;
	position: sticky;
	top: 0;
	width: calc(100% + 5px);
	z-index: 1;
}

.shadowBottom {
	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
	bottom: 0px;
	height: 15px;
	margin: 0px;
	position: sticky;
	width: calc(100% + 5px);
	z-index: 2;
}

.na a {
	background-color: #dddddd;
	border: 0px;
/*
	border-radius: 5px;
*/
	color: black;
	display: inline-block;
	margin: 1px;
	overflow: clip;
	padding: 5px;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nav1 a:first-child {
	border-radius: 5px 5px 0px 0px;
}

.nav1 a:last-child {
	border-radius: 0px 0px 5px 5px;
}

.na a:hover {
	background-color: black;
	color: white;
}

@media only screen and (max-width: 15cm) {

	.container {
		column-gap: 0cm;
		display: grid;
		grid-template-columns: auto minmax(100px, 10%) minmax(20%, 90%) auto;
		grid-template-rows: max-content auto;
		height: 100vh;
		padding: 0px;
		row-gap: 0cm;
	}

	.ls {
		grid-column: 1 / 2;
		grid-row: 1 / 3;
	}

	.rs {
		grid-column: 4 / 5;
		grid-row: 1 / 3;
	}

	.lo {
		background-color: white;
		box-shadow: 20px 5px 30px -5px lightgrey;
		border-top-right-radius: 5px;
		grid-column: 2 / 3;
		grid-row: 1 / 2;
		height: 100%;
		padding: 5px;
		position: sticky;
		text-align: center;
		top: 0;
		z-index: 1;
	}

	.lo img {
		width: 90%;
	}

	.na {
		align-content: center;
		background-color: white;
		grid-column: 3 / 4;
		grid-row: 1 / 2;
		overflow-x: auto;
		padding-left: 10px;
		padding-right: 10px;
		position: sticky;
		text-align: right;
		top: 0;
	}

	.na a {
	}

	.na > div {
	}

	.nav1 {
		display: none;
	}

	.nav2 {
		display: initial;
	}

	.na select {
		background-color: #dddddd;
		border: 0px;
		border-radius: 5px;
		color: black;
		margin: 1px;
		max-width: 40%;
		overflow: clip;
		padding: 5px;
		text-decoration: none;
		text-overflow: ellipsis;	
		white-space: nowrap;
	}

	.ma {
		grid-column: 2 / 4;
		grid-row: 2 / 3;
		overflow-y: auto;
		overflow-x: clip;
		padding: 0px 10px 0px 5px;
		z-index: 2;
		scroll-behavior: smooth;
	}
}

@media only screen and (min-width: 15cm) {

	.container {
		column-gap: 0cm;
		display: grid;
		grid-template-columns: auto minmax(2cm, 5.5cm) minmax(5cm, 20cm) auto;
		grid-template-rows: auto 1fr;
		height: 100vh;
		padding: 0px;
		row-gap: 0cm;
	}

	.ls {
		grid-column: 1 / 2;
		grid-row: 1 / 3;
	}

	.rs {
		grid-column: 4 / 5;
		grid-row: 1 / 3;
	}

	.lo {
		background-color: white;
		box-shadow: 10px 50px 30px 0px lightgrey;
		grid-column: 2 / 3;
		grid-row: 1 / 2;
		max-height: max-content;
		padding: 10px;
		position: sticky;
		text-align: center;
		top: 0;
	}

	.lo img {
		width: 90%
	}

	.na {
		background-color: white;
		grid-column: 2 / 3;
		grid-row: 2 / 3;
		overflow-y: auto;
		padding: 0px 15px;
		position: sticky;
		width: 100%;
	}

	.na a {
		width: 100%;
	}

	.na > div {
		width: 100%;
	}

	.nav1 {
		display: initial;
	}

	.nav2 {
		display: none;
	}
	
	.ma {
		grid-column: 3 / 4;
		grid-row: 1 / 3;
		margin: 20px 10px 10px 10px;
		overflow-y: auto;
		overflow-x: clip;
		padding-bottom: 0px;
		padding-right: 10px;
		padding-left: 10px;
		scroll-behavior: smooth;
	}
}
