/*Allgemein*/
*{
  font-family: "Urbanist", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333333;
}


/* Basis fuer html und body */
html, body {
  left: 0;
  right: 0;
  padding: 0;
  font-family: "Urbanist", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: inherit;
  scroll-behavior: smooth;
  scroll-padding-top: 350px; /* Falls nav 100px hoch ist */
  min-height: 100vh; /* Stellt sicher, dass die Seite die volle Hohe hat */
  display: flex;
  background-image: url("../images/wallpaper/wallpaper41.png");
  flex-direction: column;
  max-width: 100%;
  background-attachment: fixed;
  background-size: 100% 100%;
}


body{
  overflow-x: hidden;
  height: 100%;
}


/* Gesamtbreite des Scrollbalkens - fuer CHROME */
.main-content .right::-webkit-scrollbar {
  width: 20px; /* Breite des Scrollbalkens */
}

/* Hintergrund des Scrollbalken-Tracks */
.main-content .right::-webkit-scrollbar-track {
  background-color: red; /* Hintergrundfarbe des Scrollbalken-Tracks */
}

/* Der bewegliche Teil des Scrollbalkens (der Thumb) */
.main-content .right::-webkit-scrollbar-thumb {
  background-color: orange !important; /* Farbe des Scrollbalken-Thumbs */
  border-radius: 20px; /* Rundung der Ecken des Scrollbalken-Thumbs */
}

/* Hover-Effekt fuer den Scrollbalken-Thumb */
.main-content .right::-webkit-scrollbar-thumb:hover {
  background-color: #45a049; /* Farbe des Scrollbalken-Thumbs, wenn der Benutzer mit der Maus darÃƒÂ¼ber fÃƒÂ¤hrt */
}


/* FIREFOX Scrollbar Styling */
.main-content .right {
  scrollbar-width: thin; /* Duenner Scrollbalken */
  scrollbar-color: green !important; /* Daumen grÃƒÂ¼n, Track rot */
}

/* Entferne unnoetige Scrollbar-Stile */
*::-webkit-scrollbar {
  width: 0px;
  overflow-x: hidden;

}

*::-webkit-scrollbar-track {
  background: none;
  border:none;
  overflow-x: hidden;

}

*::-webkit-scrollbar-thumb {
  background: none;
  border:none;
  overflow-x: hidden;
}

.trennlinie_1{
  border-top: 5px outset rgb(124, 34, 109);
  padding: 5px 10px;
  margin: 50px 80px;
}




/* BEGIN NAVBAR*/
.navbar{
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;              /* 🔥 statt 1900px */
min-width: 100px;
padding: 20px;
position: relative;
top: 0;
left: 0;
z-index: 99;
height: 200px;
}

/* Logo in der Navbar */
#head_logo {
  display: flex;
  align-items: center;
  margin-left: 40px;
}


.head_logo_image {
  width: 200px;
  height: 200px;
  border-radius: 20px;
}

.head_logo_image:hover{
  border: 6px inset silver;
  border-radius: 20px;
}





/* Menue in der Navbar*/
.menu {
  display: flex;
  width: 100%;
  padding: 0;
  float: right;
  flex: 1;
  z-index: 99;
  gap:30px;
  justify-content: space-around;
  align-items: flex-start;

}


.menu a {
  font-size: 1.8rem;
  padding: 15px 20px;
  text-decoration: none;
  color:  #333333; /* Grau */
  display: flex;
  align-items: center;
  min-width: 10px;
  justify-content: center;
  margin: 0 25px;
  font-weight: normal;
  width: 100%;
  text-align: center;
}


.menu a:hover{
  color: black; /* grey */
  font-weight: bold;
  text-decoration: underline;
  font-size: 2.0rem;
}

.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  background-color: rgb(188, 238, 104);
  border-radius: 20px;
  width: 250px !important;
  flex-direction: column;
}



/* Add a grey background color on hover*/
.dropdown a:hover {
  color: black;
  text-decoration: none;
}




