﻿@font-face {
	font-display: swap;
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/nunito-v32-latin-regular.eot');
	src: url('../fonts/nunito-v32-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-v32-latin-regular.woff2') format('woff2'), url('../fonts/nunito-v32-latin-regular.woff') format('woff'), url('../fonts/nunito-v32-latin-regular.ttf') format('truetype'), url('../fonts/nunito-v32-latin-regular.svg#Nunito') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/nunito-v32-latin-700.eot');
	src: url('../fonts/nunito-v32-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-v32-latin-700.woff2') format('woff2'), url('../fonts/nunito-v32-latin-700.woff') format('woff'), url('../fonts/nunito-v32-latin-700.ttf') format('truetype'), url('../fonts/nunito-v32-latin-700.svg#Nunito') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Nunito', Arial, sans-serif;
	font-size: 18px;
	line-height: 25px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 600px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
	background: url(../images/background.jpg) no-repeat;
	height: 911px;
}

strong {
	font-weight: 700;
}

article {
	margin: -220px 0 0;
	padding: 0 22px;
}

footer {
	padding: 10px 0 0;
	font-size: 17px;
	line-height: 23px;
}

.section {
	margin-top: 25px;
}

.flexbox {
	margin: 8px 0;
	display: flex;
	justify-content: space-between;
}

.flexbox section p {
	text-align: left;
	position: relative;
	padding-left: 39px;
	font-size: 16px;
	line-height: 20px;
}

.flexbox section p img {
	position: absolute;
	top: 0;
	left: 0;
}

h1 {
	font-size: 32px;
	margin: 16px 0 6px;
	line-height: 35px;
	font-weight: 700;
	text-align: center;
}

h1 span {
	font-weight: 400;
}

h1 small {
	font-weight: 400;
	font-size: 20px;
}

h1 + p {
	margin-left: -30px;
}

h1 + p span {
	display: block;
	margin-left: 50px;
}

h2 {
	font-size: 20px;
	margin: 16px 0 8px 12px;
	line-height: 24px;
	font-weight: 700;
	color: #fff;
}

.font {
	font-size: 16px;
}

.font2 {
	font-size: 18px;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

p {
	margin-bottom: 6px;
	text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	list-style: none;
	font-size: 16px;
	line-height: 20px;
}

ul li {
	padding-left: 26px;
	background: url(../images/iconlist.png) left 4px no-repeat;
	margin-bottom: 7px;
}

.li {
	margin-top: 7px;
}

@media screen and (max-width:598px) {
	#wrapper {
		border: none;
		margin: 0;
		background: #fbf9fa;
		height: auto;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	article {
		margin-top: 0;
	}

	article br {
		display: none;
	}

	h1 {
		font-size: 28px;
	}

	h1 + p span {
		margin-left: 0;
	}

	.flexbox {
		flex-direction: column;
	}

	h2 {
		background: #D9182D;
		display: inline-block;
		border-radius: 3px;
		margin: 0 0 10px;
		padding: 3px 5px;
	}

	.font {
		background: #545A64;
		display: inline-block;
		border-radius: 3px;
	}

	ul {
		margin-bottom: 16px;
	}
}