@font-face {
	font-family: "PoWLimerick-Square";
	src: url(PoWLimerick-Square.ttf);
}
@font-face {
	font-family: "PKiko";
	src: url(PKiko-RegularItalic.otf);
}

@font-face {
	font-family: "antipol-variable", sans-serif;
	font-variation-settings: "STCH" 1, "wdth" 100, "wght" 400;
}

:root {
	--color-text: #222;
	--color-accent-50: #f0e6ff;
	--color-accent-100: #d4b8ff;
	--color-accent-200: #b98aff;
	--color-accent-300: #9d5cff;
	--color-accent-400: #822eff;
	--color-accent: #6702ff;
	--color-accent-600: #5400d1;
	--color-accent-700: #4100a3;
	--color-accent-800: #2f0075;
	--color-accent-900: #1d0047;
	--color-accent-950: #0a001a;
	--color-complimentory-50: #fff0e6;
	--color-complimentory-100: #ffd4b8;
	--color-complimentory-200: #ffb98a;
	--color-complimentory-300: #ff9d5c;
	--color-complimentory-400: #ff822e;
	--color-complimentory: #ff6902;
	--color-complimentory-600: #d15400;
	--color-complimentory-700: #a34100;
	--color-complimentory-800: #752f00;
	--color-complimentory-900: #471d00;
	--color-complimentory-950: #1a0a00;

	--color-font: #ff6f02;
	--color-complimentory: rgba(255, 110, 78, 0.8);
	--color-font-outline: #592ff0;

	--color-background: rgba(125, 77, 65, 0.686);

	/* --color-switch: var(--color-complimentory-600); */
	--color-switch: var(--color-complimentory);
}

/* "*" selects all, use with care */
* {
	/* calculate element sizes with the border */
	box-sizing: border-box;
}
html {
	height: 100%;
	color: var(--color-text);
	color: white;
}

body {
	min-height: 100vh;
	position: relative;
	/* min-height: 100%; */
	font-family: Arial, Helvetica, sans-serif;
	background-color: var(--color-background);
	color: #eee;
}

header {
	/* display: flex; */
}

main {
	min-height: 78vh;
	position: relative;
	margin: auto;
	/* background-color: #f5f5f5; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
	/* font-family: PKiko; */
	color: var(--color-font-outline);
	font-family: "antipol-variable", sans-serif;
	font-variation-settings: "STCH" 1, "wdth" 225, "wght" 700;
	/* -webkit-text-stroke-width: 1px; */
	/* -webkit-text-stroke-color: var(--color-font-outline); */

	/* text-shadow: 1px 1px 0 var(--color-font-outline), -1px 1px 0 var(--color-font-outline),
		-1px -1px 0 var(--color-font-outline), 1px -1px 0 var(--color-font-outline); */
}

h2,
h3,
h4,
h5,
h6 {
	text-transform: uppercase;
	hyphens: auto;
	hyphenate-limit-chars: auto 10;
	/* hyphens: manual; */
}

h1 {
	margin: 2rem;
	pointer-events: none;
	color: var(--color-font);
	text-shadow: 0 0 7px var(--color-font), 0 0 7px var(--color-font), 0 0 7px var(--color-font), 0 0 7px var(--color-font),
		0 0 7px var(--color-font);
	-webkit-text-stroke-width: 2px;
	-webkit-text-stroke-color: var(--color-font-outline);
	font-size: 4.5rem;
}

img {
	max-width: 100%;
}
main {
	a,
	a:visited {
		color: var(--color-complimentory-600);
	}

	a:hover,
	a:focus {
		color: var(--color-accent-600);
	}
}
/*
mobile layout
*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

#fhnwlogo {
	max-width: unset;
	width: auto;
}

.navbar {
	justify-content: space-between;
	padding-top: 10px;
	padding-bottom: 10px;
}

.navbar-toggler-icon {
	margin-right: 0;
}

.navbar-nav .nav-link {
	padding: 1rem;
}
@media (min-width: 920px) {
	.navbar-nav .nav-link {
		padding: 0.4rem 1rem;
	}
}

.navbar-nav .nav-link:hover {
	background-color: var(--color-complimentory-200);
}

.list-menu {
	min-width: 48px;
}
@media (min-width: 920px) {
	.list-menu {
		min-width: 305px;
		display: flex;
		flex-direction: row-reverse;
	}
}

#projectMenu {
	position: absolute;
	right: 0px;
	top: 60px;
	z-index: 200;
	background: var(--bs-body-bg);
	min-width: 30%;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(20px);
}

.about-title {
	/* font-size: 3.5rem; */
	/* font-weight: 900; */
	/* text-transform: uppercase; */
	/* letter-spacing: -0.02em; */
	/* position: absolute; */
	/* top: 45px; */
	/* left: 50%; */
	/* transform: translateX(-50%); */
	/* white-space: nowrap; */
	/* font-family: "Arial Black", "Arial Bold", Arial, sans-serif; */
	/* background: linear-gradient(to bottom, rgb(8 42 123 / 35%) 30%, rgb(255 255 255 / 0%) 76%); */
	/* -webkit-background-clip: text; */
	/* background-clip: text; */
	/* color: transparent; */
}

