/* Basis, die sich alle seiten teilen. */

:root
{
	--nav-height: 3rem;
	--border-data: solid 1px black;
	--min-whitespace: 5rem;
	--text-color: #111;
	--background-color: #eee;
	--line-height: 1.3rem;
}

html, body, main, button, nav, p, div, a, h1, h2, h3, span, img, canvas, figure, figcaption, footer, ul, li
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-size: 14px;
	font-family: 'Roboto';
	line-height: var(--line-height);
	hyphens: auto;
	-webkit-hyphens: auto;
	color: var(--text-color);
	background-color: var(--background-color);
	-webkit-overflow-scrolling: touch;
}

body
{
	height: 100%;
	width: 100%;
	position: fixed;

	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
}

a
{
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

header
{
	text-transform: uppercase;
	overflow-y: hidden;
}

header h1 a
{
	font-family: 'Roboto Condensed';
	font-size: 2rem;
	line-height: 1.1;
	hyphens: none;
	-webkit-hyphens: none;
}

#sidebar
{
	flex: 0 0 30rem;
	max-width: 30rem;

	display: flex;
	flex-flow: column nowrap;
	align-content: flex-start;

	padding: 2rem 1.7rem 0 2rem;
}

#sidebar > *
{
	flex: 0 1 auto;
	padding-right: 0.7rem;
	overflow-x: hidden;
}

#sidebar p
{
	scrollbar-width: none;
}

#sidebar p::-webkit-scrollbar
{
	display: none !important;
	width: 0 !important;
}

/* Trennlinien */
.seperator-below::after
{
	content: '';
	display: block;
	position: relative;
	width: 100%;
	margin: 1.3rem auto;
	height: 1px;
	background-color: var(--text-color);
}

#description p
{
	margin-bottom: 1rem;
	hyphens: manual;
	-webkit-hyphens: manual;
}


/* Impressum etc. */

#info-toggle
{
	opacity: 0;
	position: absolute;
	left: -1000px;
}

#info-toggle:checked ~ div
{
	display: block;
}

#info-toggle ~ div
{
	display: none;
}

#info label
{
	text-decoration: underline;
}

#info h2
{
	margin-top: 1rem;
}

ul
{
	list-style: none;
}

#logo-container
{
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: 50% 50%;
	align-items: end;
	grid-column-gap: 1rem;
	grid-row-gap: 1rem;
	height: auto;
}

#logo-container > *:first-child
{
	grid-area: 1 / 1 / 2 / 2;
}

#logo-container > *:nth-child(2)
{
	grid-area: 2 / 1 / 3 / 2;
}

#logo-container > *:nth-child(3)
{
	grid-area: 1 / 2 / 2 / 3;
}

#logo-container > *:last-child
{
	grid-area: 2 / 2 / 3 / 3;
}

#logo-container img
{
	display: block;
	width: 90%;
}

@media (max-width: 600px)
{
	html
	{
		overflow: scroll;
	}

	body
	{
		flex-wrap: wrap;
		overflow-y: scroll;
	}

	#sidebar
	{
		height: auto;
		max-width: initial;
	}

	#sidebar > *
	{
		padding-right: 0;
	}

	#sidebar, #c
	{
		flex: 1 0 100%;
	}

	#description p
	{
		hyphens: auto;
		-webkit-hyphens: auto;
	}

	#logo-container
	{
		display: block;
	}

	#logo-container p
	{
		margin-top: 1rem;
		margin-bottom: 2rem;
	}

	:not(body)
	{
		scrollbar-width: none;
	}

	:not(body)::-webkit-scrollbar
	{
		display: none !important;
		width: 0 !important;
	}

	#non-gekko-fix
	{
		display: none;
	}
}
