
@font-face {
	font-family: "PaybAck";
	src: url("font/PaybAck.ttf") format("truetype");
}
@font-face {
	font-family: "Roboto";
	src: url("font/Roboto.ttf") format("truetype");
}
@font-face {
	font-family: "Oswald";
	src: url("font/Oswald.ttf") format("truetype");
}

@view-transition {
	navigation: auto;
}
::view-transition-group(root) {
	animation: none;
}
::view-transition-group(*) {
	animation-duration: 1s;
}

:root {
	--yellow:		#ffdc00;
	--quite-white:	#fafafa;
	--darker-grey:	#222;
	--dark-grey:	#333;
	--bright-grey:	#ccc;

	--header-height:  6rem;
	--footer-height:  6rem;
}
* {
	margin:  0;
	padding: 0;
	box-sizing: border-box;
}
html {
	font-size: 16px;
}
body {
	background:	var(--darker-grey);
	color:		var(--quite-white);
	font-family: 'Roboto', sans-serif;
	font-size:  1rem;
	text-align: center;
	text-wrap:  balance;
	display:         flex;
	align-items:     flex-start;
	justify-content: center;
}
.wrapper {
	max-width: 1600px;
	width:     100%;
	height:    100vh;
	margin:    auto;
}
.nowrap {
	white-space: nowrap;
}

button {
	display: inline-block;
	border: none;
	background: transparent;
	cursor: pointer;
}

header {
	background: var(--yellow);
	font-family: 'Oswald', sans-serif;
	padding: 15px 20px;
	width:  100%;
	height: var(--header-height);
	display: 		 flex;
	justify-content: flex-end;
	align-items: 	 center;
	gap:			 2rem;
	position: relative;
	z-index:  1000;
	
	box-shadow: 10px 20px 10px rgba(0, 0, 0, 0.6);
	transition: box-shadow 0.9s;
}

/*.logo {
	color: black;
	font-family: 'Orbitron', sans-serif;
	font-size:   1.5rem;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0);
}*/

.menu {
	list-style: none;
}
.menu li {
	position: relative;
}
.menu a {
	background: var(--darker-grey);
	color: var(--quite-white);
	text-decoration: none;
	font-size: 1.2rem;
	padding: 15px 25px;
	display: block;
	position: relative;
	clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
	transition: background 0.3s, transform 0.2s;
}
.menu a:hover {
	color: white;
	background: #444;
	transform: scale(1.1);
}
.menu_desktop {
	display: flex;
}
@media (max-width: 1200px) {
	.menu_desktop {
		display: none;
	}
}

.menu .ticket {
	background-color:white;
	color:black;
}

.menu_toggle {
	display: none;
	flex-direction: column;
}
.menu_toggle div {
	background: black;
	width: 40px;
	height: 4px;
	border-radius: 2px;
	margin: 5px;
	transition: 0.3s;
}
.menu_toggle.open div:nth-child(1) {
	transform: translate(-7px, 10px) rotate(-70deg);
}
.menu_toggle.open div:nth-child(2) {
	transform: translate(0px, 0px);
}
.menu_toggle.open div:nth-child(3) {
	transform: translate(+6px, -18px) rotate(+70deg);
}
@media (max-width: 1200px) {
	.menu_toggle {
		display: flex;
	}
}

.menu_mobile {
	background: var(--yellow);
	display: none;
	flex-direction: column;
	position: absolute; /*!!!*/
	z-index:  900;      /*!!!*/
	top:   var(--header-height);
	left:  0;
	width: 100%;
	text-align: center;
	padding:    2rem 0;
	visibility: hidden;
	opacity:    0;
	transform:  translateY(-100%);
}
.menu_mobile.active {
	visibility: visible;
	opacity:    1;
	transform:  translateY(0);
	transition: transform 0.6s ease-in-out, opacity 0.8s ease-in-out, visibility 0.8s;
}
.menu_mobile li {
	display: flex;
	justify-content: center;
	margin: 2px 0;
}
.menu_mobile a {
	width: 10rem;
}
@media (max-width: 1200px) {
	.menu_mobile {
		display: flex;
	}
}

