:root {
	/*--background-color: 0, 0, 0;*/
	/*--background-color: 16, 16, 16;*/
	--background-color: 8, 8, 8;
	/*--foreground-color: 255, 255, 255;*/
	/*--foreground-color: 240, 240, 240;*/
	--foreground-color: 248, 248, 248;
	--link-color: 136, 191, 134;
	--alert-color: 255, 69, 58;
}
* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-display: swap;
	font-size: 1rem;
	-webkit-font-smoothing: antialiased;
	transition: all 0.2s ease;
}
::selection {
	color: rgb(var(--background-color));
	background: rgb(var(--foreground-color));
}
*:focus {
	outline: 0;
}
*[disabled],
.disabled {
	opacity: .32;
	cursor: not-allowed;
	transform: none !important;
}
@media not (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: auto;
		types: bounce;
	}
	/*.tile h3 {
		view-transition-name: title;
	}
	h1 {
		view-transition-name: title;
	}*/
}

html {

}
body {
	margin-bottom: 4rem;
	width: 100vw;
	/*min-height: 100vh;*/
	background-color: rgb(var(--background-color));
	color: rgb(var(--foreground-color));
	margin: 0 auto;
	position: relative;
	min-height: calc(100% + env(safe-area-inset-top));
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.rounded {
	border-radius: 0.8rem;
	padding: .8rem; 
}
/*a.rounded {
	display: block;
	color: inherit;
}*/
.hidden {
	display: none;
}
.full-width {
	grid-column: 1/-1;
}
.align-top {
	align-self: flex-start;
	/*justify-self: top;*/
}
.align-middle {
	align-self: center;
	/*justify-self: top;*/
}
.align-bottom {
	align-self: flex-end;
}


nav {
	left: 0;
	height: 2.8rem;
	width: calc(100vw - .96rem - .96rem);
	margin: .96rem;
	z-index: 10;
	pointer-events: none;
	display: flex;
	justify-content: space-between;
	gap: .8rem;
	/*max-width: 48rem;*/
}
nav.bottom:not(:has(div #floating-action-button)) {
	justify-content: center;
}
@media only screen and (min-width: 48rem) {
	nav {
		justify-content: center;
	}
}
nav > * {
	backdrop-filter: blur(3.2rem) brightness(.64);
	-webkit-backdrop-filter: blur(3.2rem) brightness(.64);
	border: solid 1px rgba(var(--foreground-color), .08);
	/*border-radius: .8rem;*/
	border-radius: 99999rem;
	padding: .4rem;
	pointer-events: auto;
}
nav > div {
/*	width: 100%;*/
	display: flex;
/*	justify-content: space-evenly;*/
	width: fit-content;
    gap: 1.2rem;
    justify-self: center;
    align-items: anchor-center;
    padding: .4rem .8rem;
}
nav a {
	display: grid;
}
nav.top {
	display: flex;
	align-items: center;
	position: fixed;
	top: env(safe-area-inset-top);
	justify-content: space-between;
}
nav.bottom {
	position: fixed;
/*	bottom: 0;*/
	bottom: env(safe-area-inset-bottom);
}
nav img {
	max-width: 2rem;
	max-height: 2rem;
}

main {
	padding: 1.2rem;
	padding-bottom: 4rem;
	width: 100vw;
	max-width: 48rem;
	margin: 0 auto;
	display: grid;
	grid-gap: 1.6rem;
	/*background-color: rgb(var(--background-color));*/
}
@media only screen and (max-width: 56rem) {
	nav + main {
		margin-top: 4.8rem;
	}
}

.small-gap {
	grid-gap: 0.4rem;
}
main.large {
	grid-template-columns: repeat( auto-fit, minmax(16rem, 1fr) );
}
main.medium {
	grid-template-columns: repeat( auto-fit, minmax(8rem, 1fr) );
}



header {
	max-height: 64vh;
	margin: 0 auto;
	/*position: sticky !important;
    top: 0;
    z-index: -5;*/
    border-radius: 0 0 0.8rem 0.8rem;
}
header .content {
	max-width: 48rem;
	margin: 0 auto;
	padding-top: 4.4rem;
}

footer {
	min-height: 6.4rem;
}



h1, h2, h3, h4, h5, h6 {
	margin: 0;
	 /* grid-column: 1/-1;*/
}
h1 {
	/*font-size: 2.4rem;*/
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 800;
}
h2 {
	/*font-size: 2rem;*/
	font-size: clamp(1.4rem, 4vw, 2rem);
}
h3 {
	/*font-size: 1.6rem;*/
	font-size: clamp(1.2rem, 4vw, 1.6rem);
}
/*h4 {
	font-size: 1.2rem;
}
h5 {
	font-size: 1rem;
	margin-bottom: .4rem;
}
h6 {
	font-size: 0.8rem;
}*/
p {
	font-size: clamp(0.8rem, 2vw, 1rem);
}


small {
	font-size: clamp(0.64rem, 1.6vw, 0.8rem);
}

a {
	text-decoration: none;
	color: inherit;
}
a:hover,
a:focus,
button:hover,
button:focus {
	transform: scale(1.02);
}
p a {
	text-decoration: underline;
}

img {
	min-width: 2rem;
	max-width: 100%;
}
img.flag {
	border-radius: 50%;
	width: 2.4rem;
}
img.plug {
	border-radius: .4rem;
	width: 2.4rem;
	background-color: rgba(var(--foreground-color), 1);
	padding: .4rem;
}

form {
	display: grid;
	grid-gap: 1.6rem;
}
input, select, textarea {
	background-color: rgba(var(--foreground-color), 0.2);
	color: inherit;
	border: 0;
	border-radius: .08rem;
	padding: .4rem .6rem;
	width: 100%;
}
textarea {
	field-sizing: content;
}
input[type="checkbox"] {
	width: auto;
	margin-right: .4rem;
	vertical-align: bottom;
	zoom: 1.6;
    filter: invert(100%) grayscale(1) brightness(2);
}
@media only screen and (max-width: 48rem) {
	input[type="checkbox"] {
		zoom: 1.32;
	}
}
button,
.button,
input[type="submit"] {
	background-color: rgb(var(--foreground-color));
	color: rgb(var(--background-color));
	border: 0;
	border-radius: .4rem;
	padding: .6rem .8rem;
	width: 100%;
	height: fit-content;
	font-size: 1.2rem;
	display: block;
	/*display: flex;
    align-items: center;*/
	text-align: center;
	cursor: pointer;
}
button img {
	width: 2.4rem;
}
button.secondary,
.button.secondary {
	background-color: transparent;
	color: rgb(var(--foreground-color));
	border: 1px solid rgb(var(--foreground-color));
}
button.delete,
button.remove {
	background-color: rgb(var(--alert-color));
	color: rgb(var(--foreground-color));
}
.button-group {
	background-color: rgba(var(--foreground-color), 0.24);
	color: rgb(var(--foreground-color));
	border-radius: .4rem;
	display: flex;
	margin-bottom: 4rem;
	overflow: hidden;
}
.button-group .button {
	background-color: transparent;
	color: inherit;
	border-radius: 0;
}
.button-group .button.active {
	background-color: rgba(var(--foreground-color), 0.24);
}
label {
	display: block;
	margin-bottom: .4rem;
	font-size: .8rem;
}

article {
	background-color: rgba(var(--foreground-color), 0.064);
	position: relative;
	text-align: center;
}
.tile {
	background-color: rgba(var(--foreground-color), 0.08);
	background-size: cover;
	/*background-size: contain;*/
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	position: relative;
	max-width: -webkit-fill-available;
}
.tile.square {
	aspect-ratio: 1/1;
}
.tile.portrait {
	aspect-ratio: 4/5;
}
.tile.landscape {
	/*aspect-ratio: 16/9;*/
	aspect-ratio: 3/2;
}
.tile.strip {
	aspect-ratio: 2/1;
}
@media only screen and (max-width: 24rem) {
	.tile {
		min-height: 25vh;
	}
	.tile.portrait {
		aspect-ratio: 9/16;
	}
	.tile.landscape {
		aspect-ratio: 1/1;
	}
}
@supports not (aspect-ratio: 1/1) {
 	.tile.square::before {
		content: "";
		display: inline-block;
		padding-bottom: 100%;
	}
	.tile.portrait::before {
		content: "";
		display: inline-block;
		padding-bottom: 150%;
	}
	.tile.landscape::before {
		content: "";
		display: inline-block;
		padding-bottom: 66.6%;
	}

}


/*.tile.portrait {
	padding-bottom: 120%;
}*/
/*.portrait::before {
	content: "";
	display: inline-block;
	padding-bottom: 150%;
}
.square {
	max-height: 50vh;
}
.square::before {
	content: "";
	display: inline-block;
	padding-bottom: 100%;
}
.landscape::before {
	content: "";
	display: inline-block;
	padding-bottom: 66.6%;
}*/
.content {
	display: grid;
	
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	text-shadow: 0.2rem 0.1rem 0.8rem rgba(var(--background-color), 0.6);
	padding: .8rem;
}
.tile .content {
	position: absolute;
}

.box {
	background-color: rgba(var(--foreground-color), 0.08);
	padding: 0;
	/*overflow: hidden;*/
}
.media-text {
	display: grid;
	grid-template-columns: min-content 1fr;
	grid-gap: 0.4rem;
	align-items: center;
	padding-right: 0.64rem;
}
/*.box .tile {
	height: 28rem;
}*/
.box .media-text {
	margin: 0.8rem;
}

/*.icon {
	width: 3.2rem;
	height: 3.2rem;
	padding: 0.4rem;
	background-color: rgba(var(--foreground-color), 0.08);
}*/

.grid-3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 0.8rem;
	align-items: center;
}
.grid-3 h6 {
	text-align: center;
}
.date {
	font-size: 0.8rem;
	text-align: center;
	/*background-color: rgb(var(--background-color));*/
	padding: 0.4rem;
	position: sticky;
	top: 3.6rem;
	backdrop-filter: blur(3.2rem);
	-webkit-backdrop-filter: blur(3.2rem);
	z-index: 1;
	margin-left: calc(-100vw / 2 + 48rem / 2 - 1.2rem); /*main width = 48rem + 1.2rem padding*/
	margin-right: calc(-100vw / 2 + 48rem / 2 - 1.2rem); /*main width = 48rem + 1.2rem padding*/
}



.dialog {
	max-height: 100vh;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	backdrop-filter: blur(.8rem);
    -webkit-backdrop-filter: blur(.8rem);
}
.dialog .content {
	position: absolute;
	margin: auto;
	/*padding: 2.5rem;*/
	width: 80vw;
	max-width: 24rem;
	/*top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);*/
	grid-auto-rows: min-content;
	align-content: center;
	grid-gap: .8rem;
}
.dialog:not([open]) {
	display: none;
}








/*.sortable {
	display: grid;
}
.sortable .dropzone {
	opacity: 0.4;
}
.sortable .dropzone * {
	opacity: 0;
}
.sortable .sortable {
	margin-top: .8rem;
	border-radius: .4rem;
}*/
/*.sortable .sortable .sortable {
display: none;
}*/
/*.sortable .selected {
	background-color: rgba(var(--foreground-color), 1);
	color: rgba(var(--background-color), 1);
}*/



/*.expandable {
	padding: 0;
	overflow: hidden;
}
.expandable .content {
	padding: .8rem;
}
.expandable[open] {
	grid-column: 1/-1;
}
.expandable img {
	object-fit: cover;
	width: 100%;
}
.expandable[open] .hidden {
	display: block;
}*/

.slider {
	display: flex;
/*  grid-auto-flow: column;
	grid-gap: 0.8rem;*/
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
}
.slider::-webkit-scrollbar {
	display: none;
}
.slider > * {
	min-width: 8rem;
	/*height: 9.6rem;*/
	margin-right: 0.8rem;
	scroll-snap-align: start;
}

.teaser {
	display: grid;
	grid-gap: .8rem;
	grid-template-columns: repeat( auto-fill, minmax(9.6rem, 1fr) );
}
.pods {
	display: flex;
	flex-flow: wrap;
	gap: 0.4rem;
}
.pods h5 {
	margin-bottom: 0;
}



table {
	border-radius: 0.8rem;
	overflow: hidden;
	border-collapse: separate;
    border-spacing: 2px;
	width: 100%;
}
th, 
td {
	text-align: left;
	/*border: 10px solid transparent;*/
	padding: 0.64rem;
	background-color: rgba(var(--foreground-color), 0.04);
}










.breadcrumb a:after {
	color: rgba(var(--foreground-color), 0.32);
	content: "/ ";
	padding: 0 0.2rem 0 0.48rem;
}


.filter-bar {
	list-style: none;
	display: flex;
	margin: 0 auto;
	margin-bottom: 2rem;
    padding: .32rem;
    background-color: rgba(var(--background-color), .08);
	/*backdrop-filter: blur(3.2rem) brightness(.4);
    -webkit-backdrop-filter: blur(3.2rem) brightness(.4);*/
    color: rgb(var(--foreground-color));
    border-radius: 2.4rem;
    padding: .32rem;
    overflow-y: scroll;
    max-width: 100%;
}
.filter-bar li {
	color: rgba(var(--foreground-color), .6);
	cursor: pointer;
	height: 2.4rem;
	border-radius: 1.2rem;
	line-height: .8;
	border: 0;
}
.filter-bar li a {
	font-weight: inherit;
    color: inherit;
    padding: .8rem 1.2rem;
    display: block;
}
.filter-bar li:hover,
.filter-bar li:focus {
	color: rgba(var(--foreground-color), 1);
}
.filter-bar li.active {
	color: rgb(var(--spot-color));
	background-color: rgba(var(--foreground-color), .08);
	/*border: 1px solid rgba(var(--link-color), 1);*/
}









.spinner {
	width: 8rem;
	text-align: center;
	justify-self: center;
}

.spinner > div {
	width: 1.2rem;
	height: 1.2rem;
	background-color: rgb(var(--foreground-color));
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
	0%, 80%, 100% { -webkit-transform: scale(0) }
	40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
	0%, 80%, 100% { 
		-webkit-transform: scale(0);
		transform: scale(0);
	} 40% { 
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}
}






main#intro {
    padding-bottom: 2vh;
    margin-top: -4rem;
    padding: 0;
}
@media only screen and (min-width: 48rem) {
    main#intro {
        margin-top: -8rem;
    }
}
main#intro:first-child {
    margin-top: 0;
}
main#intro .content {
    padding: 1.2rem;
}
main#intro .content .align-bottom {
    display: grid;
    grid-gap: .4rem;
}
main#intro .content > * {
    backdrop-filter: blur(6.4rem);
    -webkit-backdrop-filter: blur(6.4rem);
    border-radius: .8rem;
    border: solid 1px rgba(var(--foreground-color), .04);
    padding: 1.2rem;
    grid-gap: .8rem;
}







.actions {
    grid-template-columns: repeat( auto-fit, minmax(4.8rem, 1fr) );
    grid-gap: .8rem;
    margin-top: 1.6rem;
}
.action-button {
    display: grid;
    justify-items: center;
    align-content: center;
    grid-gap: .4rem;
    padding: .8rem .4rem;
    background-color: rgba(var(--background-color), 0.16);
    border: solid 1px rgba(var(--foreground-color), .04);
}
.action-button .icon {
    width: 2rem;
    min-width: auto;
}
.action-button p {
    text-align: center;
    font-size: clamp(0.64rem, 1.6vw, 0.8rem);
}







/*@media (prefers-color-scheme: light) {
	html {
	filter: invert(100%);
	}
	img:not([src$=".svg"]), .tile {
	filter: invert(100%);
	}
}*/