@font-face {
	font-family: 'Avenir Next';
	src: url('fonts/AvenirNextLTW05-Regular.woff2') format('woff2'),
		url('fonts/AvenirNextLTW05-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir Next';
	src: url('fonts/AvenirNextLTW05-Medium.woff2') format('woff2'),
		url('fonts/AvenirNextLTW05-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir Next';
	src: url('fonts/AvenirNextLTW05-Bold.woff2') format('woff2'),
		url('fonts/AvenirNextLTW05-Bold.woff') format('woff');
	font-weight: 700;
	font-style: bold;
}

body {
	font-family: Avenir Next, Tahoma, sans-serif;
}

.maintenance-screen {
	margin: auto;
	margin-top: 48px;
	max-width: 972px;
}

.title-wrapper {
	text-align: center;
}

.title-wrapper img {
	width: 240px;
	margin-right: 1rem;
}

@media only screen and (max-width: 780px) {
	.title-wrapper img {
		width: 155px;
		margin-right: 0.5rem;
	}
}

.blocks {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.blocks__item {
	margin-top: 40px;
	filter: drop-shadow(0px 2px 4px rgba(87, 84, 82, 0.2));
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 24px 32px 12px;

	width: 412px;
	height: 276px;

	/* Grey tones/Grey 100 */
	background: #f7f6f5;
}
.blocks__item:nth-child(2n) {
	margin-left: 20px;
}

@media only screen and (max-width: 1000px) {
	.blocks__item {
		width: 300px;
		height: 324px;
	}
}
@media only screen and (max-width: 780px) {
	.blocks__item {
		width: 100%;
		max-width: 412px;
		height: 324px;
	}
}

.blocks__title {
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	line-height: 28px;
	text-align: center;
	color: #3d3935;
	margin: 4px 0px;
}

.blocks__item img {
	margin-bottom: 16px;
	width: 48px;
	height: 48px;
}

h1 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 43px;
	font-weight: 400;
	color: #da291c;
	display: flex;
	align-items: center;
	justify-content: center;
}
h1 span {
	margin-top: -3px;
}

@media only screen and (max-width: 780px) {
	h1 {
		font-size: 27px;
	}
	h1 span {
		margin-top: 0;
	}
}

h2 {
	margin: 0;
	font-weight: 700;
	font-size: 24px;
}

p {
	margin-top: 32px;
	text-align: center;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
}

@media only screen and (max-width: 780px) {
	.blocks__item:nth-child(2n) {
		margin-left: 0;
	}
}

@media only screen and (max-width: 420px) {
	.maintenance-screen {
		margin-top: 24px;
	}
	.blocks {
		display: block;
	}
	.blocks__item {
		width: auto;
		min-width: auto;
	}
	h2 {
		font-size: 18px;
	}
}