.language-switcher {
	display: grid;
	gap: 	 1rem;
}
.language-switcher img {
	width: 2rem;
	box-shadow: 2px 4px 2px rgba(0, 0, 0, 0.6);
	transition: filter 0.3s;
}
.language-switcher button.active img {
	filter: brightness(0.5);
}

footer {
	background: var(--dark-grey);
	font-family: 'Oswald', sans-serif;
	font-size:   0.7rem;
	padding: 0px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width:  100%;
	height: var(--footer-height);
	z-index: 1000;
}

footer .ticket {
	background: var(--dark-grey);
	font-family: 'Roboto', sans-serif;
	font-size:   0.7rem;
	padding: 10px;
}
@media (max-width: 1060px) {
	footer .ticket {
		font-size:   0.55rem;
		margin: -20px 0;
	}
}

.logo2 {
	font-family: 'Orbitron', sans-serif;
	font-size:   0.7rem;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0);
}
.menu2 {
	list-style: none;
	display:    flex;
}
.menu2 li {
	margin: 2px;
	position: relative;
}
.menu2 a {
	background: var(--darker-grey);
	color:      var(--quite-white);
	text-decoration: none;
	font-size: 0.7rem;
	padding: 10px 20px;
	display: block;
	position: relative;
	clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
	transition: background 0.3s, transform 0.2s;
}
.menu2 a:hover {
	background: var(--yellow);
	transform: scale(1.1);
}



.container {
	background-image:    url('img/flame_grey.png');
	background-size:     60px;
	background-position: center;
	background-repeat:   repeat;
	flex-wrap: wrap;
	justify-content: center;
	align-items:	 center;
	width: 100%;
	min-height: calc( 100vh - var(--header-height) - var(--footer-height) );
	text-align: center;
	padding: 20px 0px 20px 0px;
	display: none;
}
.container.active {
	display: flex;
}


.tile {
	background-color: var(--dark-grey);
	padding: 20px;
	margin:  20px;
	box-shadow: 10px 20px 10px rgba(0, 0, 0, 0.6);
	flex:  1 1 8000px;
	transition: transform 0.3s ease;
}
.tile .headline {
	color: white;
	font-family:   'PaybAck', sans-serif;
	font-size:      2rem;
	//letter-spacing: 0.06em;
	position: relative;
	text-shadow: 2px 4px 2px rgba(0, 0, 0);
	animation: slideIn 1s ease-out;
	padding-bottom: 10px;
}
.tile .headline::after {
	background-color: var(--yellow);
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	animation: underlineAnimation 1s ease-out;
}
.tile .content {
	margin-top:    20px;
	margin-bottom: 20px;
	display: grid;
	justify-content: center;
	align-items:     center;
}
@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes underlineAnimation {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}


h1 {
	color: white;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size:   2rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	margin: 20px;
}
h1.glow {
	color: var(--yellow);
	text-shadow: 0 0 20px var(--yellow);
	animation: pulse 2s infinite;
	padding: 20px;
	margin: 0;
}
@keyframes pulse {
	0% { text-shadow: 0 0 10px var(--yellow); }
	50% { text-shadow: 0 0 30px var(--yellow); }
	100% { text-shadow: 0 0 10px var(--yellow); }
}

#home h1 {
	margin: 0;
}

h2 {
	color: white;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size:   1.5rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	margin: 20px;
}
h3 {
	color: white;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size:   1rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	margin: 10px;
}

