﻿@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: #fff;
	font-weight: 400;
}

#wrapper {
	max-width: 795px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
}

strong {
	font-weight: 700;
}

header {
	padding: 5px 35px;
	background: url(../images/background-top.jpg) repeat-y;
	background-size: 100% 100%;
}

.text {
	display: flex;
	justify-content: center;
}

.flexbox {
	background: url(../images/background-center.jpg) repeat-y;
	background-size: 100% 100%;
	padding: 6px 20px 20px;
}

article {
	padding: 0 16px;
}

footer {
	padding: 12px 25px 0 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

section {
	margin: 16px 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

section p {
	color: #242021;
	text-align: justify;
	hyphens: auto;
}

.flex {
	display: flex;
	align-items: center;
	gap: 30px;
}

.flexbox p {
	margin-top: 20px;
	font-size: 15px;
}

.dfs-online {
	background: url(../images/footer.jpg) no-repeat;
	width: 565px;
	height: 185px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding: 95px 40px 0 0;
}

.dfs-online p {
	font-size: 11px;
	line-height: 14px;
}

.dfs-online span {
	display: inline-block;
	width: 35px;
}

h1 {
	font-size: 52px;
	line-height: 1;
	font-weight: 700;
}

h1 span {
	font-size: 18px;
	font-weight: 400;
}

h2 {
	font-size: 52px;
	margin: 8px 0 20px;
	line-height: 1;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 16px;
}

h2 span {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
}

h3 {
	font-size: 18px;
	margin: 16px 0 0;
	line-height: 22px;
	font-weight: 400;
}

img {
	max-width: 100%;
}

p:not(:last-child) {
	margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	list-style: none;
	font-size: 15px;
}

ul li {
	padding-left: 12px;
}

li:before {
	text-indent: -12px;
	content: "\2022";
	color: #fff;
	float: left;
	margin: 0;
	font-size: 18px;
}

@media screen and (max-width:793px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	header {
		padding: 16px;
	}

	h1, h2 {
		font-size: 35px;
	}

	section p {
		text-align: left;
	}

	p span {
		white-space: nowrap;
	}
}

@media screen and (max-width:689px) {
	footer {
		flex-direction: column;
		padding: 16px 16px 0;
	}
}

@media screen and (max-width:550px) {
	.dfs-online {
		width: 100%;
		height: auto;
		padding: 200px 16px 16px;
		justify-content: center;
	}

	.dfs-online :is(p,a) {
		color: #242021;
	}

	section, .flex {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	.flex {
		margin-bottom: 20px;
	}
}

@media screen and (max-width:410px) {
	h2 {
		flex-direction: column;
	}
}