@charset "utf-8";

@font-face {
	font-display: swap;
	font-family: 'Roboto Slab';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/roboto-slab-v34-latin-regular.eot');
	src: url('../fonts/roboto-slab-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-slab-v34-latin-regular.woff2') format('woff2'), url('../fonts/roboto-slab-v34-latin-regular.woff') format('woff'), url('../fonts/roboto-slab-v34-latin-regular.ttf') format('truetype'), url('../fonts/roboto-slab-v34-latin-regular.svg#RobotoSlab') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/roboto-v30-latin-regular.eot');
	src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

:root {
	font-size: 16px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #000;
	font-family: 'Roboto Slab', Arial, serif;
	font-size: .937rem;
	line-height: 1.431em;
	font-weight: 400
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	border: none;
	padding: 0.5rem 0;
	background-color: #fff;
	overflow: hidden;
}

:is(a:link, a:visited, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

a:hover {
	text-decoration: underline;
}

p {
	margin: 0.9375rem 0;
}

h1 {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 2.392em;
	line-height: 1.2;
	font-weight: normal;
	margin: 1.562rem 0
}

@keyframes slidy {
	0% {
		left: 0%;
	}

	22% {
		left: 0%;
	}

	25% {
		left: -100%;
	}

	47% {
		left: -100%;
	}

	50% {
		left: -200%;
	}

	72% {
		left: -200%;
	}

	75% {
		left: -300%;
	}

	97% {
		left: -300%;
	}

	100% {
		left: -400%;
	}
}

.slider {
	overflow: hidden;
}

.slider figure {
	position: relative;
	width: 500%;
	margin: 0;
	left: 0;
	text-align: left;
	font-size: 0;
	animation: 24s slidy infinite;
}

figure img {
	width: 20%;
	float: left;
}

header,
article,
footer {
	padding: 0 1.188rem;
}

.logo {
	display: block;
	width: fit-content;
	margin: 0 auto 0.9375rem;
}

.bg {
	position: relative;
	max-width: 100%;
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: #F6F6F6;
	background-image: url(../images/hintergrund.png);
	font-size: 1.11em;
	line-height: 1.431em;
	color: #FFF;
	background-repeat: no-repeat;
}

.button {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 1.111em;
	line-height: 1.231em;
	margin-bottom: 2rem;
	margin-top: 2rem;
	font-weight: normal;
}

.button a {
	text-decoration: none;
	width: fit-content;
	color: #FFF;
	background-color: #C3C3C3;
	padding: .7rem 1.5rem;
}

.button>a:hover {
	background-color: #999999;
	box-shadow: .187rem .187rem .25rem #A6A6A6;
}

footer {
	position: relative;
	max-width: 50rem;
	margin: 0 auto;
}

@media only screen and (max-width:49.9375rem) {
	#wrapper {
		border: none;
		margin: 0 auto;
	}

	article {
		padding: 1rem
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	h1 {
		font-size: 2rem;
	}
}

@media only screen and (max-width:40rem) {
	h1 {
		font-size: 1.5rem;
		text-align: center
	}

	.button {
		display: flex;
		justify-content: center;
		margin: 2rem 0 1rem;
	}
}

@media only screen and (max-width:27rem) {
	footer {
		text-align: center;
	}
}