.carousel-container {
	width: 100%;
	max-width: 1100px;
	position: relative;
	perspective: 1000px;
	margin: auto;
	margin-top: 80px;
	/* overflow-x: hidden;
	overflow-y: visible; */
	overflow: hidden;
}

.carousel-track {
	width: 100%;
	/* overflow: hidden; */
	/* height: 100%; */
	height: 450px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-card {
	position: absolute;
	width: 380px;
	height: 380px;
	/* background: white; */
	/* border-radius: 20px; */
	overflow: hidden;
	/* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.carousel-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

img.animated,
img.still {
	filter: brightness(1.3);
	max-width: 100%;
	height: auto;
}

.carousel-card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.carousel-card.center img {
	filter: brightness(1.3);
}

.carousel-card.center img.still {
	display: none;
}
.carousel-card img.animated {
	display: none;
}
.carousel-card.center img.animated {
	display: block;
	filter: brightness(1.3);
}

.carousel-card.left-1,
.carousel-card.right-1 {
	filter: blur(10px) brightness(150%);
}
.carousel-card.left-2,
.carousel-card.right-2 {
	filter: blur(30px) brightness(200%);
}
.carousel-card.hidden {
	filter: blur(50px) brightness(250%);
}

.carousel-card.left-2 {
	z-index: 1;
	transform: translateX(-400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.carousel-card.left-2 img {
	filter: grayscale(100%) brightness(1.5);
}

.carousel-card.left-1 {
	z-index: 5;
	transform: translateX(-200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.carousel-card.left-1 img {
	filter: grayscale(100%) brightness(1.5);
}

.carousel-card.right-1 {
	z-index: 5;
	transform: translateX(200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.carousel-card.right-1 img {
	filter: grayscale(100%) brightness(1.5);
}

.carousel-card.right-2 {
	z-index: 1;
	transform: translateX(400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.carousel-card.right-2 img {
	filter: grayscale(100%) brightness(1.5);
}

.carousel-card.hidden {
	opacity: 0;
	pointer-events: none;
	transform: scale(0.8) translateZ(-300px);
}

.project-info {
	text-align: center;
	margin-top: 40px;
	transition: all 0.5s ease-out;
}

.project-title {
	/* color: rgb(8, 42, 123); */
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 10px;
	position: relative;
	display: inline-block;
	border-bottom: 2px solid var(--color-font-outline);
	/* border-bottom: 2px solid var(--color-font); */
}

/* .project-title::before,
.project-title::after {
	content: "";
	position: absolute;
	top: 100%;
	width: 100px;
	height: 2px;
	background: var(--color-accent-300);
} */

.project-title::before {
	left: -120px;
}

.project-title::after {
	right: -120px;
}

.project-subtitle {
	color: var(--color-text);
	font-size: 1.5rem;
	font-weight: 500;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 10px 0;
	margin-top: -15px;
	position: relative;
}
.dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 60px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(8, 42, 123, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	/* background: rgb(8, 42, 123); */
	transform: scale(1.2);
}

.nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: var(--color-font-outline);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	transition: all 0.3s ease;
	font-size: 1.5rem;
	border: none;
	outline: none;
	padding-bottom: 4px;
}

.nav-arrow:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
	left: 20px;
	padding-right: 3px;
}

.nav-arrow.right {
	right: 20px;
	padding-left: 3px;
}

@media (max-width: 768px) {
	h1 {
		font-size: 4.5rem;
		margin-top: 1rem;
	}

	body:has(#switch-option-1:checked) {
		.about-title {
			margin-bottom: 0;
		}
		.carousel-container {
			margin-top: 10px;
		}

		.carousel-track {
			height: 360px;
		}

		.carousel-card {
			width: 350px;
			height: 350px;
		}
		.project-info {
			margin-top: 0;
		}
	}

	.carousel-card.left-2 {
		transform: translateX(-250px) scale(0.8) translateZ(-300px);
	}

	.carousel-card.left-1 {
		transform: translateX(-120px) scale(0.9) translateZ(-100px);
	}

	.carousel-card.right-1 {
		transform: translateX(120px) scale(0.9) translateZ(-100px);
	}

	.carousel-card.right-2 {
		transform: translateX(250px) scale(0.8) translateZ(-300px);
	}

	.project-title {
		font-size: 1.5rem;
	}

	.project-subtitle {
		font-size: 1.1rem;
	}

	.project-title::before,
	.project-title::after {
		width: 50px;
	}

	.project-title::before {
		left: -70px;
	}

	.project-title::after {
		right: -70px;
	}
}

