@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@600&display=swap');

:root {
	--col-white: #fff;
	--col-black: #333;
	--col-teal: #315850;

	--col-grey-100: #f4f5f2;
	--col-grey-200: #e9ebe6;
	--col-grey-300: #d9dbd5;
	--col-grey-400: #b8b9b4;
	--col-grey-500: #9a9b99;
	--col-grey-600: #767774;
	--col-grey-700: #6a6b67;
	--col-grey-800: #5d605a;
	--col-grey-900: #3f423c;

	--col-green-100: #eaffcd;
	--col-green-200: #dcf5b8;
	--col-green-300: #bef76e;
	--col-green-400: #a4ff1f;
	--col-green-500: #64a800;
	--col-green-600: #477703;
	--col-green-700: #395e03;
	--col-green-800: #365706;
	--col-green-900: #2b4405;

	--col-canvas: var(--col-grey-300);
	--col-header-bg: var(--col-white);
	--col-header-fg: var(--col-black);
	--col-header-link: var(--col-black);
	--col-header-border: var(--col-grey-500);
	--col-footer-bg: var(--col-black);
	--col-footer-fg: var(--col-grey-300);
	--col-footer-link: var(--col-white);
	--col-main-bg: var(--col-white);
	--col-main-fg: var(--col-grey-900);
	--col-codethink: var(--col-green-500);
	--col-codethink-bright: var(--col-green-400);
}

@media screen {
	html {
		text-rendering: geometricPrecision;
		background: var(--col-canvas);
		margin: 0;
	}
}
html {
	font-family: 'Open Sans', sans-serif;
}
html, body {
	margin: 0;
	padding: 0;
}
body {
	/* `vw` units don't always account for scrollbars, so the footer may
	 * overflow. If that happens, we don't want to see it. */
	overflow-x: hidden;
}
a:link,
a:visited,
a:active {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

header, footer {
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 0 36px;
	font-size: 14px;
	font-weight: 200;
}
header {
	display: flex;
	color: var(--col-header-fg);
	background: var(--col-header-bg);
}
header > nav > a {
	font-size: 16px;
	padding: 0px 18px;
	transition: 100ms ease-in-out all;
}
header nav a span {
	display: inline-block;
	padding: 0.25rem 0;
}
header a:link,
header a:visited,
header a:active {
	color: var(--col-header-link);
}
header nav a:hover {
	color: var(--col-green-800);
	text-decoration: none;
}
header nav a:hover span {
	box-shadow: 0 -2px 0 var(--col-codethink) inset;
}
header nav a.active span {
	box-shadow: 0 -4px 0 var(--col-codethink) inset;
}
header nav a.active:hover {
	color: var(--col-header-link)
}

footer {
	position: relative;
	color: var(--col-footer-fg);
	background: var(--col-footer-bg);
	/* An exception to the mostly fixed-size spacings, we need this top padding
	 * to be relative to the viewport width to keep consistency with the angled
	 * border. */
	padding: 2vw 36px 30px 36px;
	z-index: 200;
}
footer::before {
	content: '';
	border-color: transparent transparent var(--col-footer-bg) transparent;
	/* The bottom width is relative to the viewport width to keep the angle the
	 * same as the width increases. */
	border-width: 0 0 5vw 100vw;
	border-style: solid;
	display: block;
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	z-index: -1;
}
.angled-divider {
	background-color: var(--col-codethink);
	height: 100px;
	position: relative;
	z-index: 100;
}
.angled-divider::before {
	content: '';
	border-color: transparent transparent var(--col-codethink) transparent;
	/* The bottom width is relative to the viewport width to keep the angle the
	 * same as the width increases. */
	border-width: 0 0 5vw 100vw;
	border-style: solid;
	display: block;
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	z-index: -1;
}

footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
	color: var(--col-footer-link);
}
section#sitemap {
	display: flex;
	flex-flow: wrap;
	justify-content: space-between;
	align-items: center;
}
section#sitemap > nav {
	display: flex;
	align-items: baseline;
	justify-content: space-evenly;
	flex: 1 0 auto;
}
section#sitemap > nav > ul {
	padding: 0;
	list-style: none;
	margin: 10px 0;
}
section#sitemap > nav > ul > li {
	white-space: nowrap;
}

section#impressum {
	text-align: center;
}

h3 { -webkit-column-break-before: always; }

main {
	margin: 0;
	background: var(--col-main-bg);
	color: var(--col-main-fg);
}

#logo {
	height: 36px;
	margin: 24px 0;
}
#splash {
	padding: 200px 15% 30px 15%;
	margin: 0;
	background-position: center;
}
@media only screen and (max-width: 1024px) {
	#splash {
		padding: 150px 30px 30px 30px;
	}
}
.scene-darkgreen {
	background-color: var(--col-teal);
}

#emblem {
	height: 60px;
	margin: 16px 30px;
}
#competencies {
	margin: 0;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
}
#competencies > a {
	margin: 6px 0 6px 24px;
}

/*
 * Styling for the CTA section of the angled footer.
 *
 * Things to note:
 *   - The text is centred using flexbox, so adding more direct
 *     children to the CTA section will change how things are
 *     aligned and arranged.
 *   - The ::before psuedo-element is used to create the angled
 *     top part of the CTA to match the angled footer. This uses
 *     a border sized relative to the viewport width, hence `vw`
 *     units being used in the padding here, to keep the padding
 *     relative to the increasing height of the angled sections
 *     as the viewport width increases.
 */
