﻿@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');
}

@font-face {
	font-display: swap;
	font-family: 'Mulish';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/mulish-v13-latin-italic.eot');
	src: url('../fonts/mulish-v13-latin-italic.eot?#iefix') format('embedded-opentype'), url('../fonts/mulish-v13-latin-italic.woff2') format('woff2'), url('../fonts/mulish-v13-latin-italic.woff') format('woff'), url('../fonts/mulish-v13-latin-italic.ttf') format('truetype'), url('../fonts/mulish-v13-latin-italic.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: 20px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 640px;
	margin: 1rem auto;
	border: solid 13px #E31946;
	overflow: hidden;
	position: relative;
	background: #EEF5FB;
}

strong {
	font-weight: 700;
}

header {
	position: relative;
}

footer {
	position: absolute;
	bottom: 6px;
	right: 6px;
}

section {
	padding: 25px 0 0 16px;
	width: 123px;
	height: 124px;
	background: url(../images/background.png) no-repeat;
	position: absolute;
	bottom: 0;
	right: 0;
	text-align: center;
	color: #fff;
	font-size: 9px;
	line-height: 12px;
	display: flex;
	align-items: center;
}

section p {
	-ms-transform: rotate(17deg);
	-webkit-transform: rotate(17deg);
	transform: rotate(17deg);
}

h1 {
	font-size: 27px;
	line-height: 31px;
	font-weight: 700;
	color: #E31946;
	text-align: center;
	margin: 0 0 10px;
}

h1 span {
	font-size: 18px;
	font-weight: 400;
	display: block;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

p:not(:last-child) {
	margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

@media screen and (max-width:638px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, h1) {
		hyphens: auto;
		text-wrap: pretty;
	}
}

@media screen and (max-width:478px) {
	section {
		position: static;
		margin: 0 auto 16px;
	}
}

@media screen and (max-width:395px) {
	footer {
		position: static;
		display: flex;
		justify-content: center;
		padding-bottom: 16px;
	}
}