﻿@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: 16px;
	line-height: 19px;
	color: #fff;
	font-weight: 400;
}

#wrapper {
	max-width: 800px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
	background: url(../images/airbus.jpg) no-repeat;
	height: 586px;
}

strong {
	font-weight: 700;
}

header {
	position: relative;
}

header img {
	opacity: 0;
}

article {
	position: absolute;
	bottom: 0;
	left: 30px;
	background: url(../images/background-content.png) no-repeat;
	width: 232px;
	height: 285px;
	padding: 51px 20px 0 20px;
}

footer {
	position: absolute;
	bottom: 14px;
	right: 30px;
	display: flex;
	justify-content: space-between;
	width: 59%;
	align-items: flex-end;
}

footer div {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

h1 {
	font-size: 18px;
	margin: 16px 0;
	line-height: 28px;
	font-weight: 700;
}

h1 span {
	font-weight: 400;
	display: block;
	font-size: 93%;
}

h2 {
	font-size: 38px;
	margin: 16px 0 0;
	line-height: 1.2;
	font-weight: 700;
}

h2 + p {
	font-size: 10px;
	line-height: 14px;
}

h3 {
	font-size: 42px;
	line-height: 1.2;
	font-weight: 400;
	position: absolute;
	top: 30px;
	left: 35px;
	text-shadow: #3E3B2D 1px 1px 2px;
}

h3 strong {
	font-weight: 700;
	color: #0D2C6C;
}

img {
	max-width: 100%;
}

p:not(:last-child) {
	margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #fff;
	text-decoration: none;
}

@media screen and (max-width:798px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, h1) {
		hyphens: auto;
		text-wrap: pretty;
	}

	h3 {
		top: 16px;
		left: 16px;
	}

	article {
		left: 16px;
	}

	footer {
		right: 16px;
	}
}

@media screen and (max-width:690px) {
	footer {
		width: auto;
		gap: 20px;
	}
}

@media screen and (max-width:650px) {
	footer {
		flex-direction: column;
		align-items: flex-end;
	}

	footer div {
		margin-bottom: 0;
	}
}

@media screen and (max-width:530px) {
	#wrapper {
		height: auto;
		background-size: cover;
	}

	header {
		padding: 16px;
	}

	header img {
		display: none;
	}

	h3 {
		font-size: 30px;
		position: static;
	}

	article {
		margin: 20px auto;
		padding: 16px;
		height: auto;
	}

	article, footer {
		position: static;
		background-size: cover;
	}

	footer {
		flex-direction: row;
		padding: 16px;
	}
}

@media screen and (max-width:390px) {
	footer .logo {
		margin-bottom: 22px;
	}
}