*{
    text-decoration: none;
    margin: 0; /* Remove default margins */
    padding: 0pt; /* Remove default padding */
}

.MobileMenu{
    display: none;

}
body {
    overflow-x: hidden; /* Hide horizontal scrollbar */
}
.navbar a {
    color: inherit; /* Verwende die Farbe des umgebenden Elements */
    text-decoration: none; /* Entferne Unterstreichungen */
    cursor: pointer; /* Zeige einen normalen Cursor an */
    /* Weitere Stile hier nach Bedarf */
}
.navboss{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: row;
    
}
.topbar{
    padding: 2.5px 0; /* Hier wird das padding für die navbar hinzugefügt */
    background:#302f2e;
}
.navbar{
    background: linear-gradient(#4f4f4d, #323231);
    padding: 30px 0; /* Hier wird das padding für die navbar hinzugefügt */
    flex-grow: 1;
}
.downbar{
    padding: 0.5px 0; /* Hier wird das padding für die navbar hinzugefügt */
    background:#000000;
    box-shadow: -1px 6px 12px 1px #000000;
}
.navdiv{
    display: flex;
    align-items: center; 
    justify-content:center;
    
}
.NavBarcontainer{
    display: flex;
    align-items: center;
    
    
}


.navdiv ul {
   
    display: flex;
    justify-content: center;
    list-style-type: none;
    border-style:inset;
    border-top-color: white;
    border-left-style: none;
    border-right-style: none;
    
}

.logo2{
    padding-left: 1%;
    padding-right: 1%;
}

.invlogo{
    visibility: hidden;
}

.logofont {
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: white;
    font-size: 13pt;
    line-height: 0.65cm;
    
}

.logo2 p{
    color: #ED9942; 
    font-size: 14pt;
}


.navbar button{
    padding: 10px 35px;
    border-style: none; 
    background-color: transparent; 
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    width:fit-content;
    border-style: solid;
    border-width: 0.01cm;
    border-radius: 0.1cm;
    background-color: rgb(32, 32, 32);
    box-shadow: 0px 8px 160px 6px rgba(0,0,0,0.2);
    padding: 0px 0px;
    margin-top: 7%;
    z-index: 2;
    top: 100%; /* Positionierung unter dem Button */
    left: 50%; /* Zentrierung des Dropdowns relativ zum Button */
    transform: translateX(-50%); /* Zentrierung des Dropdowns horizontal */
}
.dropdown-content a {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #D0CFCD;
    display: block;
    padding: 8px 16px; /* Vertikaler und horizontaler Abstand zwischen den Links */
    transition: color 0.5s ease;
    background-color: transparent;
    transition: background-color 0.5s ease;
}
.dropdown-content a:hover {
    background-color: #D0CFCD;
    color:#222120;
}
.dropdown:hover .dropdown-content {
    display: block;
}

.navbar button{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #D0CFCD;
    transition: color 0.5s ease;
}
.navbar button:hover{
    color:#222120;
}
.zeichenabstand{
    letter-spacing: 0.24cm;
    font-size: 18pt;
}



@media screen and (max-width: 1400px) {
    .navbar{    
        padding: 20px 0px;
     }
    .navboss *{
        font-size: 11pt;
    }
    .zeichenabstand{
        font-size: 16pt;
    }
    .logofont {
        font-size: 12pt;
    }
    
    
    .logo2 p{
        color: #ED9942; 
        font-size: 12pt;
      
    }

    .dropdown-content a {
        padding: 8px 12px; /* Vertikaler und horizontaler Abstand zwischen den Links */
        font-size: 11pt;

    }

  }

  @media screen and (max-width: 1350px) {
    .navboss *{
        font-size: 10pt;
    }
    .zeichenabstand{
        font-size: 14pt;
        letter-spacing: 0.235cm;
    }
    .logofont {
        font-size: 11pt;
    }
    
    
    .logo2 p{
        color: #ED9942; 
        font-size: 12pt;
      
    }
    .dropdown-content a {
        padding: 8px 12px; /* Vertikaler und horizontaler Abstand zwischen den Links */
        font-size: 10pt;

    }
    .navbar button{
        padding: 8px 28px;
        
    }
  }
  @media screen and (max-width: 1200px) {
    .navbar{    
        padding: 15px 0px;
     }
    .navboss *{
        font-size: 10pt;
    }
    .zeichenabstand{
        font-size: 14pt;
        letter-spacing: 0.17cm;
    }
    .logofont {
        font-size: 10pt;
        line-height: 0.55cm;
    }
    
    
    .logo2 p{
        color: #ED9942; 
        font-size: 12pt;
      
    }
    .dropdown-content a {
        padding: 8px 12px; /* Vertikaler und horizontaler Abstand zwischen den Links */
        font-size: 10pt;

    }
    .navbar button{
        padding: 8px 23px;
        
    }
  }
  @media screen and (max-width: 1080px) {
    .navboss *{
        font-size: 9pt;
    }
    .zeichenabstand{
        font-size: 14pt;
    }
    .logofont {
        font-size: 10pt;
    }
    
    
    .logo2 p{
        color: #ED9942; 
        font-size: 11pt;
      
    }
    .dropdown-content a {
        padding: 8px 12px; /* Vertikaler und horizontaler Abstand zwischen den Links */
        font-size: 9pt;

    }
    .navbar button{
        padding: 7px 24px;
        
    }
  }

  @media screen and (max-width: 1000px) {
    .navbar *{
        font-size: 8.5pt;
    }
    .zeichenabstand{
        font-size: 13pt;
        letter-spacing: 0.145cm;
    }
    .logofont {
        font-size: 9pt;
    }
    
    
    .logo2 p{
        color: #ED9942; 
        font-size: 10pt;
      
    }
    .dropdown-content a {
        padding: 8px 12px; /* Vertikaler und horizontaler Abstand zwischen den Links */
        font-size: 8.5pt;

    }
    .navbar button{
        padding: 5px 20px;
        
    }
  }

/* Ab einer Breite von 900px soll das normale Menü durch die MobileMenu Taste ersetzt werden */
@media screen and (max-width: 900px) {
    .navbar{    
        padding:5px 0px;
     }
    .navdiv ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #323231;
        position: fixed;
        top: 0;
        right: -100%; /* Außerhalb des Bildschirms */
        height: 100%;
        width: 250px;
        transition: right 0.4s ease; /* Schiebende Animation */
        z-index: 999;
        padding-top: 70px; /* Platz für die Logo und Menü-Schaltflächen */
    }


.navdiv ul.active {
    right: 0; /* Schiebt das Menü auf den Bildschirm */
}

.navdiv ul li {
    list-style-type: none;
    width: 100%;
    text-align: center;
}

.navdiv ul li a {
    display: block;
    padding: 10px;
    color: #D0CFCD;
    text-decoration: none;
}

.navdiv ul li a:hover {
    background-color: #D0CFCD;
    color: #222120;
}


/* Stil für Dropdown-Inhalte, die links vom Menü angezeigt werden */
.navdiv .dropdown {
    position: relative;
}

.dropdown-content {
    visibility: hidden;
}

.navbar button {
        padding: 10px 35px;
    }
    .logo{
        margin-left: 0.6cm;
    }
    
    .logo2{
        display: none;
    }
    
    .NavBarcontainer{
        width: 100%;
        justify-content: space-between;
        
    }
    .invlogo{
        display: none;
    }
    .zeichenabstand{
        font-size: 18pt;
        letter-spacing: 0.2cm;
    }
    .logofont {
        font-size: 12pt;
    }
    .MobileMenu {
        display: block;
    }
    .MobileMenuButton{
        font-size: 30pt;
    }
}

