﻿:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 20px;
	color: #242021;
}

#wrapper {
	max-width: 800px;
	margin: 1rem auto;
	padding: 20px;
	border: solid 2px #242021;
	overflow: hidden;
	position: relative;
}

header {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	align-items: flex-start;
}

h1 {
	font-size: 26px;
	margin: 10px 0;
	line-height: 31px;
	text-align: center;
}

h2 {
	font-size: 27px;
	line-height: 32px;
}

h2 + p {
	font-size: 19px;
	line-height: 23px;
}

h3 {
	font-size: 15px;
	margin: 10px 0 0;
	line-height: 20px;
}

img {
	max-width: 100%;
}

p:not(:last-child) {
	margin-bottom: 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	margin: 0 0 10px;
	list-style: none;
}

ul li {
	padding-left: 12px;
}

li:before {
	text-indent: -12px;
	content: "\2022";
	color: #242021;
	float: left;
	font-size: 15px;
}

@media screen and (max-width:798px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	span {
		white-space: nowrap;
	}
}

@media screen and (max-width:580px) {
	header {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		margin-bottom: 16px;
	}

	header p {
		text-align: center;
	}
}