@font-face {
  font-family: "Knile";
  src: url("knile-regular-webfont.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Knile";
  src: url("knile-regularitalic-webfont.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Knile";
  src: url("knile-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Knile";
  src: url("knile-black-webfont.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Knile";
  src: url("knile-blackitalic-webfont.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
}

* {
	font-family: 'Knile';
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--body-color: white;
	--main-color: hsl(40, 30%, 95%);
	--alt-color: hsl(0, 50%, 48%);
	--alt-one: hsl(340, 40%, 46%);
	--alt-two: hsl(320, 30%, 44%);
	--alt-three: hsl(300, 25%, 42%);
	--alt-four: hsl(40, 60%, 50%);
	--alt-five: hsl(20, 60%, 50%);
	--buffer-unit: calc(100lvh - 100svh);
}

body {
	color: var(--body-color);
	background-color: var(--main-color);
	scroll-snap-stop: always;
	scroll-snap-type: y mandatory;
	overflow-x: hidden;
}

header {
	position: relative;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
	font-size: 1.5rem;
	text-align: center;
}

header h1 {
	font-weight: 700;
	font-size: 1.7em;
	line-height: .9;
	margin-bottom: 0;
}

.backdrop {
	position: absolute;
	height: 100%;
	width: 100%;
	overflow: clip;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
}

.backdrop img {
	height: 100vh;
	width: auto;
}

.crawl {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow-y: scroll
}

.crawl-content {
	width: 90vw;
	max-width: 38rem;
	margin: 0 auto 0 auto;
}

.crawl-content a {
	color: var(--body-color);
}

.crawl-content p {
	margin-bottom: 2rem;
}

.main-crawl p {
	margin-bottom: 4rem;
}

.title {
	position: relative;
	height: 100%;
	display: flex;
	flex-flow: column;
	align-content: center;
	align-items: center;
	justify-items: center;
	justify-content: center;
}

.title img {
	position: absolute;
	bottom: 0;
	width: 3rem;
	margin: 0 auto calc(3rem + var(--buffer-unit)) auto;
}

main {
	position: relative;
	background-color: var(--main-color);
}

main h2 {
	font-style: italic;
	font-weight: 900;
	line-height: 1;
}

.menu-bar {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1rem 1rem .7rem 4vw;
	color: var(--alt-color);
	background-color: var(--main-color);
	border-bottom: .1rem solid var(--alt-color);
}

.menu-bar h1 {
	font-style: italic;
	line-height: 0.5;
	margin-bottom: 0;
}

.triple-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	width: 92%;
	margin: 1rem auto 2rem auto;
}

.double-grid {
	display: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .8rem;
	width: 92%;
	margin: 1rem auto 2rem auto;
}

.single-grid {
	display: none;
	width: 92%;
	margin: 1rem auto 2rem auto;
}

.bill {
	height: min-content;
	color: var(--main-color);
	background-color: var(--alt-color);
	margin-bottom: .8rem;
	padding: .6rem .6rem .5rem .6rem;
}

.bill h2 {
	font-style: italic;
	font-weight: 900;
	padding-top: .6rem;
	border-top: .1rem solid var(--main-color);
	margin-bottom: .3rem;
}

.bill p, .bill a {
	margin-bottom: 0;
}

.bill a {
	color: var(--main-color);
	font-style: italic;
}

.bill img {
	border-bottom: .1rem solid var(--main-color);
	padding-bottom: .1rem;
	margin: .5rem 0 .2rem 0;
}

.alt-one {
	--alt-color: var(--alt-one);
}

.alt-two {
	--alt-color: var(--alt-two);
}

.alt-three {
	--alt-color: var(--alt-three);
}

.alt-four {
	--alt-color: var(--alt-four);
}

.alt-five {
	--alt-color: var(--alt-five);
}

@media screen and (max-width: 46rem) {
	header {
		font-size: 1.2rem;
	}
	
	header p {
		line-height: 1.1;
	}
	
	.triple-grid {
		display: none;
	}
	
	.double-grid {
		display: grid;
	}
}

@media screen and (max-width: 32rem) {
	
	.double-grid {
		display: none;
	}
	
	.single-grid {
		display: block;
	}
}

@media screen and (min-width: 150vh) {
	.backdrop img {
		height: auto;
		width: 100vw;
	}
}