*{
    font-family: 'Geologica', sans-serif;
}

html{
    background-color: rgb(255, 255, 255);
}

/*alle artikel für breite monitore*/
article{
    max-width: 35%;
    padding: 20px;
    margin: 20px auto 0 auto;
    display: flex;
    flex-direction: column;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.427);
    text-align: center;
}



/*Navigationsleiste von ChatGPT*/



/* === BASISSTIL === */
.navbar {
  background-color: #fff;
  color: #000;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
}

/* Logo darf nie hinterlegt werden */
.logo img {
  display: block;
}

/* === Desktop-Menü === */
.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

/* Links */
.nav-menu a {
  text-decoration: none;
  color: #000;
  display: block;
  padding: 10px 18px;
  transition: background-color 0.25s ease;
}

/* gleichmäßiger Hover-Hintergrund */
.nav-menu a:hover {
  background-color: #e50914;   /* kräftiges Rot */
  color: #fff;
  border-radius: 5px;
}

/* Untermenüs Desktop */
.nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background-color: #fff;
  border: 1px solid #e50914;
  border-radius: 0 0 8px 8px;
  min-width: 180px;
  margin: 0;
  padding: 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.nav-menu li ul li a {
  color: #000;
  padding: 10px 15px;
}

.nav-menu li ul li a:hover {
  background-color: #ffcc00;   /* Gelb als Akzent */
  color: #000;
}

.nav-menu li:hover > ul {
  display: block;
}

/* === Hamburger-Button === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #000;
  cursor: pointer;
}

/* === Pfeil für Untermenüs === */
.submenu-toggle {
  display: none;
  font-size: 0.9rem;
  color: #e50914;
  margin-left: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.has-submenu.open > .submenu-toggle {
  transform: rotate(180deg);
}




/*Navigationsleiste Ende*/




/*Rote Infoleiste*/
.info{
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.427);
    background-color: rgb(255, 0, 0);
    display: flex;
    justify-content: center;
}
/* Rote Infoleiste ende*/

/*Google Maps integration*/
iframe {
    
    width: auto;
    height: 100% ;
}
/*Google Maps iframe ende*/


/*links im downloadordner im loginbereich*/
.logindownloads a{
    text-decoration: none;
    line-height: 2;
    font-size: 120%;
    color: red;
}
.logindownloads p{
    font-size: 130%;
    text-decoration: underline;
    font-weight: bold;
}

.logindownloads a:hover{
    color: rgb(255, 174, 0);
}
/* Downloadordner im loginbereich ende/*








/*für alle Handys*/
@media (max-width:920px) {

    /*alle artikel auf Handys (Und Tablets)*/
    article{
        max-width: 80%;
        padding: 20px;
        margin: 20px auto 0 auto;
        display: flex;
        flex-direction: column;
        background-color: rgb(255, 255, 255);
        border-radius: 10px;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.427);
        text-align: center;
    }


    /*Navigationsleiste von Chat GPT*/


    .nav-menu {
    flex-direction: column;
    align-items: stretch;
    display: none;
    width: 100%;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu li {
    text-align: left;
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  .nav-menu li a {
    padding: 12px 16px;
    color: #000;
  }



 /* Menüpunkt + Pfeil nebeneinander in einer Zeile */
  .has-submenu {
    position: relative;
  }

  /* Der Link selbst bleibt normal (block) */
  .has-submenu > a {
    display: block;
    width: 100%;
    padding-right: 40px; /* Platz für Pfeil rechts */
  }

  /* Pfeil-Icon absolut positioniert */
  .submenu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #e50914;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  /* Pfeil dreht sich sanft bei offenem Menü */
  .has-submenu.open > .submenu-toggle {
    transform: translateY(-50%) rotate(180deg);
  }

  .has-submenu.open > .submenu-toggle {
   color: #ffcc00; /* Gelb als visuelle Rückmeldung */
  }



  /* Untermenüs animiert aufklappen */
  .nav-menu li ul {
    position: static;
    border: none;
    background-color: #fff8e1;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
  }

  .nav-menu li.open > ul {
    max-height: 500px;
    opacity: 1;
  }

  .nav-menu li ul li a {
    padding: 10px 25px;
    color: #000;
  }

  .nav-menu li ul li a:hover {
    background-color: #ffcc00;
    color: #000;
  }





    /*Mobilenav Ende*/


 
}


