﻿@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/lato-v25-latin-regular.eot');
	src: url('../fonts/lato-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v25-latin-regular.woff2') format('woff2'), url('../fonts/lato-v25-latin-regular.woff') format('woff'), url('../fonts/lato-v25-latin-regular.ttf') format('truetype'), url('../fonts/lato-v25-latin-regular.svg#Lato') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/lato-v25-latin-700.eot');
	src: url('../fonts/lato-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v25-latin-700.woff2') format('woff2'), url('../fonts/lato-v25-latin-700.woff') format('woff'), url('../fonts/lato-v25-latin-700.ttf') format('truetype'), url('../fonts/lato-v25-latin-700.svg#Lato') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Lato', Arial, sans-serif;
	font-size: 19px;
	line-height: 22px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 450px;
	margin: 1rem auto;
	padding: 16px 20px;
	border: solid 2px #242021;
	overflow: hidden;
	position: relative;
}

h2 span {
	font-size: 20px;
}

strong {
	font-weight: 700;
}

article {
	padding: 0 0 16px;
}

footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

footer strong {
	display: block;
	font-size: 28px;
	line-height: 32px;
}

h1 {
	font-size: 42px;
	margin: 0 0 16px;
	line-height: 1;
	font-weight: 700;
}

h1 small {
	font-size: 26px;
}

h2 {
	font-size: 28px;
	margin: 10px 0;
	line-height: 31px;
	font-weight: 700;
}

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;
}

.fontsize {
	font-size: 16px;
}

@media screen and (max-width:448px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, h1) {
		hyphens: auto;
		text-wrap: pretty;
	}

	h1 {
		font-size: 30px;
	}

	h1 small {
		font-size: 22px;
	}

	footer strong {
		font-size: 27px;
	}

	footer {
		flex-direction: column;
		align-items: center;
	}

	footer p {
		text-align: center;
	}
}