﻿@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');
}

@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/roboto-v30-latin-700.eot');
	src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #000;
	font-weight: 400;
}

#wrapper {
	max-width: 675px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
}

:is(strong, h1) {
	font-weight: 700;
}

header {
	position: relative;
	z-index: 1;
}

header .bunte-kreise {
	position: absolute;
	top: 0;
	right: 0;
}

footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

section {
	padding: 13px 30px;
	background: #ffb830;
}

section p {
	text-align: center;
}

h1 {
	font-size: 38px;
	margin: 0 0 13px;
	line-height: 1.1;
	background: #bb2c3d;
	text-align: center;
	color: #fff;
	padding: 10px 16px;
}

h1 small {
	font-size: 21px;
}

h1 span {
	font-size: 21px;
	font-weight: 400;
	display: block;
	line-height: 26px;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

p:not(:last-child) {
	margin-bottom: 12px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #000;
	text-decoration: none;
	white-space: nowrap;
}

@media screen and (max-width:673px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	p {
		hyphens: auto;
		text-wrap: pretty;
	}

	footer {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
}

@media screen and (max-width:595px) {
	h1 {
		font-size: 29px;
	}

	h1 :is(span, small) {
		font-size: 18px;
	}
}

@media screen and (max-width:582px) {
	header{
		display: flex;
		align-items: center;
	}
	
	header .bunte-kreise {
		position: static;
		width: 250px;
	}

	h1 {
		font-size: 27px;
	}
}

@media screen and (max-width:375px) {
	header .bunte-kreise {
		position: static;
		width: 200px;
	}
}