﻿:root {
	font-size: 16px;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	min-height: 100%;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 18px;
	color: #242021;
}
#wrapper {
	max-width: 610px;
	margin: 0.75rem auto;
	border: solid thin #242021;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	background: url('bg.jpg') no-repeat;
	height: 75px;
	text-align: center;
}
header {
	position: relative;
}
header img {
	position: absolute;
	top: 5px;
	right: 35px;
}
article {
	position: relative;
}
article img {
	position: absolute;
	top: -19px;
	left: 35px;
}

h1 {
	font-size: 27px;
	margin: -2px 0 0;
	line-height: 30px;
	color: #39245B;
}

h2 {
	font-size: 23px;
	margin: 0 0 0;
	line-height: 23px;
	color: #2689A2;
	font-weight: normal;
}

img {
	max-width: 100%;
}
p {
	margin-bottom: 16px;
}
p:last-child {
	margin-bottom: 0;
}
a {
	color: #242021;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 608px) {
	#wrapper {
		border: none;
		margin: 0 auto;
		hyphens: auto;
	}
	header {
		background: #EFF0F2;
	}
}

@media screen and (max-width: 500px) {
	#wrapper {
		background: #E1E1E1;
		height: auto;
	}

	header img, article img {
		position: static;
	}

	header, article {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 10px 16px;
		gap: 10px;
	}
}