﻿@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: 15px;
	line-height: 20px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 555px;
	margin: 1rem auto;
	border: solid 7px #e73148;
	overflow: hidden;
	position: relative;
	background: #FCFCFC;
}

strong {
	font-weight: 700;
}

header {
	display: flex;
	justify-content: center;
}

article {
	padding: 0 16px;
}

article section {
	margin: 5px -16px;
	padding: 5px 50px;
	display: flex;
	align-items: center;
	gap: 50px;
	background: #293F2A;
}

.flexbox {
	display: flex;
	justify-content: space-between;
}

.flexbox div {
	width: 49%;
}

.flexbox div p {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.flexbox div:nth-of-type(1) {
	border-right: #BE1729 1px solid;
	padding-right: 10px;
}

footer {
	padding: 0 16px;
	display: flex;
	justify-content: space-between;
}

footer p {
	display: flex;
	align-items: center;
	gap: 20px;
}

footer p strong {
	color: #BE1729;
}

section p {
	color: #fff;
	font-size: 20px;
	line-height: 24px;
}

h1 {
	font-size: 59px;
	margin: 0 0 16px;
	line-height: 28px;
	font-weight: 700;
	color: #223621;
	text-align: center;
}

h1 span {
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 15px;
	display: block;
	color: #000000;
}

h1 small {
	font-size: 30px;
}

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;
}

a[href^="tel:"] {
	color: #0a2914;
	font-weight: 700;
	font-size: 26px;
	line-height: 1;
}

@media screen and (max-width:553px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, h1) {
		hyphens: auto;
		text-wrap: pretty;
	}

	.flexbox {
		flex-direction: column;
		gap: 10px;
	}

	.flexbox div {
		width: auto;
		border-right: none !important;
		padding-right: none !important;
	}

	footer, article section {
		flex-direction: column;
		align-items: center;
	}

	article section {
		gap: 16px;
		padding-right: 15px 16px;
	}

	article section p {
		text-align: center;
	}

	article section p br {
		display: none;
	}

	footer {
		padding: 16px;
	}

	h1 {
		font-size: 30px;
		line-height: 34px;
	}

	h1 small {
		font-size: 24px;
	}
}