#contact {
	background-color: var(--col-green-200);
	color: var(--col-green-600);
	padding: 1vw 15% 5vw 15%;
	display: flex;
	justify-content: space-around;
	position: relative;
	z-index: 100;
}
#contact::before {
	content: '';
	border-color: transparent transparent var(--col-green-200) transparent;
	/* The bottom width is relative to the viewport width to keep the angle the
	 * same as the width increases. */
	border-width: 0 0 5vw 100vw;
	border-style: solid;
	display: block;
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	z-index: -1;
}
#contact h3 {
	display: flex;
}
#contact a {
	color: var(--col-green-600);
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}
#contact a svg {
	width: 20px;
	height: 20px;
	margin: 0 6px 0 12px;
}
#contact a:first-of-type svg {
	margin: 0 6px 0 0;
}
#contact > #details > ul {
	list-style: none;
	font-size: 18px;
	padding: 0;
	font-weight: 600;
}

.visible-xs {
	display: none;
}
.hidden-xs {
	display: flex;
}

@media only screen and (max-width: 1024px) {
	.visible-xs {
		display: flex;
	}
	.hidden-xs {
		display: none;
	}
	header {
		flex-direction: column;
		padding: 0 12px;
	}
	header nav {
		display: flex;
		width: 100%;
		overflow-x: auto;
	}
	header > nav > a {
		padding: 0;
		flex: 1 0 auto;
	}
	section#sitemap {
		flex-direction: column-reverse;
	}
	section#sitemap > nav {
		display: flex;
		justify-content: space-evenly;
		width: 100%;
		text-align: center;
	}
	section#sitemap > nav > ul {
		flex: 1 0 0;
	}

	#contact {
		padding: 3vw 60px 7vw 60px;
	}

	main {
		margin-top: 90px;
	}
	header.visible-xs {
		height: 90px;
		position: absolute;
		width: 100%;
		top: 0;
		padding: 0;
	}
	header.visible-xs nav {
		position: absolute;
		height: 100vh;
		left: 0;
		width: 100%;
		pointer-events: none;
	}
	header.visible-xs:focus-within {
		position: fixed;
	}
	header.visible-xs nav .bg {
		position: absolute;
		top: 90px;
		right: 0;
		bottom: 0;
		left: 0;
		visibility: hidden;
		opacity: 0;
		transition: opacity 300ms ease-in-out;
		background-color: var(--col-grey-900);
	}
	header.visible-xs nav:focus-within .bg {
		visibility: visible;
		opacity: .6;
	}
	header.visible-xs nav .button {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		z-index: 1;
		-webkit-appearance: none;
		background: transparent;
		height: 90px;
		width: 30px;
		cursor: pointer;
		pointer-events: auto;
		padding: 0 25px;
		touch-action: manipulation;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
	}
	header.visible-xs nav .icon-bar {
		display: block;
		width: 100%;
		height: 3px;
		background: var(--col-codethink);
		transition: 300ms;
	}
	header.visible-xs nav .icon-bar + .icon-bar {
		margin-top: 5px;
	}
	header.visible-xs nav:focus-within .button {
		pointer-events: none;
	}
	header.visible-xs nav:focus-within .icon-bar:nth-of-type(1) {
		transform: translate3d(0,8px,0) rotate(45deg);
	}
	header.visible-xs nav:focus-within .icon-bar:nth-of-type(2) {
		opacity: 0;
	}
	header.visible-xs nav:focus-within .icon-bar:nth-of-type(3) {
		transform: translate3d(0,-8px,0) rotate(-45deg);
	}
	header.visible-xs nav #nav-content {
		display: flex;
		flex-direction: column;
		max-width: 300px;
		width: 300px;
		position: absolute;
		top: 90px;
		left: 0;
		bottom: 0;
		background-color: var(--col-header-bg);
		color: var(--col-header-fg);
		pointer-events: auto;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		transform: translateX(-100%);
		transition: transform 300ms;
		will-change: transform;
		contain: paint;
		overflow: auto;
	}
	header.visible-xs nav:focus-within #nav-content {
		transform: none;
	}
	#nav-content a {
		padding: 18px;
	}
}

@media only screen and (max-width: 768px) {
	section#sitemap {
		flex-direction: column-reverse;
		padding-top: 30px;
	}
	section#sitemap > nav {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	section#sitemap > nav > ul {
		flex: 1 0 0;
	}
	#contact h3 {
		flex-direction: column;
	}
	#contact a svg {
		margin: 0 6px 0 0;
	}
}

img {
}

/* Contacts page */

img.libuttoncontact{
    width:auto;
    height:29px;
}

img.twbuttoncontact{
    width:auto;
    height:29px;
}

#Privacy_Notice table{
  border-collapse: collapse;
  width: 100%;
  margin-left:auto;
  margin-right:auto;
  margin-bottom: 1em;
}
#Privacy_Notice table, th, td{
  border: 1px solid black;
  text-align: left;
  padding: 10px;
}

#Privacy_Notice th{
  text-align: center;
}

