﻿@font-face {
	font-display: swap;
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/mulish-v13-latin-regular.eot');
	src: url('../fonts/mulish-v13-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/mulish-v13-latin-regular.woff2') format('woff2'), url('../fonts/mulish-v13-latin-regular.woff') format('woff'), url('../fonts/mulish-v13-latin-regular.ttf') format('truetype'), url('../fonts/mulish-v13-latin-regular.svg#Mulish') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/mulish-v13-latin-700.eot');
	src: url('../fonts/mulish-v13-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/mulish-v13-latin-700.woff2') format('woff2'), url('../fonts/mulish-v13-latin-700.woff') format('woff'), url('../fonts/mulish-v13-latin-700.ttf') format('truetype'), url('../fonts/mulish-v13-latin-700.svg#Mulish') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Mulish', Arial, sans-serif;
	font-size: 16px;
	line-height: 19px;
	color: #266FB2;
	font-weight: 400;
}

#wrapper {
	max-width: 680px;
	margin: 1rem auto;
	border: solid 4px #266FB2;
	overflow: hidden;
	position: relative;
	background: url('../images/background.jpg') no-repeat;
	height: 973px;
}

:is(strong, h1, h2, h3, h4) {
	font-weight: 700;
}

header {
	padding: 0 30px 0 55px;
	display: flex;
	justify-content: space-between;
	width: 100%;
	flex-direction: row-reverse;
}

header img {
	margin-top: 30px;
}

article {
	padding: 0 20px;
	position: relative;
}

footer {
	display: none;
}

section {
	position: absolute;
	top: 38%;
	right: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

section img {
	vertical-align: middle;
}

h1 {
	font-size: 20px;
	margin: 140px 0 16px;
	line-height: 24px;
}

h2 {
	font-size: 59px;
	margin: 25px 0;
	line-height: 1.2;
	text-shadow: 3px 3px 10px #83929e;
}

h2 span {
	display: block;
	font-size: 35px;
}

h2 span:nth-of-type(1) {
	margin-left: -30px;
}

h2 span:nth-of-type(2) {
	margin-left: 81px;
	font-size: 31px;
}

h3 {
	font-size: 16px;
	margin: 16px 0 0;
	line-height: 20px;
}

h4 {
	font-size: 24px;
	line-height: 30px;
	text-shadow: 3px 3px 10px #83929e;
}

img {
	max-width: 100%;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #266FB2;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	margin: 0 0 0 5px;
	list-style: none;
}

ul li {
	padding-left: 20px;
}

li:before {
	text-indent: -20px;
	content: "\2022";
	color: #266FB2;
	float: left;
	font-size: 15px;
}

@media screen and (max-width:678px) {
	#wrapper {
		border: none;
		margin: 0;
		background: #B9DDF7;
		height: auto;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	footer {
		display: block;
	}

	footer img {
		width: 100%;
	}
	
	br {
		display: none;
	}

	section {
		position: static;
		margin: 20px 0;
	}

	h1 {
		margin-top: 16px;
	}
}

@media screen and (max-width:645px) {
	header {
		flex-direction: column;
		align-items: center;
	}

	h2 span:nth-of-type(2) {
		margin-left: 37px;
	}
}