@charset "utf-8";

:root {
	font-size: 16px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #393939;
	font-family: "Arial", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	background: rgb(235, 240, 240);
	font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
}

#wrapper {
	position: relative;
	max-width: 52.5rem;
	margin: 1rem auto;
	overflow: hidden;
	background: transparent;
	padding: 0 1.25rem;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

p {
	margin: 0 0 0.625rem;
}

.margin {
	margin: 0 0 1rem
}

p span,
h1 span {
	white-space: nowrap
}

h1 {
	font-size: 1.5rem;
	margin: 1.25rem 0;
	text-align: center;
	line-height: 1.2;
	color: #0a7a98;
}

h2 {
	font-size: 1.187rem;
	margin: 0 0 .625rem;
	color: #0a7a98;
}

ul {
	margin: 0 0 0 1rem;
}

ul+p {
	margin-top: 0.625rem;
}

ul.inner {
	margin: 0 0 0 2rem;
	list-style-type: circle;
}

ul li::marker,
ul.inner li::marker {
	color: #0a7a98;
}

header {
	padding: 2rem 2rem 1.2rem;
	background: #fff;
	margin: 0 0 .5rem
}

article .section {
	box-shadow: rgba(0, 0, 0, 0.15) 0 .525rem .5rem;
}

.section,
footer {
	margin: 0 0 0.5rem;
	padding: 1.5rem 2rem;
	background: #fff;
}

.benefits {
	display: flex;
	align-items: center;
	gap: 1.875rem;
}

.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: #0a7a98;
	font-size: 1.1rem;
	text-align: center;
	color: #fff;
	padding: .5rem 1.5rem;
	display: block;
	margin: 1rem auto 0.325rem;
	width: fit-content;
}

.section i {
	font-size: 2.25rem;
	color: #0a7a98
}

.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-top: .5rem;
}

footer p {
	margin: 0;
	text-align: center
}

@media only screen and (max-width: 49.938rem) {
	#wrapper {
		border: none;
		margin: 0 auto;
		padding: .5rem;
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	h1 {
		margin: 1rem 0;
	}

	h2 {
		font-size: 1.125rem;
	}

	ul {
		padding: 0 0 0 .937rem;
	}

	header {
		padding: 1rem 1rem 0.425rem;
	}

	.section,
	footer {
		padding: 1rem;
	}

	.benefits,
	.kontakt,
	.address {
		gap: 1rem;
	}

	.address {
		width: 50%
	}

	footer {
		margin-bottom: 0;
	}

	a.apply {
		margin: .625rem auto;
	}
}

@media only screen and (max-width: 46.875rem) {
	header {
		display: flex;
		flex-direction: column;
		align-items: center
	}
}

@media only screen and (max-width: 42.5rem) {
	h1 {
		font-size: 1.375rem;
	}

	.benefits,
	.kontakt,
	.address {
		flex-direction: column;
		align-items: center
	}

	.benefits,
	.kontakt,
	.address {
		gap: .625rem;
	}

	.benefits i {
		margin: 0 0 .312rem
	}

	.address {
		width: 100%
	}

	.address p,
	.benefits p:last-of-type,
	.benefits h2,
	.address h2 {
		text-align: center
	}
}

@media only screen and (max-width: 23.5rem) {
	a.apply {
		width: 100%;
	}
}