﻿@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/roboto-v30-latin-italic.eot');
	src: url('../fonts/roboto-v30-latin-italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-italic.woff') format('woff'), url('../fonts/roboto-v30-latin-italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-italic.svg#Roboto') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 700;
	src: url('../fonts/roboto-v30-latin-700italic.eot');
	src: url('../fonts/roboto-v30-latin-700italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700italic.woff') format('woff'), url('../fonts/roboto-v30-latin-700italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700italic.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: 22px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 500px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
	background: #EBE6D8;
	padding: 20px;
	font-style: italic;
}

strong {
	font-weight: 700;
}

article {
	position: absolute;
	top: 110px;
	right: 20px;
}

footer {
	padding: 27px 0 0;
}

h1 {
	font-size: 28px;
	margin: 0;
	line-height: 28px;
	font-weight: 700;
}

h1 span {
	font-size: 16px;
	font-weight: 400;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

p:not(:last-child) {
	margin-bottom: 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
	white-space: nowrap;
}

@media screen and (max-width:498px) {
	#wrapper {
		border: none;
		margin: 0;
		padding: 16px;
	}

	:is(p, h1) {
		hyphens: auto;
		text-wrap: pretty;
	}

	article {
		position: static;
	}

	article br {
		display: none;
	}

	p span {
		white-space: nowrap;
	}

	footer p {
		text-align: center;
		margin-top: 16px;
	}

	footer {
		padding-top: 16px;
	}
}