:root {
	--primary-color: #004870;
	--secondary-color: #F9B000;
	--gutter: 50px;
}

@font-face {
	font-family: "Acumin";
	src: url("../fonts/acumin.ttf") format("truetype");
	font-style: normal;
	font-display: swap;
	font-synthesis: none;
	font-stretch: 50% 115%;

}

* {
	box-sizing: border-box;
}

body {
	margin: 0;

	color: var(--primary-color);
	background-color: var(--primary-color);

	font-family: "Acumin", sans-serif;
	font-size: 16pt;
	font-stretch: 75%;
}


p {
	margin-block: 0.75rem;

	& a {
		color: inherit;
		text-decoration: none;
	}
}

h2 {
	margin-bottom: 0.25em;

	font-size: 2rem;
	font-weight: bold;
}

h3 {
	font-size: 20pt;
	font-weight: 600;
	font-stretch: 50%;
}

.wrap {
	max-width: 1200px;
	margin: auto;
	background-color: white;
}

header {
	margin-bottom: -15px;
	padding-top: 50px;
	text-align: center;

	&> img {
		height: auto;
		width: 60%;
	}
}

.hero,
footer {
	img {
		display: block;
		width: 100%;
		height: auto;
	}
}

main {
	margin: var(--gutter);

	& p.more {
		margin-top: var(--gutter);
	}
}

footer {
	display: flex;
	flex-direction: column;
	margin-top: var(--gutter);

	address {
		position: relative;
		margin-inline: var(--gutter);
		font-weight: 700;
		font-style: normal;
	}
}

.list-elem-with-desc {
	list-style: none;
	margin: 0;
	padding: 0;

	h3 {
		margin: 0;
	}
}

.contact-button {
	display: block;
	width: fit-content;
	margin-inline: auto;

	padding: 28px 30px 25px;
	border-radius: 50px;

	color: white;
	background-color: var(--secondary-color);

	text-decoration: none;
	text-transform: uppercase;

	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;

	@media screen and (max-width: 600px) {
		margin-block: 50px 20px;
	}
}

.hero {
	position: relative;
	container-type: inline-size;

	.hero-text {
		position: absolute;
		bottom: 10%;
		inset-inline: var(--gutter);
		z-index: 2;

		font-size: 2.5cqi;
		font-weight: 700;
		font-stretch: 60%;

		line-height: 1.1;
		text-transform: uppercase;

		h1 {
			margin-bottom: 0.5px;
			color: var(--secondary-color);
		}

		p {
			margin-block: 0.25px;
			color: white;
		}
	}

	.hero-overlay {
		position: absolute;

		width: 100%;
		height: 100%;
		z-index: 1;

		background: var(--primary-color);
		opacity: 0.5;
	}
}


@supports (font: -apple-system-body) and (-webkit-appearance: none) {
	h2,
	h3,
	strong {
		font-weight: 600;
		font-stretch: 60%;
	}

	h3 {
		font-weight: 599;
	}
}
