@charset "utf-8";

:root {
	font-size: 16px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #3a434f;
	font-family: "Arial", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	background: #EBF0F0
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

a.web {
	color: #dc4405;
}

p {
	margin: 0 0 0.625rem;
}

.margin {
	margin: 0;
}

p span {
	/*white-space: wrap*/
}

h1 {
	font-size: 1.5rem;
	color: #e30613;
	line-height: 1.2;
	position: absolute;
	left: 0;
	bottom: 0;
	border-left: 90px solid #e2001a;
	background: #5f6061;
	padding: 1rem 26px;
	color: #fff;
}

h1 small {
	font-size: 1.125rem;
	font-weight: normal
}

h2 {
	font-size: 1.187rem;
	margin: 0 0 .625rem;
	color: #e30613;
}

ul {
	list-style: none;
}

ul+p {
	margin-top: 0.625rem;
}

ul li {
	padding-left: 1rem
}

ul li:before {
	content: "\2022";
	float: left;
	margin-left: -1rem;
	font-size: 1.125rem;
	line-height: 1.4;
	color: #e30613;
}

header a {
	position: absolute;
	top: 0;
	right: 2rem;
	z-index: 10;
}

.section {
	box-shadow: rgba(0, 0, 0, 0.15) 0 0.125rem 0.5rem;
}

.section,
footer {
	margin: 0 0 0.5rem;
	padding: 1.5rem 2rem;
	background: #fff;
}

.kontakt {
	display: flex;
	align-items: flex-start;
	gap: 1rem
}

.address {
	display: flex;
	column-gap: 1.562rem;
	align-items: flex-start;
	width: 50%;
}

a.apply {
	background: #e30613;
	font-size: 1.3rem;
	text-align: center;
	color: #fff;
	padding: .75rem 2rem;
	display: block;
	margin: 2rem auto 1rem;
	width: fit-content;
	transition: color 0.15s ease-in-out 0s, background-color 0.15s ease-in-out 0s, border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, opacity 1s cubic-bezier(0.5, 0, 0, 1) 0s, transform 1s cubic-bezier(0.5, 0, 0, 1) 0s;
}

a.apply:hover {
	background-color: #ff001e;
}

.section i {
	font-size: 2.25rem;
	color: #e30613;
}

.iframe-wrapper {
	width: 100%;
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 1.875rem;
	height: 0;
	overflow: hidden;
}

.iframe-wrapper iframe {
	border: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

footer {
	margin: .5rem 0 0;
}

footer p {
	margin: 0;
	text-align: center
}

.figure {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.figure img {
	width: 100px;
}

.element {
	position: relative;
	margin: 0 0 0.5rem;
}

.infobox {
	padding: 1rem;
	background: #f1f1f1;
	margin: 0 0 1.5rem;
}

/*.infobox p strong {
	flex: 0 0 10.375rem;
}*/

.infobox p {
	margin: 0;
	display: flex;
}

@media only screen and (max-width: 49.937rem) {
	#wrapper {
		border: none;
		margin: 0 auto;
		padding: .5rem;
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	header>a {
		right: 1.5rem;
		top: .5rem;
	}

	h1 {
		text-align: left;
	}

	ul li {
		padding-left: 1.5rem;
	}

	.section,
	footer {
		padding: 1rem;
	}

	.kontakt,
	.address {
		gap: 1rem;
	}

	.address {
		width: 50%
	}

	a.apply {
		margin: 1rem auto;
	}
}

@media only screen and (max-width: 768px) {

	h1 {
		bottom: 0;
		position: static;
		border-width: 50px;
		padding: 16px;
	}

	.kontakt,
	.address {
		gap: .625rem;
	}

	.figure {
		justify-content: center;
		margin: 1.5rem 0;
	}
}

@media only screen and (max-width: 44.375rem) {
	header>a {
		width: 125px;
	}

	ul li {
		padding-left: 1rem;
	}

	.kontakt,
	.address {
		flex-direction: column;
		align-items: center
	}

	.address {
		width: 100%
	}

	.address p,
	.address h2 {
		text-align: center
	}
}

@media only screen and (max-width: 520px) {

	header>a {
		width: 100px;
	}

	.infobox p {
		width: auto;
		display: block;
	}

	h1 {
		border-width: 15px;
		font-size: 20px;
	}
}

@media only screen and (max-width: 376px) {
	a.apply {
		width: 100%;
		margin: 20px 0 .625rem
	}
}