﻿@font-face {
	font-display: swap;
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/dm-sans-v17-latin-regular.eot');
	src: url('../fonts/dm-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/dm-sans-v17-latin-regular.woff') format('woff'), url('../fonts/dm-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/dm-sans-v17-latin-regular.svg#DMSans') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/dm-sans-v17-latin-700.eot');
	src: url('../fonts/dm-sans-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/dm-sans-v17-latin-700.woff2') format('woff2'), url('../fonts/dm-sans-v17-latin-700.woff') format('woff'), url('../fonts/dm-sans-v17-latin-700.ttf') format('truetype'), url('../fonts/dm-sans-v17-latin-700.svg#DMSans') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'DM Sans', Arial, sans-serif;
	font-size: 15px;
	line-height: 21px;
	color: #242021;
	font-weight: 400;
	background: #F5F2ED;
}

#wrapper {
	max-width: 1020px;
	margin: 1rem auto;
	padding: 0 16px 16px;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
}

strong {
	font-weight: 700;
}

header {
	position: relative;
}

header section {
	background: url(../images/background.jpg) top no-repeat;
	margin: 0 -16px;
	padding: 113px 16px 16px;
	height: 372px;
	text-align: center;
	color: #fff;
	font-size: 17px;
}

.logo {
	background: #F5F2ED;
	padding: 9px 20px;
	border-radius: 45px;
	position: fixed;
	width: 73%;
}

article section {
	background: #117473;
	padding: 16px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

article section .flexbox {
	width: 50%;
}

article section .flex {
	background: #347575;
	border-radius: 20px;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.red {
	background: #C4081C !important;
}

article section .flex .icon {
	font-size: 30px;
	width: 50px;
}

article section .flex .content {
	width: 90%;
}

article section, article section a {
	color: #fff !important;
}

footer a {
	border: #fff 2px solid;
	border-radius: 25px;
	padding: 12px 20px;
	display: inline-block;
	color: #fff !important;
	font-weight: 700;
	font-size: 18px;
}

footer a:hover {
	background: #fff;
	color: #C4081C !important;
}

.section {
	padding: 25px 16px;
	background: #C4081C;
	color: #fff;
	border-radius: 20px;
}

h1 {
	font-size: 67px;
	margin: 16px 0;
	line-height: 1.2;
	font-weight: 700;
}

h2 {
	font-size: 40px;
	margin: 30px 0 16px;
	line-height: 1.2;
	font-weight: 700;
	color: #0D5A59;
}

h2 + p {
	column-count: 2;
	column-gap: 35px;
}

h3 {
	font-size: 31px;
	margin: 0 0 16px;
	line-height: 34px;
	font-weight: 700;
}

h4 {
	font-size: 31px;
	margin: 0 0 16px;
	line-height: 34px;
	font-weight: 700;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

p:not(:last-child) {
	margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
}

video {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

@media screen and (max-width:1018px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, h1) {
		hyphens: auto;
		text-wrap: pretty;
	}

	h1 {
		font-size: 9vw;
	}

	.logo {
		position: static;
		padding: 12px 0;
	}

	header section {
		padding: 16px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}

@media screen and (max-width:767px) {
	article section {
		flex-direction: column;
	}

	article section .flexbox {
		width: auto;
	}

	article section .flex {
		gap: 5px;
		padding: 16px;
	}

	article section .flex .icon {
		font-size: 20px;
		width: 30px;
	}

	h2 {
		font-size: 28px;
	}

	h3, h4 {
		font-size: 21px;
		line-height: 24px;
	}

	footer a {
		font-size: 17px;
	}
}

@media screen and (max-width:620px) {
	h2 + p {
		column-count: 1;
	}
}