* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

html {
	min-height: 100%;
}

body {
	color: #000;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 15px;
	line-height: 22px;
	font-weight: 400;
}

#wrapper {
	margin: 1rem auto;
	max-width: 910px;
	border: 1px solid #000;
	background-color: #fff;
}

.logo {
	padding: 30px 50px;
	display: flex;
	justify-content: flex-start;
}

article {
	padding: 30px 50px;
}

.background-color {
	background: #f7f7f7;
	padding: 30px 50px;
	margin: 20px -50px;
}

.border {
	border-right: 210px solid #73149e;
	position: relative;
}

figure {
	position: absolute;
	right: -70px;
	bottom: 0;
}

.flex {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.column {
	width: 48%;
}

.button {
	display: flex;
	justify-content: center;
	padding: 50px 20px 0;
}

.button a {
	display: inline-block;
	background: #0f66f5;
	padding: 10px 60px;
	color: #fff !important;
	font-weight: 700;
	border-radius: 5px;
	text-align: center;
}

.button a:hover {
	background: #0a4ebe;
}


.kontakt {
	display: flex;
	gap: 6px;
	align-items: center;
}

.kontakt span {
	flex: 1 1 0;
}

footer {
	padding: 50px;
	border-left: 300px solid #25d4af;
	background: #f7f7f7;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	position: relative;
	margin-top: 30px;
}

footer p {
	text-align: right;
}

.avata {
	position: absolute;
	bottom: 0;
	left: -134px;
	width: 43%;
}

.font {
	font-size: 21px;
	line-height: 1.2;
	width: 86%;
	font-weight: 600;
}

p:not(:first-of-type) {
	margin-top: 20px;
}

p.small {
	font-size: 13px;
	color: #bf2918
}

h1 {
	font-size: 29px;
	line-height: 1.1;
	margin-top: 10px;
}

h1:after,
h3:after {
	content: " ";
	display: block;
	width: 30px;
	height: 4px;
	background-color: #ff9e1c;
	border-radius: 3px;
	margin-top: .6rem;
	padding-top: 0;
}

h2 {
	font-size: 23px;
	line-height: 1.1;
}

h3 {
	font-size: 19px;
	line-height: 1.1;
	margin-bottom: 20px;
}

ul {
	list-style: none;
	margin-top: 20px;
	padding-bottom: 20px;
}

ul.flex-ul {
	display: flex;
	gap: 0 30px;
	flex-wrap: wrap;
}

ul li {
	padding-left: 23px;
	position: relative;
}

li:before {
	content: ' ';
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background-color: #000;
	position: absolute;
	left: 0;
	top: 5px;
}

img {
	max-width: 100%;
	display: block;
}

:is(h1, strong) {
	font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #000;
	text-decoration: none;
	white-space: nowrap;
}

a[href^="tel:"] {
	color: #0f66f5;
}

.color {
	color: #bf2918;
}

.video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.flexbox {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 45px;
	gap: 15px 0;
}

.flexbox .left {
	width: 49%;
}

.flexbox .left h3 {
	font-size: 23px;
}

.flexbox .right {
	width: 49%;
}

@media only screen and (max-width:910px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(.logo, article, .background-color) {
		padding: 16px
	}

	:is(.background-color, .video) {
		margin: 0;
	}

	footer {
		padding: 22px 16px;
		border-left: 250px solid #25d4af;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty
	}

	:is(p, ul) span:not(.kontakt span) {
		white-space: nowrap;
	}

	.avata {
		position: absolute;
		left: -137px;
		width: 38%;
	}
}

@media only screen and (max-width:848px) {
	:is(.flexbox .left, .flexbox .right) {
		width: 100%;
	}

	footer {
		border-left: none;
		padding-left: 212px;
	}

	.avata {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 214px;
	}

	.font {
		font-size: 17px;
		line-height: 19px;
		width: auto;
	}
}

@media only screen and (max-width:650px) {
	.flex {
		display: block;
	}

	.column {
		width: auto !important
	}

	.border {
		border-right: none;
	}

	figure {
		position: static;
		margin: 16px 0 0;
	}
}

@media only screen and (max-width:450px) {
	footer {
		padding-left: 16px
	}

	.avata {
		position: static;
		width: auto;
		padding-bottom: 20px;
	}

	h1 {
		font-size: 22px
	}
}