.countdown {
	font-size:   1.5rem;
	font-weight: bold;
	color: var(--yellow);
	margin: 20px;
}
#countdown {
	text-wrap: nowrap;
}
.btn {
	display: inline-block;
	background: var(--yellow);
	color: black;
	margin: 20px;
	padding: 15px 30px;
	box-shadow: 8px 16px 8px rgba(0, 0, 0, 0.6);
	font-size: 1.5rem;
	text-decoration: none;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.btn:hover {
	transform: scale(1.1);
}

a {
	color: var(--quite-white);
	text-decoration: underline;
}
a:hover {
	background: var(--yellow);
}
cite {
	color: var(--yellow);
}


.hero {
	background-image:    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('img/schloss_puerkelgut_desat.jpg');
	background-size:     cover;
	background-position: center;
	background-repeat:   no-repeat;
}


#programme .content {
	justify-content: flex-start;
}
#programme li {
	display: flex;
	align-items: center;
	margin: 20px 0;
	text-align: left;
	text-wrap:  auto;
}
#programme li img {
	margin: 0 20px;
	width:  100px;
	height: 100px;
	border-radius: 50%;
}


.sponsorstart {
	margin-bottom: 0px !important;
}
.sponsorstart li {
	display: flex;
	align-items: center;
	margin: 40px 0;
}
.sponsorstart li a {
	display: inline-block;
	padding: 6px;
}
.sponsorstart li img {
	width:  300px;
}


#sponsors .content {
	margin-top:    0px !important;
	margin-bottom: 0px !important;
}
#sponsors ul {
	list-style: none;
}
#sponsors li {
	align-items: center;
	margin: 80px 0;
}
#sponsors li a {
	display: inline-block;
	padding: 6px;
}
#sponsors li img {
	width:  300px;
}




.wave {
	display: inline;
	animation: lightWave 2s infinite ease-in-out;
}
.wave.space {
	display: inline-block;
}
@keyframes lightWave {
	0%   { filter: brightness(0.9); }
	10%  { filter: brightness(2.0); }
	20%  { filter: brightness(0.9); }
	100% { filter: brightness(0.9); }
}




.video-container {
	background-color: var(--dark-grey);
	padding: 0;
	margin:  0;
	box-shadow: 10px 20px 10px rgba(0, 0, 0, 0.6);
	flex:  1 1 8000px;
	transition: transform 0.3s ease;
	position: relative;
	width: 100%;
	overflow: hidden;
}
video {
	width: 100%;
	height: auto;
	display: block;
	background: #000;
}

.controls {
	position: absolute;
	bottom: 0;
	left:   0;
	right:  0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	opacity: 1;
	transition: opacity 0.3s ease;
}
.controls.hidden {
	opacity: 0;
	pointer-events: none;
}

.control-button {
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 6px 8px;
	transition: transform 0.2s;
}
.control-button:hover,
.control-button:active {
	transform: scale(1.2);
}
.control-button svg {
	width:  28px;
	height: 28px;
	fill:   var(--yellow);
	stroke: var(--yellow);
}
.control-button svg .mute-stroke {
	stroke: var(--yellow);
}

.volume-control {
	display: flex;
	align-items: center;
}
.volume-control #muteButton {
	padding-right: 10px;
}

input[type="range"] {
	width: 100px;
	accent-color: var(--yellow);
	cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 12px;
	height: 12px;
	background: #fff;
	border-radius: 50%;
}

.video-container.fullscreen {
	position: fixed;
	top:  0;
	left: 0;
	width:  100%;
	height: 100%;
	z-index: 9999;
	background: #000;
	margin: 0;
}
.video-container.fullscreen video {
	width:  100%;
	height: 100%;
	object-fit: contain;
}
.video-container.fullscreen .controls {
	padding: 40px;
}
.video-container.fullscreen svg {
	width:  40px;
	height: 40px;
}

@media (max-width: 600px) {
	.video-container {
		padding:  0px;
	}
	.controls {
		padding:  0px;
	}
	.control-button {
		padding:    0px 2px;
	}
	.control-button svg {
		width:  20px;
		height: 20px;
	}
	input[type="range"] {
		width: 60px;
	}
}
	
