:root{
  --main-color: #ff0000;
  --bg-color: rgb(15, 15, 15);
  --h-bg-color: rgb(22, 22, 22);
  --sc-bg-color: rgb(24, 24, 24);
  --ssc-bg-color:rgb(41, 41, 41);
}

header {
    background: var(--h-bg-color);
  }
  
  header * {
    color: white;
    margin: 0;
    padding: 0;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between; /* Verteilt die drei divs */
    align-items: center; /* Zentriert vertikal */
    padding: 10px 20px;
  }
  
  .header-left,
  .header-right {
    flex: 1; /* Nimmt den verfügbaren Platz ein */
  }
  
  .header-center {
    flex: 2; /* Nimmt mehr Platz ein, um den Text zu zentrieren */
    text-align: center; /* Zentriert den Text in diesem Container */
  }
  
  .logo-text {
    font-size: 2em;
    margin: 0;
    font-family: "Roboto", sans-serif;
  }
  
  .logo-text span {
    color: var(--main-color);
    font-style: italic;
    padding-right: 5px;
  }
  
  .header-left .logo img {
    max-height: 50px; /* Beispielhöhe, anpassen je nach Bedarf */
  }
  
  .header-right {
    display: flex;
    justify-content: flex-end; /* Richtet den Inhalt am rechten Ende aus */
  }
  
  .header-right .nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  .header-right .nav a {
    letter-spacing: 2px; 
    font-family: "New Amsterdam", sans-serif;
    text-decoration: none;
    color: #fff; 
    margin-right: 30px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    font-size: 20px;
  }

  .header-right .nav a:hover{
    color: red;
    transform: scale(1.1);
  }
  
  .topic-header {
    height: 50px;
    background: var(--ssc-bg-color);
    font-family: "Roboto", sans-serif;
  }
  
  .topic-header ul {
    height: 50px;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  
  .list-topic {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* Anordnung der Listenelemente nebeneinander */
    justify-content: center; /* Zentriert die Listenelemente horizontal */
  }
  
  .list-topic li {
    margin: 0 15px; /* Abstand zwischen den Listenelementen */
  }
  
  .list-topic a {
    font-size: 1.2rem;
    padding-left: 15px;
    position: relative;
    text-decoration: none; /* Entfernt die Unterstreichung der Links */
    color: white; /* Farbe der Links (anpassbar) */
    font-weight: bold; /* Optional: Text fett darstellen */
  }
  
  .list-topic a::before {
    content: "";
    position: absolute;
    top: 15%; /* Startet die Linie ein Stückchen unten */
    bottom: 15%; /* Endet die Linie ein Stückchen oben */
    width: 2px;
    background-color: red;
    transform: translateX(calc(-100% - 5px));
    border-radius: 100px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.3);
  }

  .dropdown {
    display: none;
    position: absolute;
    background-color: white;
    list-style: none;
    z-index: 99999;
    padding: 10px;
    /*----------*margin-top: 8px;------------*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .dropdown li{
    margin: 0;
  }
  
  .user-menu:hover + .dropdown,
  .dropdown:hover {
    display: block; /* Für Desktop-Ansicht: Menü beim Hover anzeigen */
  }
  
  .menu-toggle {
    cursor: pointer;
    font-size: 24px;
    display: none; /* Zeige das Icon nur auf mobilen Geräten */
  }

  .header-right .dropdown a {
    color: black;
    text-decoration: none;
  }

@media (max-width: 640px){
    .logo-text {
    font-size: 1.4em;
    margin: 0;
    font-family: "Roboto", sans-serif;
  }
  
  
}

@media (max-width: 800px){
.topic-header {
    display:none;
}
}