* {
	--backgroundcolor: #fff;
	--navbackgroundcolor: #ebeada;
    --textcolor: #171717;
	--subduedcolor: #444444;
    --highlightcolor: #a3a3a3;
	--border-radius-buttons: 0.7em;
}

@media (prefers-color-scheme: dark) {
    * {
		--backgroundcolor: #121212;
		--navbackgroundcolor: #40403e;
		--textcolor: #aaa;
		--subduedcolor: #bbb;
		--highlightcolor: #a0a0a0;
    }
    .invert-colors {
		filter: invert();
	}
}

@font-face {
  font-family: "TradeWinds";
  src: url("../assets/TradeWinds-Regular.ttf");
}

@font-face {
  font-family: "MontserratSemiBold";
  src: url("../assets/Montserrat-SemiBold.ttf");
}

@font-face {
  font-family: "MontserratLight";
  src: url("../assets/Montserrat-Light.ttf");
}

html {
		font-family: MontserratLight, ui-serif, serif;
		font-size: 104%;
		background: var(--backgroundcolor);
        max-width: 72ch;
        margin: auto;
        line-height: 1.50;
		color: var(--textcolor);
}

header {
	font-family: MontserratSemiBold, ui-serif, serif;
    padding-top: 0.3em;
}

header h1 {
	font-size: 250%;
	margin-bottom: 0.1em;
}

p.subtitle {
	font-size: 90%;
	font-family: serif;
	text-align: center;
}

h1 {
	text-transform: uppercase;
	text-align: center;
}

h2 {
	text-align: center;
}

nav {
	display: flex;
	flex-wrap: wrap;
	padding: 0.5em;
	justify-content: center;
	/* justify-content: space-evenly; */
	gap: 20px;
	text-decoration: none;
}

nav.contact {
	background: var(--navbackgroundcolor);
	border-radius: var(--border-radius-buttons);
	color: black;
}

nav.pages {
	border-radius: var(--border-radius-buttons);
	padding: 0.5em;
}

nav div {
	padding-top: 0.1em;
	padding-bottom: 0.1em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	border-radius: var(--border-radius-buttons);
	font-size: 80%;
	font-family: MontserratLight;
}

nav div:hover {
	transform: scale(1.05);
}

.navitem {
	background: #7fa47f;
	padding: 0.5em;
	border-radius: 0.7em;
	font-size: 110%;
	color: white;
}

.linkcontainer {
	display: flex;
	justify-content: center;
	padding: 0.5em;
}

.linkbutton {
	background: #c8304c;
	padding: 1em;
	border-radius: 0.7em;
	font-size: 110%;
	color: white;
}

.linkbutton:hover {
	transform: scale(1.05);
}

a.ghostlink {
	text-decoration: none;
}

img {
	display: block;
    width: 80%;
	margin: auto;
    padding-top: 0.5em;
    padding-bottom: 0.0em;
}

#logo {
    max-width: 3ch;
	vertical-align: middle;
    padding-bottom: 0;
	padding-top: 0.0em;
}

video {
    width: 100%;
}

footer {
    margin-top: 2em;
    text-align: center;
    font-size: 80%;
    padding: 0.5rem;
    color: var(--subduedcolor);
} 

a:link, a:visited {
  color:  var(--subduedcolor);
}

a:hover {
  color: var(--highlightcolor);
}

time {
	font-style: italic;
}

figcaption {
	font-style: italic;
	font-size: 80%;
	text-align: center;
	margin-bottom: 1em;
}
