﻿@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: 520px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
	height: 453px;
	background: url(../images/background.jpg) no-repeat;
}

strong {
	font-weight: 700;
}

article {
	padding: 0 16px;
}

footer {
	padding: 36px 0 0 170px;
	position: relative;
}

footer p {
	color: #fff;
	font-size: 20px;
	line-height: 23px;
}

footer figure {
	position: absolute;
	top: -64px;
	left: 3px;
	opacity: 0;
}

h1 {
	font-size: 23px;
	margin: 6px 0;
	line-height: 26px;
	font-weight: 700;
	text-align: center;
}

h2 {
	font-size: 28px;
	margin: 10px 0 0;
	line-height: 28px;
	font-weight: 700;
	text-align: center;
}

h2 span {
	color: #F47C26;
}

h3 {
	font-size: 36px;
	margin: 5px 0 16px;
	line-height: 1;
	font-weight: 700;
	-ms-transform: rotate(-2deg);
	-webkit-transform: rotate(-2deg);
	transform: rotate(-2deg);
	color: #fff;
	font-style: italic;
	padding: 0 0 0 6px;
}

h3 span {
	display: block;
	font-size: 26px;
	font-style: normal;
}

h4 {
	font-size: 26px;
	margin: 5px 0 16px 80px;
	line-height: 1;
	font-weight: 700;
	-ms-transform: rotate(-2deg);
	-webkit-transform: rotate(-2deg);
	transform: rotate(-2deg);
	font-style: italic;
	padding: 0 0 0 6px;
	text-align: center;
}

h4 span {
	display: block;
	font-style: normal;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

p:not(:last-child) {
	margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.mail {
	font-size: 16px;
}

ul {
	list-style: none;
	font-weight: 700;
	font-size: 23px;
	line-height: 27px;
}

ul li {
	padding-left: 20px;
	background: url(../images/iconlist.png) left 1px no-repeat;
}

@media screen and (max-width:518px) {
	#wrapper {
		border: none;
		margin: 0;
		background: url(../images/background-mobile.jpg) no-repeat;
		height: auto;
		background-size: cover;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	header {
		padding: 0 16px;
	}

	footer {
		padding: 16px;
		background: #132C4B;
	}

	h3 {
		font-size: 28px;
	}

	h3 span {
		font-size: 23px;
	}

	article	div {
		background: url(../images/background-orange.png) no-repeat;
		margin: 0 -16px;
		padding: 20px 16px 22px;
		background-size: 100% 100%;
	}

	h4 {
		margin-left: 0;
		font-size: 23px;
	}

	footer figure {
		position: static;
		opacity: 1;
	}

	footer {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap:16px;
	}

	footer p {
		text-align: center;
	}

	ul {
		font-size: 21px;
	}
}