.selectors {
	height: 25px;
	display: flex;
}

.selectors > * {
	margin-left: 0.5rem;
}

#switch-selector input {
	display: none;
}

#switch-selector {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--color-switch);
	border-radius: 1rem;
	text-align: center;
	overflow: hidden;
	height: 25px;
	position: relative;
	/* top: -6px; */
}

#switch-selector label {
	/* display: block; */
	padding: 0 0.5rem;
	color: var(--color-switch);
	background-color: #ffffff;
}

body:has(#switch-option-1:checked) {
	.switch-content-1 {
		display: block;
	}
	.switch-content-2 {
		display: none;
	}
	.switch-option-1 {
		color: white;
		background-color: var(--color-switch);
	}

	.content .hidden {
		display: none;
	}
}

body:has(#switch-option-2:checked) {
	.switch-content-1 {
		display: none;
	}
	.switch-content-2 {
		display: block;
	}

	.switch-option-2 {
		color: white;
		background-color: var(--color-switch);
	}

	.content .hidden {
		display: block;
	}
	.project-info {
		margin-top: 0;
	}
	img.animated {
		width: 100%;
		height: auto;
	}
	@media (min-width: 800px) {
		img.still,
		img.animated {
			height: 800px;
			width: auto;
		}
	}
}

.spin-selector {
	border-radius: 100vw;
	background-color: var(--color-switch);
	display: inline-block;
	/* border: 2px solid white; */
	position: relative;
	z-index: 2;
	width: 25px;
	height: 25px;
}

.spin-selector input {
	display: none;
}

.spin-selector img {
	position: absolute;
	top: 0;
	left: 0;
}

.spin-selector label {
	width: 100%;
	height: 100%;
	background-image: src("../img/_Double_Rotate_filled.svg");
}

body:has(#spin-selector:checked) {
	/* .content .animated {
		display: block;
	} */
	.content .still {
		display: none;
	}
	.carousel-card.center img.still {
		display: none;
	}
	.carousel-card.center img.animated {
		display: block;
	}
	.spin-selector .spin-checked {
		display: block;
	}
	.spin-selector .spin-unchecked {
		display: none;
	}
}
body:not(:has(#spin-selector:checked)) {
	.content .animated {
		display: none;
	}
	/* .content .still {
		display: block;
	} */
	.carousel-card.center img.still {
		display: block;
	}
	.carousel-card.center img.animated {
		display: none;
	}

	.spin-selector .spin-checked {
		display: none;
	}
	.spin-selector .spin-unchecked {
		display: block;
	}
}

.content {
	max-width: 1100px;
	margin: auto;
	padding: 1rem;
}

.content section {
	margin-bottom: 10rem;
	scroll-margin-top: 3rem;
}

.content section h3 {
	margin-top: 2rem;
}

.content .project-image {
	display: flex;
	justify-content: center;
	margin: auto;
}

.back-to-top {
	background-color: var(--color-complimentory);
	right: 2rem;
}

@media (max-width: 768px) {
	.back-to-top {
		background-color: var(--color-complimentory);
		/* right: 90px; */
	}
}

.content section li.title {
	transform: translateX(-1.125rem);
	list-style-type: none;
}

.mitwirkende {
	display: inline;
	list-style: none;
	padding-left: 0;
}

.mitwirkende li {
	display: inline;
}

.mitwirkende li:after {
	content: ", ";
}
.mitwirkende li:last-child:after {
	content: "";
}

.projekt-multimedia .gallery,
.projekt-multimedia .video-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.projekt-multimedia .gallery * {
	max-height: 47vh;
	margin-bottom: 3.2%;
	width: auto;
	margin: auto;
	margin-bottom: 2rem;
	text-align: center;
}

video {
	width: 100%;
	height: auto;
}
.audiobar {
	/* display: flex;
	flex-wrap: wrap; */
	margin-bottom: 2rem;
}
.audiobar p {
	margin: 0;
}
.audiobar > * {
	height: 2rem;
	vertical-align: middle;
}
audio {
	width: 100%;
}
