﻿@font-face {
	font-display: swap;
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/open-sans-v36-latin-regular.eot');
	src: url('../fonts/open-sans-v36-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-regular.woff') format('woff'), url('../fonts/open-sans-v36-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/open-sans-v36-latin-700.eot');
	src: url('../fonts/open-sans-v36-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-700.woff') format('woff'), url('../fonts/open-sans-v36-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-700.svg#OpenSans') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #fff;
	font-weight: 400;
}

#wrapper {
	max-width: 640px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
	background: #EE3135;
}

:is(strong, h1, h2, h3) {
	font-weight: 700;
}

article {
	padding: 10px 40px 20px;
	position: relative;
}

article figure {
	position: absolute;
	bottom: 12px;
	right: 30px;
}

.flex p {
	font-size: 12px;
	line-height: 14px;
}

.qrcode {
	display: flex;
	gap: 25px;
}

.qrcode p {
	font-size: 11px;
	line-height: 12px;
}

footer {
	padding: 25px 40px 25px 40px;
	background: #000;
	display: flex;
	justify-content: space-between;
}

section {
	padding: 0 0 90px 200px;
}

h1, h2 {
	font-size: 16px;
	margin: 9px 0;
	line-height: 20px;
}

h3 {
	font-size: 17px;
	line-height: 26px;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

p:not(:last-child) {
	margin-bottom: 9px;
}

: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, h2) {
		hyphens: auto;
		text-wrap: pretty;
	}

	article, footer {
		padding: 16px;
	}
}

@media screen and (max-width:595px) {
	section {
		padding-left: 0;
		padding-bottom: 16px;
	}

	section br {
		display: none;
	}

	footer {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	article figure {
		position: static;
		display: flex;
		justify-content: center;
		margin-top: 20px;
	}

	.flex p {
		text-align: center;
	}
}