﻿@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: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 640px;
	margin: 1rem auto;
	border: solid 3px #C2CE22;
	overflow: hidden;
	position: relative;
	background: url(../images/background.jpg) no-repeat;
	background-size: 100% 100%;
}

strong {
	font-weight: 700;
}

header {
	padding: 16px 16px 0;
}

header :is(p, h1) {
	text-align: center;
}

article {
	padding: 0 20px 30px;
	position: relative;
}

article figure {
	position: absolute;
	bottom: -90px;
	right: 20px;
}

footer {
	padding: 0 20px 16px;
}

footer div {
	display: flex;
	gap: 16px;
	margin-top: 20px;
}

footer p {
	font-size: 14px;
	line-height: 18px;
}

h1 {
	font-size: 18px;
	line-height: 22px;
	font-weight: 700;
}

h1 span {
	font-weight: 400;
	font-size: 16px;
}

h1 span:nth-of-type(2) {
	display: block;
}

h2 {
	font-size: 16px;
	margin: 16px 0 3px;
	line-height: 20px;
	font-weight: 700;
	color: #C2CE22;
}

h3 {
	font-size: 22px;
	margin: 16px 0;
	line-height: 26px;
	font-weight: 700;
}

img {
	max-width: 100%;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	list-style: none;
}

ul li {
	padding-left: 17px;
}

li:before {
	text-indent: -17px;
	content: "\2022";
	color: #C2CE22;
	float: left;
	font-size: 25px;
	font-family: Arial, sans-serif;
}

@media screen and (max-width:638px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	article figure {
		position: static;
		display: flex;
		justify-content: center;
		margin-top: 30px;
	}

	footer {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	footer div {
		flex-direction: column;
	}

	footer p {
		text-align: center;
	}
}