.mask {
	overflow: hidden;
	box-shadow: 0px 0px 30px -5px black;
	display: flex;
	justify-content: flex-start;
}
.mask:hover {
	box-shadow: 5px 5px 70px -50px #155daf93;
}
.mask .img {
	transition: all 600ms ease;
	background-color: black;
	width: 100%;
	flex-shrink: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

main,
section {
	max-width: 1480px;
	width: calc(2 / 3 * 100%);
	min-width: 700px;
	display: flex;
}
main .mask {
	width: 100%;
	aspect-ratio: 2.67;
	background-size: cover;
	-webkit-mask-image: linear-gradient(
		90deg,
		rgba(25, 25, 55, 0),
		rgba(25, 25, 55, 0.5)
	);
	mask-image: linear-gradient(
		90deg,
		rgba(25, 25, 55, 0.13),
		rgba(25, 25, 55, 0.733)
	);
}
main,
section {
	padding: 1.5rem;
}
.mask .img {
	height: 100%;
}
main h1 {
	position: absolute;
	margin: 2rem;
	font-size: 4em;
	color: var(--color-arapawa-50);
	z-index: 5;
}
header {
	position: relative;
	width: 100%;
	background-color: var(--color-lochmara-950);
	border-radius: 5px;
	overflow: hidden;
}

.description {
	flex-direction: column;
	max-width: 40em;
}
.controls {
	position: absolute;
	width: 100%;
	z-index: 3;
	bottom: 1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 1.5rem;
}
.controls button {
	all: unset;
	width: 64px;
	cursor: pointer;
}
.controls button:hover svg {
	fill: var(--color-lochmara-300);
}
.controls button#left svg {
	transform: rotate(180deg);
}
.controls button svg {
	transition: fill 300ms ease;
	fill: var(--color-lochmara-100);
	width: 100%;
	height: 100%;
}
.controls #buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2.5rem;
}
#indicator {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}
#indicator > span {
	height: 5px;
	width: 30px;
	background-color: var(--color-lochmara-100);
	transition: background-color 500ms ease;
}
#indicator > span.active {
	background-color: var(--color-lochmara-500);
}

@media only screen and (max-width: 1250px) {
	header {
		width: 100%;
		flex-direction: column;
	}
	main,
	section {
		width: 100%;
		min-width: 200px;
	}
}

@media only screen and (max-width: 700px) {
	main,
	.mask {
		height: 350px;
	}
	main header h1 {
		font-size: 2.75em;
	}
	nav {
		position: sticky;
		top: 0;
		background-color: var(--color-lochmara-50);
	}
	.nav-content {
		padding: 1rem;
	}
	nav h1 {
		font-size: 1.5em;
	}
	nav > .nav-content {
		display: flex;
	}
	nav .img-container {
		gap: 0.5rem;
	}
	main,
	section {
		padding: 1rem;
	}

	article {
		display: flex;
		flex-direction: column;
		border-radius: 7.5px;
		overflow: hidden;
		font-size: 1.25rem;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
	article h2 {
		position: absolute;
		color: var(--color-arapawa-50);
		font-size: 1.2em;
		width: 100%;
		left: 0;
		padding: 1em;
		background-color: #007fc4d2;
	}
	article.inverse img {
		margin-left: 0;
	}
	footer .img-container img {
		display: none;
	}
	footer .img-container {
		justify-content: center;
	}
	footer p {
		width: max-content;
		margin: 1em auto;
	}
	footer .footer-links {
		margin-top: 1.5em;
	}
}
