﻿@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: 25px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 650px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
	background: #f8f8f8 url(../images/background.jpg) top no-repeat;
	background-size: 100% auto;
}

strong {
	font-weight: 700;
}

header {
	padding: 0 40px;
}

article {
	padding: 0 40px;
	position: relative;
}

figure p {
	color: #C03341;
	margin-bottom: 4px !important;
}

figure div {
	position: absolute;
	top: 243px;
	left: 130px;
}

figure div hr {
	background: #C03341;
	height: 1px;
	width: 69px;
	border: none;
	margin-left: 15px;
}

.margin-left {
	margin-left: 240px;
}

.box {
	margin-top: -150px;
	position: relative;
}

footer {
	padding: 10px 40px;
	background: #C03241;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer :is(p, a) {
	color: #fff !important;
	font-size: 14px;
	line-height: 18px;
}

section {
	margin: 16px 0;
	padding: 10px 40px;
	border: #C03341 1px solid;
	border-radius: 15px;
	display: flex;
	align-items: center;
	gap: 20px;
}

section p {
	font-size: 14px;
	line-height: 1.2;
}

section p strong {
	color: #C03341;
	font-size: 17px;
	line-height: 23px;
}

.center {
	text-align: center;
	font-size: 29px;
	line-height: 1.2;
}

.qrcode {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	top: 388px;
	right: 75px;
	border-left: #242021 2px dotted;
	padding: 10px 0;
	padding-left: 30px;
}

.qrcode p {
	text-align: center;
}

.qrcode p:nth-of-type(2) {
	font-size: 14px;
	line-height: 1.2;
	margin-top: 10px;
}

.color {
	color: #BA3340;
}

.qrcode .color {
	position: relative;
	margin-bottom: 0;
}

.qrcode .color img {
	position: absolute;
	top: 11px;
	right: -31px;
}

hr {
	background: #fff;
	border: none;
	width: 100px;
	margin: 0 auto 12px;
	height: 1px;
}

h1 {
	font-size: 78px;
	margin: 16px 0 0;
	line-height: 1;
	font-weight: 700;
	text-align: center;
	color: #fff;
}

h1 strong {
	margin-left: 87px;
}

h1 span {
	font-size: 22px;
	font-weight: 400;
	vertical-align: middle;
}

h2 {
	font-size: 24px;
	margin: 16px 0;
	line-height: 28px;
	font-weight: 400;
	text-align: center;
	color: #fff;
	border-bottom: #fff 1px solid;
}

h2 span {
	display: inline-block;
	background: #C83540;
	margin-bottom: -15px;
	vertical-align: bottom;
	padding: 0 15px;
}

h3 {
	font-size: 29px;
	margin: 16px 0;
	line-height: 1.2;
	font-weight: 700;
	color: #BC3541;
}

h3 + p {
	font-size: 18px;
	line-height: 1.5;
}

h4 {
	font-size: 19px;
	margin: 6px 0;
	line-height: 22px;
	font-weight: 700;
	color: #fff;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

p:not(:last-child) {
	margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	margin: 0 0 0 16px;
	list-style: none;
}

ul li {
	display: flex;
	align-items: center;
}

ul li img {
	margin-right: 10px;
}

ul li strong.border {
	border-bottom: #BABCBF 1px solid;
	padding: 7px 0;
	display: block;
	width: 210px;
}

@media screen and (max-width:648px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	h1 {
		font-size: 50px;
	}

	h1 strong {
		margin-left: 0;
	}

	.margin-left {
		margin-left: 0;
	}

	.box {
		margin-top: 0;
	}

	article, footer, header {
		padding: 10px 16px;
	}

	.qrcode {
		right: 16px;
	}

	footer {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	footer p, h4 {
		text-align: center;
	}

	section {
		padding: 16px;
	}
}

@media screen and (max-width:545px) {
	.qrcode {
		position: static;
		border-left: none;
		padding-left: none;
	}

	h3 {
		font-size: 26px;
	}

	h1 {
		font-size: 40px;
	}
}