.dropdown-content {
  display: none ;
  position: static;
  top: 100%;
  left: 0;
  width: 250px !important;
  z-index: 999;
  border-radius: 20px;
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.dropdown-content a {
  display: block;
  padding: 2px;
  color: black;
  font-size: 1.8rem;
  align-items: center;
  margin: 0 auto;
  justify-content: center;

}

.dropdown-content a:hover {
  text-align: center;
  text-decoration: none;
}



.dropdown-content.show {
  display: block;
  max-height: 500px;
}

.dropbtn {
  color: black;
  font-size: 1.8rem;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* Abstand zwischen Text und Pfeil */
  cursor: pointer;
  width: 250px;
}


.dropbtn:hover {
  color: black;
  font-weight: bold;
  text-decoration: underline !important;
}


.dropbtn i {
  transition: transform 0.3s;
}

.dropbtn.active i {
  transform: rotate(180deg);
}





.menu-button-container {
  width: 40px;
  height: 30px;
  display: none; /* wird nur mobil gezeigt */
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-button-container,
.menu-button-container::before,
.menu-button-container::after {
  content: "";
}

.menu-button {
  width: 100%;
  height: 4px;
  background: black;
  position: relative;
}

.menu-button::before,
.menu-button::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: black;
  left: 0;
}

.menu-button::before { top: -10px; }
.menu-button::after { top: 10px; }



/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 10000;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Animation zu X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


.menu.show {
  display: flex;
}

.menu-icon {
  transition: transform 0.3s ease;
}

.menu-icon.open {
  transform: rotate(90deg) !important; /* oder andere Animation, z.B. Linien über CSS-Pseudoelemente */
}







/* BEGIN Geschrumpfte Navbar*/
.navbar.small {
  height: 125px; /* Kleinere Navbar*/
  padding: 5px;
  background-color: #642275 !important; /* lila */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: height 0.3s ease, padding 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
}


.navbar.small .menu .menu_active{
  color: #868e96; /* hellgruen*/
}

.navbar.small .head_logo_image {
  width: 80px;
  height: 80px;
  background-color: silver;
  border: 6px inset  rgb(188, 238, 104);
  border-radius: 5px;
}

.navbar.small .head_logo_image:hover{
  border: 6px inset silver;
  border-radius: 5px;
}


.navbar.small .menu{
font-size: 1.3rem;
float: right;
display: flex;
padding: 15px 50px;
}


.navbar.small .menu a{
  font-size: 1.3rem;
  color: #868e96; /* hellgruen*/
    padding: 5px 10px;
}

.navbar.small .menu a:hover{
  color: #868e96; /* hellgruen*/
  font-size: 1.53rem;
}
/* END navbar small */






  /* BEGIN Header*/
  header {
    margin-top: 15vh !important; /* oder 25% vh */
    margin-bottom: 10vh;
    left: 200px
    right: 200px;
    display: flex;
    z-index: 10;
    flex-direction: column;
    padding-top: 20px;
    height: auto;
    width: auto;
   text-align: center;
    align-items: center;
  }


header h1{
  padding-top: 40px;
  font-size:4rem;
  color: inherit !important;
  font-family: "Lumanosimo", serif;
  font-weight: bold;
  font-style: normal;
}



header h2{
  font-size:1.8rem;
  text-align: center;
  color: inherit;
  font-family: "Urbanist", serif !important;
  font-optical-sizing: auto;
  font-weight: normal;
  padding: 20px 0 10px 0;
}



#content{
  height: auto;
  font-family: "Urbanist", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}

.content-header {
  max-width: 100%;
  height: auto;
  flex-wrap: wrap;  /* Ermoeglicht das Umfliessen der Elemente */
  justify-content: center;  /* Zentriert die Buttons */
  gap: 30px;  /* Abstand zwischen den Buttons */
  display: flex;  /* Buttons anfangs unsichtbar */
  position: relative;
  align-items: center;
  text-align: center;
}

