/* Copyright Todd Buller All Rights Reserved */
/* Font Licenses:
* https://bullerdesignscapes.com/assets/fonts/Libre_Baskerville/OFL.txt
* https://bullerdesignscapes.com/assets/fonts/Rubik/OFL.txt
*/

* {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}
menu { list-style: none }
a, button { cursor: pointer }
ul, ol { list-style-position: inside }
button {
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
}

:root {
	--color: #12b47a;
	--color-page: #f7f7f7;
	--color-matte: #eaeaea;
	--color-text: #222;
	--color-background-header: #444;
	--color-border: rgba(115,115,115,.25);
	--unit-2x: 28px;
	--unit-1x: 14px;
	--unit-05x: 7px;
	--unit-025x: 3.5px;
	#subtitle, main h1, main h2 { opacity: .9 }
}
@media (prefers-color-scheme: dark) {
	:root {
		--color-page: #222;
		--color-matte: #111;
		--color-text: #fff;
		--color-border: rgba(255,255,255,.15);
	}
	#banner, main img { opacity: .95 }
	#subtitle, main h1, main h2 { opacity: 1 }
}

@font-face {
	font-family: "LibreBaskerville";
	src: url("/assets/fonts/Libre_Baskerville/LibreBaskerville-Bold.woff2");
	font-weight: 700;
}
@font-face {
	font-family: "LibreBaskerville";
	src: url("/assets/fonts/Libre_Baskerville/LibreBaskerville-Regular.woff2");
	font-weight: 400;
}
@font-face {
	font-family: "Rubik";
	src: url("/assets/fonts/Rubik/Rubik-ExtraBold.woff2");
	font-weight: 800;
}

body {
	background-color: var(--color-matte);
	color: var(--color-text);
	font-family: "LibreBaskerville", Georgia, serif;
	min-height: 100vh;
	cursor: default;
}
p {
	width: 100%;
	max-width: 640px;
	min-width: 320px;
	line-height: 1.5em;
}
a {
	color: var(--color-text);
	text-decoration-color: var(--color);
}
.button {
	font-family: "Rubik";
	line-height: 0;
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	background-color: var(--color);
	background: linear-gradient(-67deg, #008ab6, var(--color));
	text-shadow: -1px 1px 0 rgba(0,0,0,.5);
	padding: calc(var(--unit-1x) * 1.2) calc(var(--unit-05x) * 1.25);
	border-radius: calc(var(--unit-1x) * 1.25);
}
img {
	line-height: 0;
	background-color: var(--color-matte);
}
img:not(.framed) {
	width: auto;
	max-width: 100%;
	height: auto;
}
hr {
	width: 100%;
	border-top: 1px solid var(--color-border);
	margin: var(--unit-1x) 0;
}

header, main, footer, #scroll-button-container {
	width: 1080px;
	max-width: 100%;
	margin: 0 auto;
}
main, footer { padding: var(--unit-1x) calc(var(--unit-1x) * 1.5) }
body:not(.bannered) main { padding-top: 107px }
body.bannered main { padding-top: 22px }
.page { background-color: var(--color-page) }

/* LAYOUT */

.row, .col {
	display: flex;
	flex-wrap: nowrap;
}
.row { flex-direction: row }
.col { flex-direction: column }
.wrap { flex-wrap: wrap }
.align-center { align-items: center }
.align-end { align-items: flex-end }
.space-between { justify-content: space-between }
.justify-end { justify-content: end }
.justify-center { justify-content: center }
.grow-1 { flex-grow: 1 }
.gap-0 { gap: 0 }
.gap-2x { gap: var(--unit-2x) }
.gap-1_5x { gap: calc(var(--unit-1x) * 1.5) }
.gap-1x { gap: var(--unit-1x) }
.gap-05x { gap: var(--unit-05x) }
.gap-025x { gap: var(--unit-025x) }

