﻿@font-face {
	font-display: swap;
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
	src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/roboto-condensed-v25-latin-700.eot');
	src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	font-size: 15px;
	line-height: 19px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 496px;
	margin: 1rem auto;
	border: solid 7px #1356A7;
	overflow: hidden;
	position: relative;
}

strong {
	font-weight: 700;
}

article {
	padding: 0 16px;
	position: relative;
}

footer {
	padding: 7px 0 0;
	background: #1356A7;
	color: #fff;
	text-align: center;
	font-size: 22px;
	line-height: 1.2;
}

h1 {
	font-size: 32px;
	margin: 10px 0 5px;
	line-height: 1;
	font-weight: 700;
	color: #1356A7;
}

h1 span {
	font-size: 18px;
}

h2 {
	font-size: 21px;
	margin: 0 0 10px;
	line-height: 24px;
	font-weight: 700;
	color: #1356A7;
}

h3 {
	font-size: 15px;
	margin: 3px 0;
	line-height: 19px;
	font-weight: 700;
}

img {
	max-width: 100%;
}

p:not(:last-child) {
	margin-bottom: 3px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	margin: 0 0 3px;
	padding: 0;
	list-style: none;
}

ul li {
	padding-left: 18px;
}

li:before {
	text-indent: -18px;
	content: "\25A0";
	color: #1356A7;
	float: left;
	margin-top: -3px;
	font-size: 21px;
}

figure {
	display: flex;
	justify-content: center;
	width: 100%;
}

.box-text {
	background: #1356A7;
	color: #fff;
	padding: 24px 20px 10px 20px;
	font-size: 17px;
	line-height: 22px;
	position: absolute;
	bottom: 114px;
	right: 0;
	font-style: italic;
	width: 225px;
	height: 129px;
	background: url(../images/background.png) no-repeat;
}

.box-text p {
	-ms-transform: rotate(-4deg);
	-webkit-transform: rotate(-4deg);
	transform: rotate(-11deg);
}

.box-text span {
	display: block;
}

.box-text span:nth-of-type(1) {
	font-size: 26px;
	line-height: 30px;
}

.box-text span:nth-of-type(2) {
	margin-left: -5px;
}

.box-text span:nth-of-type(3) {
	margin-left: -8px;
}

@media screen and (max-width:498px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	header img {
		width: 100%;
	}

	footer {
		font-size: 19px;
		padding-bottom: 5px;
	}

	.box-text {
		position: static;
		margin: 0 -16px 16px 0;
		float: right;
	}
}