:root {
	/* Base colors */
	--base-background: var(--save_the_whales);
	--base-text: var(--white);
	--base-headers: rgb(48, 206, 199);

	--lowlight-background: var(--petrol_water);
	--lowlight-text: var(--white);

	--midlight-background: var(--vienna);
	--midlight-text: var(--white);

	--highlight-background: var(--white);
	--highlight-text: var(--petrol_water);

	--error-color: var(--clownfish_orange);
	--cancel-color: var(--clownfish_orange);
	--confirm-color: var(--petrol_water);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: "Noto Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	color: var(--base-text);
	background-color: var(--base-background);
	font-size: 16px;
}

a {
	color: rgb(255, 179, 95);
	
}

.hex-background {
	position: fixed;
	top: 0;
	left: 0;
}

.hex-background .background-hex {
	position: absolute;
	opacity: 0.05;
	transform: scale(0.9);
	transition: opacity 0.5s ease-in-out;
}

#topNav {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: right;
}

#topNav a {
	text-decoration: none;
}

#topNav a:not(.button) {
	color: var(--highlight-background);
}

#topNav a:not(.button):hover {
	color: var(--white);
}

#topNav a.button {
	font-size: 0.8rem;
}

#topNav a.button {
	color: var(--highlight-text);
	background-color: var(--highlight-background);
}

#topNav a.button:hover {
	background-color: var(--white);
}

#topNav > * {
	margin-left: 15px;
}

#topNav .account-link {
	font-size: 1.4rem;
}

.main {
	min-height: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;
	position: relative;
	z-index: 100;
}

.main section {
	padding: 60px 25px 80px;
	width: 100%;
}

.main section:last-child {
	border-bottom: none;
}

.main > section,
.main > header,
.main > footer,
.main > div {
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: center;
	width: 100%;
	padding: 15px 30px;
}

section.dark,
header.dark,
footer.dark {
	background-color: rgba(0, 0, 0, 0.6);
}

section.dark.left-gradient,
header.dark.left-gradient,
footer.dark.left-gradient {
	background-image: radial-gradient(farthest-corner at 57% 90%, transparent 0, transparent 80%, rgba(150, 150, 150, 0.1) 100%)
}

section.dark.right-gradient,
header.dark.right-gradient,
footer.dark.right-gradient {
	background-image: radial-gradient(farthest-corner at 43% 90%, transparent 0, transparent 80%, rgba(150, 150, 150, 0.1) 100%)
}

section.dark.with-borders,
section.dark.with-borders,
section.dark.with-borders {
	border: solid black;
	border-width: 2px 0;
}

section.light,
header.light,
footer.light {
	background-color: rgb(69, 90, 107, 0.6);
}

section.light.left-gradient,
header.light.left-gradient,
footer.light.left-gradient {
	background-image: radial-gradient(farthest-corner at 57% 90%, transparent 0, transparent 80%, rgba(33, 33, 33, 0.2) 100%)
}

section.light.right-gradient,
header.light.right-gradient,
footer.light.right-gradient {
	background-image: radial-gradient(farthest-corner at 43% 90%, transparent 0, transparent 80%, rgba(33, 33, 33, 0.2) 100%)
}

section.light.with-borders,
section.light.with-borders,
section.light.with-borders {
	border: solid white;
	border-width: 2px 0;
}

.main > div {
	padding: 0;
}

.main > header,
.main > footer {
	justify-content: center;
}

.main > footer a {
	color: var(--highlight-background);
}

.main > header,
.main > footer {
	padding-top: 30px;
	padding-bottom: 30px;
}

.main > header {
	padding-bottom: 0;
}

.main > header .columns,
.main > footer .columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

.main > header .column + .column,
.main > footer .column + .column {
	margin-top: 0;
}

.main > footer {
	font-size: 0.9rem;
}

h1, h2, h3, h4 {
	font-family: "Faculty Glyphic", sans-serif;
	font-weight: 600;
	font-style: normal;
}

h1 {
	margin: 0;
}

h1 a {
	color: inherit;
	text-decoration: none;
}

h2, h3 {
	margin: 0 0 15px 0;
}

h2, h3, h4 {
	color: var(--base-headers);
}

.contain {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	position: relative;
	margin: 0 auto;
}

.contain-medium {
	max-width: 900px;
}

