
/* Config --------------------------------------------------------------- */

:root {
	--body-font: Arial, Helvetica Neue, Helvetica, sans-serif;
	--title-font: din-2014, sans-serif;
	--light-color: #0498bf;
	--dark-color: #00759e;
	--light-gray-color: #eee;
	--gray-color: #D3D3D3;
	--dark-gray-color: #808080;
	--line-height: 1.5;
	--content-width: 1200px;
	--margin: 30px;
}

/* CSS Reset --------------------------------------------------------------- */

/* [1] tl;dr; All elements inherit some properties from their parent (recursive step) */
* {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-family: inherit;
	color: inherit;
	background: inherit;
	box-sizing: inherit;
	/* Add more properties here */
}

/* [2] tl;dr; Provide inheritable defaults (base case) */
html {
	box-sizing: border-box;
	font-size: 16px;
	font-family: var(--body-font);
	color: black;
	background: transparent;
	line-height: var(--line-height);
	/* provide defaults for properties in [1] (except margin & padding */
}

/* Core Styling --------------------------------------------------------------- */

body > header > nav > ul > a {
	display: inline-block;
	box-sizing: border-box;
	padding: calc(var(--margin) * 0.25) calc(var(--margin) * 0.5);
	text-decoration: none;
	cursor: pointer;
}

body > header,
h1, h2, h3, h4, h5, h6 {
	font-family: var(--title-font);
	color: var(--light-color);
	text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
	font-style: italic;
	letter-spacing: 0.2ex;
	margin-bottom: calc(var(--margin) / 2);
}

p:not(:last-child) {
	margin-bottom: 1em;
}

hr {
	width: 200px;
	height: 1px;
	margin: var(--margin) auto;
	background: var(--gray-color);
	border: none;
}

.blue-background {
	color: white;
	background-color: var(--light-color);
}

.blue-background h2 {
	color: white;
}

.gray-background {
	background: var(--light-gray-color);
}

/* Core Layout --------------------------------------------------------------- */

body {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	min-height: 100vh;
}

body > main {
	flex: 1;
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

body > header {
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-flow: row wrap;
	row-gap: calc(var(--margin) / 2);
}

/* Site Icon */
body > header img {
	height: 66px;
}

section,
footer {
	width: 100%;
}

footer,
section:not(.fullwidth) {
	padding: var(--margin) calc(var(--margin) + calc(max(0px, calc(100% - var(--content-width))) / 2));
}

/* Specific Element Layout --------------------------------------------------------------- */

#splash img,
#photo-banner img {
	width: 100%;
	object-fit: cover;
	display: block;
}

#bio header {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	margin-bottom: var(--margin);
	row-gap: var(--margin);
	column-gap: var(--margin);
}

#testimonials .testimonial-text {
	font-style: italic;
	font-weight: bold;
}

#contact-form {
	background-image: url(Chain%20CS%20Icon%20-%20RGB%20-%20Optimized.svg);
	background-repeat: no-repeat;
	background-position: bottom 0px right var(--margin);
	background-size: 180px 180px;
}

#contact-form * {
	background: transparent !important;
}

