﻿@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;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 27px;
	line-height: 1.4;
	color: #7B8186;
	font-weight: 400;
}

#wrapper {
	max-width: 780px;
	margin: 1rem auto;
	border: solid thin #7B8186;
	overflow: hidden;
	position: relative;
	background: #BDE0E6;
}

strong {
	font-weight: 700;
}

hr {
	border: none;
	height: 3px;
	background: #95CDD6;
	margin-bottom: 12px;
	max-width: 345px;
	width: 100%;
}

article {
	padding: 0 20px;
	position: relative;
}

section {
	position: absolute;
	top: 0;
	right: 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

section img {
	margin-right: 10px;
}

section p {
	text-align: right;
	font-size: 12px;
	line-height: 16px;
}

.div {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 0 67px 0 0;
}

.div p {
	color: #F16159;
	font-size: 14px;
	line-height: 19px;
}

.flex {
	position: relative;
	padding-bottom: 23px;
}

.flex p {
	position: absolute;
	bottom: 0;
	right: -53px;
	-ms-transform: rotate(-20deg);
	-webkit-transform: rotate(-20deg);
	transform: rotate(-20deg);
	text-align: center;
}

h1 {
	font-size: 36px;
	margin: 12px 0;
	line-height: 1.2;
	font-weight: 700;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

p:not(:last-child) {
	margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #7B8186;
	text-decoration: none;
	white-space: nowrap;
}

@media screen and (max-width:778px) {
	body {
		font-size: 24px;
	}

	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, h1) {
		hyphens: auto;
		text-wrap: pretty;
	}

	section, .div {
		position: static;
		align-items: center;
		gap: 10px;
	}

	br {
		display: none;
	}

	section img {
		margin-right: 0;
	}

	section p {
		text-align: center;
	}

	.flex p {
		position: static;
		-ms-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	.div {
		padding-right: 0;
	}

	h1 {
		font-size: 32px;
		line-height: 1.2;
	}
}