:root {
	--topbar-height: 90px;
	--topbar-padding: 4vw;
	--content-padding: 8vw;
	--content-padding-top: 30px;
	--theme-blue: #0071db;
}

@media (max-width: 1000px) {
	:root {
		--topbar-height: 76px;
	}
}

/* Fonts */
.special-gothic-expanded-one-regular {
	font-family: "Special Gothic Expanded One", sans-serif;
	font-weight: 400;
	font-style: normal;
}
.montserrat-600 {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

/* Typography */
body, button {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}
h1 {
	font-size: 3.5vmax;
}
h2 {
	font-size: 2.8vmax;
}
h3 {
	font-size: 2.5vmax;
	font-weight: 500;
}
p, li {
	font-size: 20px;
	color: #333333;
}
ul {
	list-style-position: inside;
}

/* Layout and Structure */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	background-image: url(images/bgmain.png);
	background-attachment: fixed;
	background-size: cover;
	background-color: #ccd2d6;
	-webkit-tap-highlight-color: transparent;
}
#topbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	z-index: 2;
	width: 100vw;
	position: fixed;
	top: 0;
	color: var(--theme-blue);
	background-color: rgba(249, 249, 249, 0.9);
	backdrop-filter: blur(10px);
	height: var(--topbar-height);
	padding: 0 var(--topbar-padding) 0 var(--topbar-padding);
	column-gap: 1vw;
}
#logo {
	height: var(--topbar-height);
}
#title {
	font-style: italic;
	font-size: min(6vw, 50px);
	min-width: 62px;
	flex: 1 1 0;
}
#topbar .hamburger {
	--hamburger-line-color: var(--theme-blue);
	display: none;
	color: var(--theme-blue);
}
#nav-links {
	display: flex;
	flex-direction: row;
	align-content: space-between;
	gap: 2.5vw;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
#nav-links.visible {
	opacity: 1 !important;
	visibility: visible !important;
}
img.banner-small {
	max-height: 40vh;
	width: 100%;
	margin-top: calc(-1 * var(--content-padding-top));
	margin-bottom: 15px;
	align-self: center;
	object-fit: cover;
}
img.banner-cover {
	max-height: 60vh;
	width: 100vw;
	object-fit: cover;
	margin-left: calc(-1 * var(--content-padding));
	margin-top: calc(-1 * var(--content-padding-top));
	margin-bottom: 15px;
	align-self: flex-start;
}
#content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100lvh;
	z-index: 0;
	padding-top: calc(var(--content-padding-top) + var(--topbar-height));
	padding-left: var(--content-padding);
	padding-right: var(--content-padding);
	padding-bottom: 150px;
	background-color: rgba(245, 245, 245, 0.85);
}
.column-wrapper {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 2vw;
	row-gap: 4vw;
}
.text-column {
	flex: 1 0 0;
	min-width: 30%;
}
img.slideshow {
	object-fit: cover;
	width: 100%;
	opacity: 1;
	transition: opacity 0.3s ease;
}
img.slideshow.fade-out {
	opacity: 0;
}
.article-image {
	max-width: 100%;
}
footer {
	position: absolute;
	z-index: 1;
	bottom: 0;
	text-align: center;
	left: 0;
	width: 100vw;
	margin: 30px 0 30px 0;
	padding: 0 var(--content-padding) 0 var(--content-padding);
}

/* Buttons */
.button {
	display: inline-block;
	color: inherit !important;
	text-align: center;
	text-decoration: none;
	box-sizing: content-box;
	font-size: min(15px, max(4.4vw, 12px));
	padding: 10px 18px 10px 18px;
	margin: 12px 5px 12px 5px;
	width: 10ch;
	color: inherit;
	background-color: transparent;
	outline: none;
	border-radius: 8px;
	border: 1.5px solid;
	border-color: black;
}
.button:hover, .button:active, .button.active {
	background-color: var(--theme-blue);
	color: white !important;
	text-decoration: none;
	border-color: transparent;
	cursor: pointer;
}
.button.active {
	opacity: 0.7;
}

/* Navigation Links */
.nav-link {
	font-size: min(1.6vmax, 18px);
	text-underline-offset: 0.5vmax;
}
.nav-link, .nav-link:visited {
	text-decoration: none;
	color: inherit;
}
.nav-link.active {
	text-decoration: underline;
}
.nav-link:hover {
	text-decoration: inherit;
	opacity: 0.7;
}
.nav-link.active:hover {
	text-decoration: underline;
}

/* Persistent Links */
a, a:visited {
	text-decoration: none;
	color: var(--theme-blue);
}
a:hover {
	text-decoration: underline;
}
a:active {
	color: inherit;
}

/* Utility Classes */
.align-center {
	text-align: center;
}
.push-left {
	align-self: flex-start;
}
.align-left {
	text-align: left;
}
.snippet {
	width: min(100%, 650px);
	align-self: center;
}
.uncolored-link {
	color: inherit !important;
}
.box-shadow {
	box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.3);
}
span.half-line-break {
	width: 100%;
	display: block;
	height: 0.5em;
}
/* Contact */
#contact-interact-wrapper {
	display: flex;
	flex-direction: row;
	width: 100%;
	align-items: center;
	column-gap: 2vmin;
	flex-wrap: wrap;
	flex: 0 0 auto;
}
#reveal-contact.button {
	width: auto;
}
#contact-text {
	width: fit-content;
	opacity: 0;
	transition: opacity 0.6s ease;
	font-size: 18px;
	user-select: none;
}
#contact-text.visible {
	opacity: 1;
	user-select: auto;
}