﻿@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: #000;
	font-weight: 400;
}

#wrapper {
	max-width: 575px;
	margin: 1rem auto;
	border: solid 2px #D82526;
	overflow: hidden;
	position: relative;
}

strong {
	font-weight: 700;
}

article {
	margin: -84px 0 0;
	padding: 0 26px;
}

footer {
	padding: 0 16px 12px;
	position: relative;
}

footer strong {
	display: block;
	margin: 10px 0 6px;
	font-size: 26px;
	line-height: 30px;
}

figure {
	position: absolute;
	bottom: 0;
	right: 8px;
}

h1 {
	font-size: 40px;
	margin: 16px 0;
	line-height: 28px;
	font-weight: 700;
	text-align: center;
}

h1 span {
	font-size: 25px;
}

h2 {
	font-size: 39px;
	margin: 16px 44px 16px 0;
	line-height: 1;
	font-weight: 700;
	text-align: right;
}

h3 {
	font-size: 22px;
	margin: 16px 0 16px -40px;
	line-height: 26px;
	font-weight: 700;
	text-align: center;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #000;
	text-decoration: none;
	white-space: nowrap;
}

@media screen and (max-width:573px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, h1) {
		hyphens: auto;
		text-wrap: pretty;
	}

	span {
		white-space: nowrap;
	}

	article {
		margin-top: 0;
	}

	:is(h1, h2, h3) {
		text-align: center;
		margin-left: 0;
		margin-right: 0;
	}

	h1 {
		font-size: 32px;
		line-height: 1;
	}

	h2 {
		font-size: 36px;
		margin-top: 0;
	}

	footer figure {
		position: static;
		display: flex;
		justify-content: center;
		margin-top: 16px;
	}

	footer {
		padding-bottom: 0;
	}

	footer p {
		text-align: center;
	}
}