:root {
	--color-text: #2e2a22;
	--color-bg: #f5eace;
	--color-link: #99530d;
	--color-heading: #5F4207;
	--color-button: rgb(46, 42, 34);
}

@font-face {
	font-family: 'Futura Book';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('fonts/FuturaLT-Book.eot');
	src: url('fonts/FuturaLT-Book.eot?#iefix') format('embedded-opentype'),
		url('fonts/FuturaLT-Book.woff2') format('woff2'),
		url('fonts/FuturaLT-Book.woff') format('woff'),
		url('fonts/FuturaLT-Book.ttf') format('truetype');
}

@font-face {
	font-family: 'Futura Book';
	font-style: normal;
	font-weight: 100;
	font-display: auto;
	src: url('fonts/FuturaLT-Light.eot');
	src: url('fonts/FuturaLT-Light.eot?#iefix') format('embedded-opentype'),
		url('fonts/FuturaLT-Light.woff2') format('woff2'),
		url('fonts/FuturaLT-Light.woff') format('woff'),
		url('fonts/FuturaLT-Light.ttf') format('truetype');
}

@font-face {
	font-family: 'Futura Book';
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('fonts/FuturaLT.woff2') format('woff2'),
		url('fonts/FuturaLT.woff') format('woff'),
		url('fonts/FuturaLT.ttf') format('truetype');
}

body {
	color: var(--color-text);
	background: var(--color-bg) url("img/bg.jpg") repeat;
	font-family: "Futura Book", sans-serif;
	font-size: 17px;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

a {
	color: var(--color-link);
	text-decoration: underline;
}

nav {
	a {
		text-decoration: none;
	}
}

img {
	max-width: 100%;

	@media (max-width: 670px) {
		height: auto;
	}
}

h1 {
	margin: 0 0 2rem 0;

	img {
		display: block;
		margin: 0 auto;
	}
}

h2 {
	text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-heading);
}

.language-nav {
	color: #fff;
	background: var(--color-button);
	border-radius: 8px;
	box-shadow: 0 0 5px #00000088;
	line-height: normal;
	font-size: 12px;

	@media (max-width: 799px) {
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}

	ul {
		margin: 0;
		padding: .25rem 0;
		list-style: none;
	}

	a {
		display: block;
		padding: .25rem 1rem;
		color: inherit;
		white-space: nowrap;
	}

	svg {
		width: 1.5em;
		margin-right: .4em;
		vertical-align: text-top;
	}
}

p {
	&.lead {
		text-align: center;
	}
}

.main-nav {
	flex: 1 0 auto;

	.closer {
		display: none;
	}

	&:target {
		.closer {
			display: block;
		}

		.opener {
			display: none;
		}

		ul {
			@media (max-width: 799px) {
				display: flex;
			}
		}
	}

	ul {
		margin: 0;
		padding: 0;
		list-style: none;
		display: flex;
		justify-content: end;
		flex-direction: column;

		@media (min-width: 800px) {
			gap: 1.5rem;
			flex-direction: row;
		}

		@media (max-width: 799px) {
			display: none;
			background: #f5eace;
			position: absolute;
			top: 4rem;
			left: 0;
			right: 0;
			z-index: 100;
			box-shadow: 0 15px 30px rgba(0, 0, 0, .5);

			a {
				padding: .5rem 1rem;

				&.active {
					background: #e2d4b8
				}
			}

			li + li {
				border-top: 1px solid #e2d4b8;
			}
		}
	}

	a {
		display: block;
		font-weight: bold;
		color: var(--color-text);

		&.active {
			color: var(--color-link);
		}
	}

	.controls {
		a {
			padding: .75rem 0 .7rem 0;
		}

		@media (min-width: 800px) {
			display: none;
		}
	}
}

.site-header {
	padding: 0 1rem;
	font-size: 14.5px;
	letter-spacing: 1px;
	background-color: #f5eace7a;
	display: flex;
	gap: 1rem;
	align-items: stretch;

	@media (min-width: 800px) {
		padding: 1rem 2rem;
		gap: 1.5rem;
		align-items: center;
	}

	@media (max-width: 799px) {
		.main-nav {
			order: 1;
		}
	}
}

.site-brand {
	@media (max-width: 799px) {
		padding-top: .75rem;
	}

	img {
		display: block;
		width: 297px;
	}
}

.site-footer {
	padding: 1rem;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	background: var(--color-bg);

	@media (min-width: 600px) {
		padding: 1rem 2rem;
	}
}

.site-main {
	position: relative;
	padding: 6rem 1rem;

	.container {
		margin: 0 auto;
		max-width: 1060px;
		position: relative;
		z-index: 20;
	}

	&::before {
		background-image: url("img/bg-stamp.png");
		background-position-x: 0%;
		background-position-y: 0%;
		background-repeat: no-repeat;
		content: "";
		display: block;
		height: 303px;
		width: 471px;
		max-width: 100%;
		left: 0px;
		mix-blend-mode: multiply;
		opacity: 0.67;
		position: absolute;
		top: 0px;
		z-index: 10;
	}
}

.button {
	display: block;
	color: #fff;
	background: var(--color-button);
	text-decoration: none;
	padding: .25rem .75rem;
	min-width: 10rem;
	text-align: center;
}

.buttons {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	flex-direction: column;
	margin: 3rem 0;

	@media (min-width: 600px) {
		flex-direction: row;
	}
}

.hero-img {
	display: block;
	height: auto;
	width: 100%;
	margin-bottom: 4rem;
}

.video-overlay {
	background: #000;
	color: #fff;
	border: 0;
	width: 90vw;
	height: 90vh;

	&::backdrop {
		background: rgba(0, 0, 0, .8);
	}

	.closer {
		border: 0;
		color: inherit;
		background: transparent;
		padding: 0;
		display: block;
		cursor: pointer;
		float: right;
	}

	iframe {
		clear: both;
		border: 0;
		display: block;
		height: calc(100% - 30px);
		width: 100%;
	}
}
