@charset "UTF-8";
/* CSS Document */

/* Navigation */
header {
	width: 100%;
	height: 5%;

}
.logo {
	float: left;
}

nav {
	float: right;
	width: 50%;
	text-align: right;
	margin-right: 25px;
}
header nav ul {
	list-style: none;
	float: right;
}
nav ul li {
	float: left;
	color: #000;
	font-size: 12px;
	text-align: left;
	margin-right: 25px;
	letter-spacing: 2px;
	font-weight: bold;
	transition: all 0.3s linear;
}
ul li a {
	color: #000000;
	text-decoration: none;
}
ul li:hover a {
	color: #2C9AB7;
}


.menu {
height: 100px;	
}
/* gross */
.navigation {
  width:100%;
  position: fixed;
  height: ;
  background: ;

  transition: all .4s ease;
  
}
.navigation .menu-stick {
  text-align:center;
  padding-top:0.0rem;
  transition: all .4s ease;
  width: auto;
  margin: auto;
}
.navigation .logo {
position: absolute;
background-color:;
background-image: url("../img/logos/GEG_Logo2024.png");
	background-size: 420px;
	background-repeat: no-repeat;
margin-top: 0px;
margin-left: 0px;	
width: 554px;
height: 266px;
}





/* verkleinern */
.kleiner {
  height: 50px;
	background: #00aade;
}
.kleiner .menu-stick{
padding-top: -20px;
}
.kleiner .logo{
  background:url("../img/logos/GEG_Logo2024_Typo_NEG.png") no-repeat;
	background-size: contain;
width: 150px;
height: ;
display:block;
padding-top: 20px;
}
.kleiner .menu-punkte {
  padding-top: 0px;
	margin-top: 0px;
}

}
.text {
  width:600px;
  margin:auto;
  display:block;
  padding-top:12rem;
}

.kleiner nav ul li {
	float: left;
	color: #FFFFFF;
	font-size: 12px;
	text-align: left;
	margin-right: 25px;
	letter-spacing: 2px;
	font-weight: bold;
	transition: all 0.3s linear;
}
.kleiner ul li a {
	color: #FFFFFF;
	text-decoration: none;
}

/* Hide mobile button on desktop and ensure menu is always visible */
.mobile-toggle { display: none; }
@media (min-width: 768px) {
    header nav { display: block !important; }
}

@media (max-width: 767px) {
    /* 1. Header background and Flexbox layout */
    .navigation {
        position: fixed !important;
        top: 0;
        width: 100%;
        background-color: #ffffff; /* White background so it's clean */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
        z-index: 9999 !important;
        transition: all 0.3s ease;
    }

    /* Puts the logo on the left and the hamburger on the right */
    .navigation .menu-stick {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. Top Left Logo */
    .navigation .logo {
        position: relative !important;
        width: 150px !important;
        height: 60px !important;
        background-image: url("../img/logos/GEG_Logo2024.png") !important;
        background-size: contain !important;
        background-position: left center !important;
        background-repeat: no-repeat !important;
        margin: 0 !important;
        display: block !important;
    }

    /* 3. The 3-Line Hamburger Button */
    .mobile-toggle {
        display: block !important;
        font-size: 30px;
        cursor: pointer;
        color: #383c6d; /* Dark blue color */
        line-height: 1;
        margin-top: -5px;
    }

    /* 4. The Dropdown Menu (Hidden until clicked) */
    .navigation nav {
        display: none; 
        width: 100% !important;
        background-color: #00aade !important; /* Blue dropdown menu */
        margin-top: 10px !important;
        padding: 0 !important;
    }

    header nav ul {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        float: none !important;
    }

    nav ul li {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.2) !important; /* Lines between links */
        float: none !important;
    }

    nav ul li a {
        color: #ffffff !important; /* White text for links */
        font-size: 16px !important;
    }

    /* 5. SCROLL BEHAVIOR: Changes header when scrolled down */
    .navigation.kleiner {
        background-color: #00aade !important; /* Whole header turns blue */
    }

    /* Swaps to the "Geggos" text-only logo */
    .navigation.kleiner .logo {
        background-image: url("../img/logos/GEG_Logo2024_Typo_NEG.png") !important;
        width: 120px !important;
        height: 40px !important;
    }

    /* Turns the hamburger button white to contrast with blue background */
    .navigation.kleiner .mobile-toggle {
        color: #ffffff !important; 
    }
}