﻿@font-face {
	font-display: swap;
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/mulish-v13-latin-regular.eot');
	src: url('../fonts/mulish-v13-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/mulish-v13-latin-regular.woff2') format('woff2'), url('../fonts/mulish-v13-latin-regular.woff') format('woff'), url('../fonts/mulish-v13-latin-regular.ttf') format('truetype'), url('../fonts/mulish-v13-latin-regular.svg#Mulish') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/mulish-v13-latin-700.eot');
	src: url('../fonts/mulish-v13-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/mulish-v13-latin-700.woff2') format('woff2'), url('../fonts/mulish-v13-latin-700.woff') format('woff'), url('../fonts/mulish-v13-latin-700.ttf') format('truetype'), url('../fonts/mulish-v13-latin-700.svg#Mulish') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Mulish', Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 500px;
	margin: 1rem auto;
	padding: 20px 0;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
	background: #FBF7E6;
}

strong {
	font-weight: 700;
}

header {
	padding: 0 30px;
	background: #FDE15F;
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	align-items: center;
}

article {
	padding: 20px 16px 62px;
}

article p, h1 {
	text-align: center;
}

p.icon {
	background: url('../images/icon-right.png') top right no-repeat, url('../images/icon-left.png') bottom left no-repeat;
}

footer {
	padding: 8px 16px;
	background: #FDE15F;
	position: relative;
	display: flex;
	justify-content: flex-end;
}

footer p {
	font-size: 13px;
	line-height: 14px;
}

footer img {
	position: absolute;
	bottom: 6px;
	left: 16px;
}

h1 {
	font-size: 38px;
	margin: 12px 0;
	line-height: 1.1;
	font-weight: 700;
}

h1 small {
	font-size: 20px;
}

h2 {
	font-size: 29px;
	line-height: 28px;
	font-weight: 700;
	color: #fff;
}

h3 {
	font-size: 16px;
	margin: 16px 0 3px;
	line-height: 20px;
	font-weight: 700;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

p:not(:last-child) {
	margin-bottom: 6px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	list-style: none;
}

ul li {
	padding-left: 12px;
}

li:before {
	text-indent: -12px;
	content: "\2022";
	color: #242021;
	float: left;
	font-size: 16px;
}

@media screen and (max-width:498px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	header {
		flex-direction: column;
	}

	article, footer {
		padding: 16px;
	}

	h2 {
		text-align: center;
		margin: 16px 0;
		font-size: 27px;
	}

	article br {
		display: none;
	}

	p.icon {
		padding: 0 10px;
		background-size: 17px auto;
	}

	h1 {
		font-size: 25px;
	}

	footer img {
		position: static;
	}

	footer {
		justify-content: center;
		flex-direction: column;
		align-items: center;
		gap: 6px;
	}

	footer p {
		text-align: center;
	}

	article span {
		white-space: nowrap;
	}
}