.contain-small {
	max-width: 450px;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.hide {
	display: none;
}

.column + .column {
	margin-top: 25px;
}

.media {
	display: flex;
}

.media + .media {
	margin-top: 60px;
}

.media .media-description {
	margin-bottom: 15px;
}

.form-field {
	margin: 0 0 25px 0;
}

.form-field label {
	display: block;
	font-size: -1pt;
}

.form-field input:not(.button) {
	display: inline-block;
	width: 100%;
	padding: 10px 10px;
	outline: none;
	border: solid 2px;
	transition: border-color 0.3s ease-in;
}

.form-field input.error {
	border-color: var(--error-color);
}

.form-field.errors {
	transition: opacity 0.3s ease-in;
	opacity: 0;
}

.form-field.errors .error {
	padding: 5px 10px;
	display: grid;
	grid-template-columns: 20px 1fr;
	column-gap: 10px;;
	transition: opacity 0.3s ease-in;
}

.form-field.errors .error .error-icon {
	color: var(--error-color);
}

button,
.button {
	width: 100%;
	text-align: center;
	border-radius: 0;
	background-color: var(--lowlight-background);
	outline: none;
	border: none;
	color: var(--lowlight-text);
	padding: 10px 20px;
	font-weight: bold;
	transition: all 0.1s ease-in-out;
	cursor: pointer;
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
}

button.fit-content,
.button.fit-content {
	width: fit-content;
}

button:hover,
.button:hover {
	background-color: var(--midlight-background);
	color: var(--midlight-text);
}

.banner {
	background-color:rgb(255, 179, 95);
	color: var(--black);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 20px 40px;
}

.banner .icon {
	font-size: 24px;
}

.slides {
	overflow: hidden;
	display: flex;
}

.slide {
	width: 100%;
	display: inline-block;
	transition: all 0.2s ease-out;
	flex-grow: 0;
	flex-shrink: 0;
}

.loading {
	padding: 40px;
	text-align: center;
	font-size: 24px;
}



.empty {
	width: 100%;
	border: solid var(--black) 1px;
	background-color: var(--lowlight-background);
	padding: 20px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.empty.hide {
	display: none;
}

.empty > * {
	margin: 0 0 20px 0;
	flex: 0 1 fit-content;
}

.empty .button {
	background-color: var(--black);
	font-weight: normal;
}

.empty .button:hover {
	background-color: #222;
}

.cards {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.cards > div {
	min-width: 250px;
	width: 100%;
	flex: 1 0 100%;
	padding: 10px;
}

.card {
	display: grid;
	grid-template-rows: auto 1fr auto;
	cursor: pointer;
	height: 250px;
	border: solid var(--black) 1px;
	transition: all 0.2s ease-in-out;
}

.card:hover {
	/* border-color: var(--highlight-background); */
}

.card:hover .background-hex {
	opacity: 0.4;
}

.card > * {
	padding: 10px 10px;
}

.card h4 {
	margin: 0;
	flex-grow: 1;
}

.card a {
	color: var(--white);
	text-decoration: none;;
}

.card header {
	background-color: var(--lowlight-background);
	display: flex;
	border-bottom: solid 1px;
	border-color: inherit;
}

.card .map-role {
	flex: 0 0 fit-content;
}

.card footer {
	display: flex;
	background-color: var(--lowlight-background);
	align-items: center;
	border-top: solid 1px;
	border-color: inherit;
}

.card footer > * {
	flex: 1 1 fit-content;
}

.card .content {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	overflow: hidden;
	background-color: var(--black);
}

.card .map-dates {
	font-size: 0.8rem;
}

.card .map-dates label {
	font-weight: 400;
}

.card .map-buttons {
	display: flex;
	flex-direction: row;
	justify-content: right;
	gap: 8px;
}

.add-card {
	align-items: center;
	justify-content: center;
	font-size: 40px;
	transition: all 0.1s ease-in-out;
	background-color: var(--base-text);
	color: var(--base-background);
	opacity: 0.6;
}

.add-card:hover {
	opacity: 0.8;
	color: var(--lowlight-background);
}

.card .background-hex {
	position: absolute;
	width: 80px;
	height: 80px;
	background-color: var(--white);
	transition: opacity 0.3s ease-in-out;
	mask-image: url("data:image/svg+xml,<svg id=\"tile0_0\" class=\"space\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><polygon class=\"space\" points=\"20,0 60,0 80,34.4 60,68.8 20,68.8 0,34.4\"></polygon></svg>");
	opacity: 0.2;
	transform: translate(20px, 20px);
}

.card .background-hex:nth-child(1) {
	left: -40px;
	top: -40px;
}

.card .background-hex:nth-child(2) {
	left: -40px;
	top: -112px;
}

.card .background-hex:nth-child(3) {
	left: 24px;
	top: -76px;
}

.card .background-hex:nth-child(4) {
	left: 24px;
	top: -4px;
}

.card .background-hex:nth-child(5) {
	left: -40px;
	top: 32px;
}

.card .background-hex:nth-child(6) {
	left: -104px;
	top: -4px;
}

.card .background-hex:nth-child(7) {
	left: -104px;
	top: -76px;
}

@media (min-width: 780px) {
	.cards {
		margin: 0 -10px;
		grid-template-columns: 1fr 1fr;
	}

	.cards > div {
		padding: 10px;
	}

	.desktop-show {
		display: initial;
	}

	.desktop-hide {
		display: none;
	}

	.columns {
		display: grid;
		column-gap: 40px;
		align-items: start;
		justify-content: center;
	}

	.main > header .columns {
		align-items: center;
	}

	.main > header .button {
		display: initial;
	}

	.columns-third {
		grid-template-columns: repeat(3, minmax(250px, 33%));
	}

	.columns-half {
		grid-template-columns: 1fr 1fr;
	}

	.column-skinny {
		padding: 0 50px;
	}

	.media {
		display: grid;
		grid-template-columns: minmax(250px, 33%) 1fr;
		gap: 20px;
	}

	.media.media-left {
		grid-template-columns: 1fr minmax(250px, 33%);
	}

	.media.media-left .media-description {
		grid-column: 2;
		grid-row: 1;
	}

	.media.media-left .media-media {
		grid-column: 1;
		grid-row: 1;
	}

	.media-description {
		margin-top: 15px;
	}

	.column + .column {
		margin-top: 0;
	}
}

@media (min-width: 1200px) {

	.cards > div {
		padding: 10px;
		max-width: 400px;
	}
}