/* Gestaltung der Button */
.main-button {
  border-radius: 20px;
  border: 6px inset #5e81ac;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: flex; /* Wichtig fuer die Klickbarkeit */
  cursor: pointer; /* Zeigt an, dass es klickbar ist */
  position: relative;
  z-index: 1; /* Stellt sicher, dass die Buttons ueber anderen Elementen liegen */
  height: 80px;
  font-size: 1.7rem;
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  color: #8172a9;
  text-decoration: none;
  flex: 0 2 200px;  /* Verhindert, dass die Buttons sich zu stark ausdehnen */
  min-width: 240px;  /* Maximale Breite der Buttons */
}

.main-button:hover{
  text-decoration: none;
  font-weight: bold;
  color: #471739 ;
  box-shadow: 8px 8px 4px 8px RGBA(94, 129, 172, 0.3);
  background-color: RGBA(94, 129, 172, 0.3);
}



/* Aktiver Button */
.main-button.active {
  color: RGB(76, 106, 146);
  font-weight: bold;
  background-color: #d8dee9;
  border-radius: 20px;
  border: 6px inset #5e81ac;
  box-shadow: 8px 8px 4px 8px RGBA(94, 129, 172, 0.3);
  font-size: 1.7rem;
  text-decoration: none;
  font-family: "Urbanist", sans-serif;
  text-align: center !important;
  align-items: center;
  cursor: pointer;
  font-optical-siziffng: auto;
}


.main-button a:hover {
  color: #f1f1f1;
  background-color:RGBA(76, 106, 146, 0.67);
}




/* Fussbereich */
#footer {
position: relative;
transition: opacity 0.3s ease;  /* Sanfte Uebergangseffekte*/
padding: 5px 0;
color: #868e96 !important;
font-size: 20px;
bottom: 0;
width:100%;
text-align: center;
height: 160px;
z-index:99;
float: left;
 }

/* Die Klasse, die den Footer sichtbar macht
#footer.show {
  opacity: 1;  /* Footer sichtbar
}

#footer.hidden {
  opacity: 0;
  width: 100% !important;
  z-index: 999;
}*/


/* Inhalt der 4 Spalten */
.footer_container{
  padding-top: 5px;
  width: 100%;
  z-index: 999;
  color: #868e96 !important;
}


/* Spalten*/
.footer_row{
  display: flex;
  flex-direction: row;
  padding: 0 5%;
  width: 100% !important;
  z-index: 999;
  color: #868e96 !important;
}

/* 1. Spalte */
.col01{
  padding: 5px 4%;
  min-width: 440px;
  color: #868e96 !important;
/*  margin-left: 200px;*/
}

.MyFooter ul{
  list-style: none;
  display:  flex;
  flex-direction: column;
  text-align: left;
  color: #868e96 !important;
}



.MyFooter ul li{
  list-style: none;
  padding-bottom: 10px;
  float: left;
  color: #868e96 !important;
}

.MyFooter ul li a{
  color: #868e96 !important;
  text-decoration: none;
  font-weight: normal;
  transition: all 0.5s ease;
}

.MyFooter ul li a:hover{
  color: #5e81ac !important;
  text-decoration: none;
  font-weight: bold;
}


/* 2. Spalte */
.col02{
  padding: 5px 4%;
  color: #868e96 !important;
}


.col02 h1{
  color: inherit !important;
  text-decoration: none;
  transition: all 0.5s ease;
  text-align: center;
  font-size: 19px;
  font-weight: normal;
}



/* 3. Spalte */
.col03{
  padding: 5px 6%;
  color: #868e96 !important;
}


.col03 h1{
  color: #868e96 !important;
  text-decoration: none;
  transition: all 0.5s ease;
  text-align: center;
  font-size: 19px;
  font-weight: normal;
}



.social-links a{
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255,255,255,0.2);
  margin:0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: inherit !important;
  transition: all 0.5s ease;
}

.social-links a:hover{
  color: #5e81ac !important;
  background-color: #ffffff;
  text-decoration: none;
}

.footer_bottom ul{
  width: 100%;
  float: left;
  list-style: none;
  text-align: center;
  display: inline;
  z-index: 100;
  padding: 1 auto;
}

