@font-face { 
	font-family: 'Avartequero';
	src: url('../fonts/Avartequero.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Thin.ttf') format('truetype'),
}

/* Centered texts in each section
* --------------------------------------- */
.section{
	text-align:center;
	overflow: hidden;
	color: white;
	font-family: Roboto, sans-serif;
	background-size: cover;
	background-position: 50% 80%;
}

/* Music Menu
 * --------------------------------------- */
 #musicMenu{
	position: fixed;
	bottom: 20px;
	right: 20px;
	-webkit-filter: drop-shadow(5px 5px 5px #222);
	filter: drop-shadow(5px 5px 5px #222); 
	z-index: 999;
}

.song-titel {
	color: white;
	font-family: Avartequero;
	font-size: 30px;
	z-index: 999;
}

button {
	background-color: Transparent;
	background-repeat:no-repeat;
	border: none;
	cursor:pointer;
	overflow: hidden;
	outline:none;
	margin: 2px;
	padding: 0;
}

/* Game Menu
 * --------------------------------------- */
 #gameMenu{
	position: fixed;
	bottom: 20px;
	left: 30px;
	-webkit-filter: drop-shadow(5px 5px 5px #222);
	filter: drop-shadow(5px 5px 5px #222); 
	z-index: 999;
}

/* Background Video
 * --------------------------------------- */
#bgVideo{
	position: absolute;
	right: 0;
	bottom: 0;
	top:0;
	width: 100%;
	height: 100%;
	background-size: 100% 100%;
 	background-color: black; /* in case the video doesn't fit the whole page*/
 	background-image: /* our video */;
 	background-position: center center;
 	background-size: contain;
   	object-fit: cover; /*cover video background */
   	z-index:3;
	}

/* Layer with position absolute in order to have it over the video
* --------------------------------------- */
#section0 .layer{
	display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 4;
    position: absolute;
    top: 0;
    left: 0;

	/*
	* Preventing flicker on some browsers
	* See http://stackoverflow.com/a/36671466/1081396  or issue #183
	*/
	-webkit-transform: translate3d(0,0,0);
	-ms-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*solves problem with overflowing video in Mac with Chrome */
#section0{
	overflow: hidden;
	/*background-image: url(../img/bg.png);*/
}

/* Fade in Intro PNGs
* --------------------------------------- */
.fadeImage {
    opacity: 0;
    animation: fadeIn 2s forwards;
    display: block;
    margin: 25px auto;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Intro PNGs size smarphone/desktop
* --------------------------------------- */
.startlogo {
    max-height: 630px;
    width: auto;
}

@media (max-width: 600px) {
    .startlogo {
        max-height: 420px;
    }
}

/* Image hover effect
* --------------------------------------- */
.image-hover {
 transition: transform 0.7s;
}

.image-hover:hover {
 transform: scale(1.1, 1.1);
}

/* 
* Changing navigation bullets colors 
*/
#fp-nav ul li a span, 
.fp-slidesNav ul li a span {
    background: white;
}

/* 
* Changing position from slider arrows
*/
/* .fp-prev {
	margin-top: -340px;
}
.fp-next {
	margin-top: -340px;
}
.fp-next {
	margin-right: 40px;
}*/

/* CSS für die Hover-Animation der Pfeile */
.fp-prev, .fp-next {
    transition: transform 0.7s;
    -webkit-filter: drop-shadow(5px 5px 5px #222);
	filter: drop-shadow(5px 5px 5px #222); 
}

.fp-prev:hover, .fp-next:hover {
    transform: scale(1.1, 1.1);
    -webkit-filter: drop-shadow(5px 5px 5px #222);
	filter: drop-shadow(5px 5px 5px #222); 
}

/* unvisited link */
a:link {
  color: white;
}

/* visited link */
a:visited {
  color: white;
}

/* mouse over link */
a:hover {
  color: white;
}

/* selected link */
a:active {
  color: white;
}

/* Menu
* --------------------------------------- */
#menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.burger-menu {
    width: 30px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 102; /* Ensure it's above the menu */
    position: relative; /* Make sure it respects z-index */
}

.burger-menu span {
    height: 4px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-content {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: rgba(51, 51, 51, 0.8); /* Transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    color: white;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 101; /* Ensure it's below the burger menu */
	font-family: Avartequero;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-content ul li {
    margin: 20px 0;
    text-align: center;
}

.menu-content ul li a {
    color: white;
    text-decoration: none;
    font-size: 23px;
}

.menu-content.open {
    left: 0;
}

.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 9px); /* Anpassung der Translation */
    background: white;
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -9px); /* Anpassung der Translation */
    background: white;
}
