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

@font-face {
	font-family: "Acumin";
	src: url("../fonts/acumin.ttf") format("truetype");
	font-style: normal;
	font-display: swap;
	/* font-variation-settings: "wdth" 50; */
	font-variation-settings: "wdth" 75;

}

* {
	box-sizing: border-box;
}

p {
	margin-block: 0.75rem;

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

hgroup {
	font-variation-settings: "wdth" 50;
	font-size: 20pt;
	font-weight: 500;
	margin: 2.5rem 0 1.5rem 0;

	h2 {
		margin-bottom: 0.25em;
		font-weight: bold;
	}

	p {
		margin-top: 0;
		font-size: 1.2em;
	}
}

h3 {
	font-variation-settings: "wdth" 50;
	font-size: 20pt;
	font-weight: bold;
}

body {
	margin: 0;
	color: var(--primary-color);
	background-color: var(--primary-color);

	font-family: "Acumin";
	font-size: 16pt;
}

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

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

	&> img {
		height: 100px;
		width: auto;
	}
}

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

main {
	margin: 50px;
	p.more {
		margin-top: 50px;
	}
}

footer {
	display: flex;
	flex-direction: column;
	margin-top: 50px;

	address {
		position: relative;
		margin-inline: 50px;
		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;

	h1 {
		position: absolute;
		color: var(--secondary-color);
		top: 35%;
		inset-inline: 50px;
		z-index: 2;

		/* font-size: 3.5rem; */
		font-size: 5cqi;
		font-weight: 700;
		font-variation-settings: "wdth" 60;

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

	.hero-overlay {
		position: absolute;

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

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