#site-title {
	color: #f2e6d7;
	text-shadow: 0 0 1px #000;
	text-decoration: none;
	@media only screen and (max-width: 400px) { font-size: 1.32em; }
	@media only screen and (max-width: 320px) { font-size: 1.12em; }
}
.bannered #site-title { cursor: default }
#site-title span, .site-title span {
	font-size: .5em;
	margin-left: -1px;
}
#site-title, .site-title, main h1, main h2 {
	font-size: 1.42em;
	font-family: "Rubik", sans-serif;
	font-weight: 800;
	line-height: 1em;
}
.site-title {
	opacity: .85;
	font-size: 1.32em;
}
#subtitle {
	font-family: ;
	font-size: 1em;
	line-height: 1em;
}
main h1, main h2 { line-height: 1.5em }
.bold { font-weight: 700 }
.italic { font-style: italic }
header {
	user-select: none;
	-webkit-user-select: none;
}
#header {
	background-color: var(--color-background-header);
	padding: var(--unit-2x) var(--unit-1x) var(--unit-2x) calc(var(--unit-1x) * 1.25);
	position: fixed;
	z-index: 100;
	top: var(--unit-05x);
	margin-left: var(--unit-05x);
	border-radius: var(--unit-05x);
	border: 1px solid var(--color-border);
	min-width: 360px;
}
body:not(.menu) #header.sometimes-absolute {
	@media only screen and (max-width: 420px) { position: absolute; }
	@media only screen and (max-height: 420px) { position: absolute; }
}
header a { color: #fff }
#toggle {
	padding: var(--unit-05x);
	border-radius: var(--05x);
	gap: 5px;
	background-color: transparent;
}
.bar {
	width: 28px;
	height: 2px;
	background-color: #fff;
	border: 1px solid #fff;
	box-shadow: 0 0 1px #000;
	border-radius: 1px;
	transform: rotate(0deg);
	transition: transform .1s ease-out;
}
.menu .bar {
	box-shadow: none;
	transform-origin: center center;
	transition: transform .1s ease-in;
}
.menu .bar:nth-child(1) {
	transform: rotate(-45deg);
	margin: 6.5px 0 -3px 0;
}
.menu .bar:nth-child(2) { display: none }
.menu .bar:nth-child(3) {
	transform: rotate(45deg);
	margin: -4px 0 7.5px 0;
}
nav {
	display: none;
	color: lightgray;
	padding-bottom: var(--unit-1x);
	max-height: calc(100vh - 88px - 44px);
	overflow: scroll;
	padding-left: var(--unit-025x);
	transition: max-height .25s ease-in;
}
menu li em { display: none }
.no-js header:hover nav, .menu nav { display: flex }
.current {
	opacity: .8;
	text-decoration-color: transparent;
	cursor: default;
}
.menu { overflow: hidden }
#close {
	display: none;
	background-color: rgba(0,0,0,.25);
	position: fixed;
	top: -50px;
	left: -50px;
	right: -50px;
	bottom: -50px;
	z-index: 90;
	cursor: default;
}
.menu #close { display: block }

#banner {
	margin: 0 auto;
	width: 100vw;
	max-width: 100%;
	overflow: hidden;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--color-matte);
	background-image: url("/assets/banner-001.jpeg");
	background-position: center center;
	background-size: cover;
	padding: 20px;
	justify-content: flex-end;
	align-items: flex-end;
	height: 80vh;
	@media only screen and (max-width: 640px) { height: 500px; }
	@media only screen and (max-width: 420px) {
		height: 80vh;
		background-position-x: 39%;
	}
}

main {
	padding-bottom: 42px;
	border-bottom-left-radius: var(--unit-05x);
	border-bottom-right-radius: var(--unit-05x);
}
footer {
	padding-top: var(--unit-2x);
	border-top: 1px solid var(--color-matte);
	border-top-left-radius: var(--unit-05x);
	border-top-right-radius: var(--unit-05x);
}