.footer_bottom ul li{
  margin-bottom: 1.6em !important;
  margin-top: 1em;
  align-items: center;
  display: inline;
}

.footer_bottom ul li a{
  color: black; /* grey */
  text-decoration: none;
  z-index: 9999 !important;
}

.footer_bottom ul li a:hover{
  color: #e06228;
  text-decoration: none;
}



.previous, .next {
  background-color: inherit;
  color: #868e96 !important;
  width: 250px;
  height: 70px;
  text-decoration: none;
  padding: 5px 18px;
  font-weight: normal;
  z-index: 999;

}

.previous:hover, .next:hover {
  text-decoration: none;
  border: 5px inset #81a1c1;
  border-radius: 15px;
  padding: 5px 18px;
  font-weight: bold;
}


/* Mobile Menü
@media (max-width: 900px) {
body.hobbies .menu a{
background: #777 !important;
}

/* Bereich für Hamburger Zeichen
.menu-button-container {
display: flex;
background-color: red !important;
z-index: 9999 !important;
height: auto;

}

.menu {
/*  flex-direction: column;
width: 100%;
/*background: green !important;
display: flex;
gap:20px;
justify-content: space-around;
align-items: center;
width: 100%;
padding: 0;
right: 0 ;
float: right;
flex: 1;
z-index: 99;
/*background: grey;

display: none;          /* 🔥 entscheidend
flex-direction: column;
width: 100%;
position: absolute;
top: 120px;             /* je nach Navbar-Höhe anpassen
left: 0;
background: #333;
z-index: 9999;
}

.menu.show {
display: flex;
}



.menu a {
/*font-size: 1.8rem;
padding: 15px 20px;
text-decoration: none;
color:  white; /* Grau
display: flex;
align-items: center;
min-width:250px;
justify-content: center;
margin: 0 25px;
font-weight: normal;
z-index: 9999;
color: white;
}




.menu a:hover {
background: #555;  /* grau
color: white;
display: block;
}



/* Einstellung "Hobbies"
.menu a.menu_active{
color: white;
font-weight: bold !important;
background-color: #81a1c1;

width: 180px;
padding: 15px 0;
cursor: none;
border-radius: 20px;
}



#head_logo img{
display: none;
}

main{
padding-bottom: 50px;
}

#footer{
height: 30px !important;
margin-top: 200px;
}

.footer_row{
display: none;
}


.menu a {
color: white;
padding: 15px;
display: block;
}

.menu a:hover {
background: #555;
}

.menu a.menu_active {
background: #777;  /* grau
color: white;
}


.menu a.menu_active:hover{
text-decoration: none;
cursor: none;
}*/


/* ===== MOBILE ===== */
@media (max-width: 900px) {

body{
  padding-bottom: 50px;
  overflow-x:hidden;
}

  .navbar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #eaf1f8;
  }

  .navbar.small{
    display: none;
  }

  /* Hamburger sichtbar erzwingen */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: auto; /* schiebt ihn sauber nach rechts */

  }

  .hamburger span {
    width: 30px;
    height: 3px;
    background: black;
  }

  /* Menü standardmäßig aus */
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px 0;
    background: #eaf1f8;
    }


    .menu.show {
      display: flex ;
    }

.menu a {
      padding: 15px;
      text-align: center;
    }

.menu a:hover{
      text-decoration: underline;
      font-weight: bold;
      color: black !important;
    }

    /* Klick-Zustand */
    .menu a:active {
      color: black;
    }

    /* Fokus (z.B. Tastatur) */
    .menu a:focus {
      color: black;
      outline: none;
    }

.head_logo_image{
  display: none !important;
  opacity: 0;
}

header {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding: 20px;
    height: auto !important;
    overflow: visible !important;
  }



  #footer{
    height: 30px !important;
    margin-top: 200px;
  }

     .footer_bottom{
      float: left;
      margin-left: 14%;
    }

  .toggle-button {
     display: none !important;
   }

     .footer_row{
       display: none;
     }

  .gcse-search,
   .gcse-search *,
   .gsc-control-cse,
   .gsc-control-cse * {
     display: none !important;
   }
}
