@charset "utf-8";

:root {
	font-size: 16px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #212529;
	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;
}

p {
	margin: 0 0 0.625rem;
}

.margin {
	margin: 0 0 1rem
}

p span {
	white-space: nowrap
}

h1 {
	font-size: 1.7rem;
	margin: .625rem 0;
	text-align: center;
	color: #165788;
	line-height: 1.2
}

h1+p {
	text-align: center;
	margin: 0;
}

h2 {
	font-size: 1.187rem;
	margin: 0 0 .625rem;
	color: #165788
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul li {
	padding-left: 1rem
}

ul li:before {
	content: "\2022";
	float: left;
	margin-left: -1rem;
	font-size: 1.125rem;
	line-height: 1.4;
	color: #165788;
}

header {
	padding: 2rem;
	margin: 0 0 .5rem;
	background: #fff;
}

.section {
	box-shadow: rgba(0, 0, 0, 0.15) 0 0.125rem 0.5rem;
}

.section,
footer {
	margin: 0 0 .5rem;
	padding: 1.5rem 2rem;
	background: #fff;
}

.flex {
	display: flex;
	justify-content: flex-start;
	gap: 1rem;
	align-items: center;
	margin: 0 0 1.5rem;
}

.flex p:last-of-type {
	margin: 0
}

.kontakt {
	display: flex;
	align-items: flex-start;
	gap: 1rem
}

.left {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0 0 .312rem;
}

.left span {
	white-space: normal;
}

.left span:nth-of-type(1) {
	width: 6.875rem;
}

.left span:nth-of-type(2) {
	width: 38.625rem;
}

.address {
	display: flex;
	column-gap: 1.562rem;
	align-items: flex-start;
	width: 50%;
}

a.apply {
	background: #165788;
	font-size: 1.1rem;
	text-align: center;
	color: #fff;
	padding: .5rem 1.5rem;
	display: block;
	width: 14.375rem;
	margin: 0 auto;
	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;
}

.section i {
	font-size: 2.25rem;
	color: #165788
}

.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
}

.social {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	margin: 1rem 0 0;
}

.fa-brands {
	color: #000;
	font-size: 2rem;
}


@keyframes slidy {
	0% {
		left: 0%;
	}

	17% {
		left: 0%;
	}

	20% {
		left: -100%;
	}

	37% {
		left: -100%;
	}

	40% {
		left: -200%;
	}

	57% {
		left: -200%;
	}

	60% {
		left: -300%;
	}

	77% {
		left: -300%;
	}

	80% {
		left: -400%;
	}

	97% {
		left: -400%;
	}

	100% {
		left: -500%;
	}
}

.slider {
	overflow: hidden;
}

.slider figure {
	position: relative;
	width: 600%;
	margin: 0;
	left: 0;
	text-align: left;
	font-size: 0;
	animation: 30s slidy infinite;
}

figure img {
	width: 16.666666666666668%;
	float: left;
}



@media only screen and (max-width: 799px) {
	#wrapper {
		border: none;
		margin: 0 auto;
		padding: .5rem;
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	ul li {
		padding-left: 1.5rem;
	}

	header {
		padding: 1rem;
	}

	.section,
	footer {
		padding: 1rem;
	}

	.kontakt,
	.address {
		gap: 1rem;
	}

	a.apply {
		margin: 1rem auto;
	}

	.left {
		display: block;
		align-items: flex-start;
		justify-content: flex-start;
	}

	.left span {
		white-space: normal;
	}

	.left span:nth-of-type(1) {
		width: auto;
	}

	.left span:nth-of-type(2) {
		width: auto;
	}

}

@media only screen and (max-width: 599px) {
	h1 {
		text-align: center
	}

	ul li {
		padding-left: 1rem;
	}

	header {
		display: flex;
		flex-direction: column;
		align-items: center
	}

	.kontakt,
	.address,
	.flex {
		flex-direction: column;
		align-items: center
	}

	.address,
	.flex p {
		width: 100%
	}

	.address p,
	.address h2,
	.flex {
		text-align: center;
	}

	.benefits,
	.kontakt,
	.address {
		gap: .625rem;
	}
}

@media only screen and (max-width: 376px) {
	a.apply {
		width: 100%;
		margin: 0 0 .625rem
	}
}