#logo {
	border-radius: 50%;
	box-shadow: 0 0 1px var(--color-border);
	pointer-events: none;
}
#copyright {
	opacity: .5;
	font-size: .75em;
	line-height: 1.25em;
	margin: 0 calc(var(--unit-05x) * -1);
}

/* COLOR BLOCKS */

.block-container.wrap {
	@media only screen and (min-width: 640px) { flex-wrap: nowrap }
}

.color-block {
	padding: var(--unit-2x);
	padding-bottom: calc(var(--unit-1x) * 3);
	width: 420px;
	max-width: 100%;
	background-color: #6e9cb6;
	background: linear-gradient(#6e9cb6, #6eb69c);
	font-weight: 600;
	font-size: 1.05em;
}
.color-block h2, .color-block ul { font-family: Helvetica, Arial, sans-serif }
.color-block h2 {opacity: 1 }
.color-block ul {
	text-shadow: 0 0 1px rgba(0,0,0,.25);
	list-style-type: square;
	list-style-position: outside;
	padding-left: calc(var(--unit-1x) * 1.25);
}
.color-block, .color-block a { color: #fff }
.color-block a, a.color-block { text-decoration-color: rgba(255,255,255,.5) }
#gallery .color-block {
	line-height: 1.5em;
	padding: var(--unit-1x);
}

figcaption {
	font-style: italic;
	font-size: .75em;
	line-height: 1.5em;
	text-indent: 1px;
	margin-bottom: calc(var(--unit-025x) * -1);
}
.framed {
	box-shadow: 0 0 1px var(--color-border);
	background-color: var(--color-matte);
}

/* GALLERY */

#gallery {
	@media only screen and (max-width: 640px) { margin: 0 calc(var(--unit-05x) * -1) }
}
#gallery figure, #gallery .color-block {
	width: calc(33.333% - 4.67px);
	@media only screen and (min-width: 640px) { width: calc(25% - 5.25px) }
	@media only screen and (min-width: 960px) { width: calc(20% - 5.6px) }
}
#gallery figure img {
	width: 100%;
	height: 120px;
	object-fit: cover;
}
a img:hover { box-shadow: 0 0 0 var(--color-border) }
a:has(img), a img, #gallery img, #gallery .color-block { border-radius: var(--unit-05x) }
a:has(img), a img, figure { line-height: 0 }
.image-list img {
	width: 85px;
	height: 85px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
}
.image-list a {
	padding: var(--unit-1x) var(--unit-025x);
	margin: calc(var(--unit-1x) * -1) calc(var(--unit-025x) * -1);
	border-radius: calc(var(--unit-025x));
}
#scroll-button-container {
	position: fixed;
	z-index: 20;
	left: 0;
	right: 0;
	bottom: 0;
	height: 0;
}
#scroll {
	background-color: var(--color);
	color: var(--color-page);
	border: 1px solid var(--color-border);
	padding: var(--unit-05x);
	line-height: var(--unit-05x);
	font-size: 1.25em;
	border-radius: 4px;
	position: fixed;
	bottom: calc(var(--unit-2x) * 2);
	z-index: 20;
}
@media only screen and (min-width: 1080px) {
	#scroll {
		margin-right: var(--unit-1x);
		opacity: 0;
		transition: opacity .25s ease-out;
	}
	body.may-scroll:not(.menu) #scroll {
		opacity: 1;
		transition: opacity .25s ease-in;
	}
}
@media only screen and (max-width: 1080px) {
	#scroll {
		right: -48px;
		transition: right .25s ease-out;
	}
	body.may-scroll:not(.menu) #scroll {
		right: var(--unit-1x);
		transition: right .25s ease-in;
	}
}

.normal { font-style: normal }
.light {
	font-size: .75em;
	opacity: .75;
}
*.lighter { opacity: .65 }

.hidden { display: none }

/* DOCUMENT END */

 
