@import url('//computational-geometry.org/css/style.css');

@font-face {
	font-family: 'Recursive';
	font-weight: 100 1000;
	font-style: oblique 0deg 14deg;
	src: url('/fonts/Recursive_VF_1.085.woff2');
}

html {
	--accent-color: #0e80cd;
	--secondary-accent-color: #c22c5d;
}

@media(prefers-color-scheme: dark) {
	html {
		--accent-color: #66a6e6;
		--secondary-accent-color: #ca6a8a;
	}
}

.h1-container {
	margin: auto;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

h1 {
	font-size: 180%;
	font-weight: 500;
	position: relative;
	line-height: 1.5;
	margin: 0;
}

h1 .title-container {
	z-index: 1;
	padding-top: 20px;
	padding-bottom: 15px;
	margin: 0;
}

h1::before {
	position: absolute;
	transform: rotate(-45deg);
	content: "";
	background: var(--background-color);
	width: 400px;
	height: 400px;
	margin: 0;
	padding: 0;
	box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.1);
}

h1 .location-header {
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 10px;
}

.header-container {
	position: relative;
	padding: 0;
}

.header-container::before {
	position: absolute;
	content: "";
	width: 30%;
	min-width: calc(50% - 150px);
	background: url('/images/header-1.jpg');
	background-size: cover;
	background-position: top center;
	padding: 0;
	left: 0;
	top: 0;
	bottom: 0;
}

.header-container::after {
	position: absolute;
	content: "";
	width: 30%;
	min-width: calc(50% - 150px);
	background: url('/images/header-2.jpg');
	background-size: cover;
	background-position: top center;
	padding: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

@media(max-width: 800px) {
	h1::before {
		width: 350px;
		height: 350px;
	}

	h1 .title-container {
		padding-top: 15px;
		padding-bottom: 10px;
	}
}

@media(max-width: 600px) {
	h1::before {
		width: 300px;
		height: 300px;
	}

	h1 {
		font-size: 160%;
	}

	h1 .location-header {
		font-size: 16px;
	}

	h1 .title-container {
		padding-top: 13px;
		padding-bottom: 8px;
	}
}

@media(max-width: 500px) {
	h1::before {
		width: 270px;
		height: 270px;
	}

	h1 .title-container {
		padding-top: 10px;
		padding-bottom: 5px;
	}
}

@media(max-width: 400px) {
	.header-container::before,
	.header-container::after,
	h1::before {
		content: none;
	}
}
