﻿@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/roboto-v30-latin-regular.eot');
	src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/roboto-v30-latin-700.eot');
	src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 16px;
	line-height: 19px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 490px;
	margin: 1rem auto;
	padding: 10px;
	border: solid 2px #242021;
	overflow: hidden;
	position: relative;
}

strong {
	font-weight: 700;
}

header {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	gap: 19px;
}

header p {
	flex: 1 1 0;
}

article {
	padding: 0 0 10px;
}

footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px
}

footer p {
	flex: 1 1 0;
}
ins{
	color: #0e6eb6 !important;
}
h1 {
	font-size: 20px;
	line-height: 1.2;
	font-weight: 700;
	margin: 16px 0;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
}

@media screen and (max-width: 489px) {
	#wrapper {
		border: none;
		margin: 0;
		hyphens: auto;
		padding: 1rem;
	}

	br:not(footer br) {
		display: none;
	}

	p {
		text-align: left;
	}

	:is(p span, footer a) {
		white-space: nowrap;
	}

	header p {
		text-align: left;
	}

	footer img {
		position: static;
	}

	footer {
		display: flex;
		justify-content: space-between;
		gap: 16px;
	}

	footer p {
		flex: 1 1 0;
	}
}

@media screen and (max-width: 418px) {
	:is(header, footer) {
		flex-direction: column;
		align-items: center;
	}

	footer {
		gap: 10px;
	}

footer p {
    width: 100%;
}

	h1 {
		font-size: 24px;
	}
}