@charset "utf-8";

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
}

html {
	min-height: 100%;
}

body {
	font: 0.938em/1.4em Arial, "Segoe UI", Calibri, sans-serif;
	color: #000;
}

#wrapper {
	position: relative;
	margin: 1rem auto;
	overflow: hidden;
	max-width: 930px;
	border: solid 1px #000;
	background: #fff url('../images/bg.jpg') no-repeat bottom right 25rem;
	padding: 1.5rem 1.5rem 1.5rem 0;
}

p {
	padding-bottom: 1rem;
}

h1 {
	font-size: 1.125em;
	line-height: 1.4;
	font-weight: 400;
	text-align: center;
	padding: 2.3125rem 1rem;
	background: #717785;
	color: #fff;
	border-radius: 100%;
	position: absolute;
	bottom: 3rem;
	left: 38%;
	transform: rotate(-17deg);
}

h2 {
	font-size: 1.5em;
	line-height: 1.3;
	font-weight: normal;
	margin-bottom: 0.5rem;
}

h3 {
	font-size: 1.5em;
	line-height: 1.3;
	text-align: right;
}
h2, h3 {
	color: #3B6D92;
}
ul {
    padding: 0 0 2rem;
    list-style: none;
}
li {
    padding: 0.75rem 0 0.75rem 3rem;
    font-size: 1.125em;
    line-height: 1.4;
}
li:before {
    content: url('../images/icon.jpg');
    float: left;
    margin: -5px 0 0 -3rem;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
}

header {
	position: absolute;
	right: 1.5rem;
	top: 1.5rem;
}

article {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.bigger {
	font-size: 1.313em;
	line-height: 1.3;
	font-weight: bold;
	padding-left: 7rem;
	text-indent: -7rem;
}

.big {
	font-size: 1.250em;
	line-height: 1.3;
}

.content {
	padding-top: 5.5rem;
	width: 51%;
}
.pdl {
	padding-left: 7rem;
}
footer {
	position: absolute;
	right: 1.25rem;
	bottom: 1.75rem;
}
footer p {
    padding: 0;
    text-align: right;
}
img {
	max-width: 100%;
	height: auto;
}

@media only screen and (max-width:929px) {
	#wrapper {
		border: none;
		margin: 0 auto;
		padding: 1rem;
		background-image: none;
	}

	p :is(a, span) {
		display: inline-block;
	}
	h3 {
		margin: 0;
	}
	header {
		position: static;
		padding: 0 1rem 1rem;
		display: flex;
		justify-content: center;
	}
	.pdl {
		padding: 0;
	}
	h2, h3, h4 {
		text-align: center;
	}
	article {
		padding: 0;
		align-items: center;
		flex-direction: column;
	}

	.content {
		width: 100%;
		padding: 1rem 0;
	}

	h1 {
		position: static;
		margin: 1rem auto;
		width: fit-content;
		transform: none;
	}

	h3 br {
		display: none;
	}
	footer {
		position: static;
	}
	footer p {
		text-align: center;
	}
}