 /* Interner CSS-Code für grundlegende Stile */
 body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    
    
  }
  
  header {
  background-color: #1B5E3C;
  padding-top: 20px;
  padding-bottom: 30px;
  }
  
  .navbar {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    position: relative;
    
  }
  
  
  
  
  .nav-menu {
    display: flex;
    justify-content: flex-end; /* Ändern Sie diese Zeile */
   
    gap: 60px;
    color: white;
    margin-top: 2.5vh;
    margin-left: auto; /* Fügen Sie diese Zeile hinzu */
    list-style: none;
  }
  
  .nav-branding {
    color: white;
    padding: 0;
    font-weight: normal;
    margin: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 25px;
  }
  
  
  /* Container für das Logo und den Titel */
  .logo-container {
  text-align: center;
  
  }
  
  /* Haupttitel (Logo) */
  .logo-container h1 {
  font-size: 36px;
  margin: 0;
  color: #ffffff;
  font-weight: bold;
  }
  
  /* Link im Titel (Logo) */
  .logo-container h1 a {
  text-decoration: none;
  color: #ffffff;
  }
  
  /* Untertitel */
  .logo-container .subtitle {
  font-size: 18px;
  margin-top: 10px;
  color: #d3d3d3;
  }
  
  @media(max-width: 768px) {
    .nav-branding {
        padding: 0;
        font-weight: normal;
        margin: 5px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 25px;
      }
    
    
    
    
    .logo-container {
        text-align: center; /* Zentriere den Text im Container */
      
    }
    
    
    h1 a {
     
        text-decoration: none; /* Entferne die Unterstreichung */
        color: white;
        font-size: 30px;
       
        
    }
    .subtitle {
      display: block;
      font-size: 10px;
    }
     
  
   
  }
  
  .nav-link {
    position: relative;
    color: white;
    text-decoration: none;
  }
  
  
  
  .nav-link:hover::before {
    width: 100%;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    color: white;
    margin: 5px;
    position: relative;
    width: 30px;
    height: 24px;
  }
  
  .bar {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.5s ease;
  }
  
  .bar:nth-child(1) {
    top: 0;
  }
  
  .bar:nth-child(2) {
    top: 10px;
  }
  
  .bar:nth-child(3) {
    top: 20px;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  @media(max-width: 768px) {
    .hamburger {
        display: block;
        margin-left: auto;
  
    }
  
    .nav-menu {
        position: absolute;
        left: -115%;
        top: 40px;
        gap: 0;
        flex-direction: column;
        width: 100%;
        transition: 0.3s;
        z-index: 1;
        background-color: #1B5E3C;
  
  
        
        
    }
  
    .nav-item {
         margin-bottom: 10px;
        color: rgb(50, 109, 168);
        padding: 10px 70px;
        font-weight: bold;
        font-size: 18px;
    }
  
    .nav-link {
        position: relative;
      
        text-decoration: none;
      }
    .nav-menu.active {
        left: 0;
    }
  
  }
  
  
  
    
  
  
  


#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1B5E3C; /* Weißer Hintergrund */
    display: flex;
    flex-direction: column; /* Vertikale Anordnung */
    justify-content: center; /* Zentriert vertikal */
    align-items: center; /* Zentriert horizontal */
    z-index: 9999; /* Über anderen Inhalten */
    visibility: hidden; /* Standardmäßig verborgen */
}



@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}













/* Füge box-sizing für alle Elemente hinzu */
* {
    box-sizing: border-box;
}

/* Allgemeine Stile für den Container */
#login-register-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Stile für die Anmelde- und Registrierungsbox */
.login-register {
    width: 100%;
    padding: 20px;
}

/* Eingabefelder */
input[type="email"],
input[type="password"],
.submit {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
}

/* Button */
.submit {
    background-color: #1B5E3C;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


/* Fehlermeldungen */
#login-message, #register-message {
    color: red;
    text-align: center;
    margin-top: 10px;
}


/* Stile für die Links zum Wechseln zwischen Anmelden und Registrieren */
#show-register, #show-login {
    background: none;
    border: none;
    color: #1B5E3C;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    display: block;
    margin: 10px auto;
    text-align: center;
}

#show-register:hover, #show-login:hover {
    text-decoration: none;
}

#forgot-password {
    background: none;
    border: none;
    color: #1B5E3C;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    display: block;
    margin: 10px auto;
    text-align: center;
}

.watchlist a {
    text-decoration: none; /* Keine Unterstreichung */
    color: white; /* Farbe des umgebenden Textes verwenden */
}













#auth-form {
    display: flex; /* Flexbox für das Layout */
    flex-direction: column; /* Elemente untereinander anordnen */
}

#auth-form input {
    padding: 10px; /* Innenabstand für die Eingabefelder */
    margin-bottom: 10px; /* Abstand zwischen den Eingabefeldern */
    border: 1px solid #ccc; /* Graue Umrandung */
    border-radius: 4px; /* Abgerundete Ecken */
}

#auth-form input:focus {
    border-color: #007BFF; /* Farbe der Umrandung beim Fokus */
    outline: none; /* Entferne den Standardfokus-Rand */
}

#auth-form button {
    padding: 10px; /* Innenabstand für den Button */
    background-color: #007BFF; /* Blaue Hintergrundfarbe */
    color: white; /* Weiße Textfarbe */
    border: none; /* Keine Umrandung */
    border-radius: 4px; /* Abgerundete Ecken */
    cursor: pointer; /* Zeiger-Cursor beim Hover */
}

#auth-form button:hover {
    background-color: #0056b3; /* Dunklere Blautönung beim Hover */
}

#message {
    margin-top: 15px; /* Abstand über dem Nachrichtentext */
    color: #d9534f; /* Rote Farbe für Fehlermeldungen */
}



.profile {
    text-align: center;
}

.main {
    text-align: center;
}


.saved-articles {
    text-align: left;
    background-color: white;
    color: #1B5E3C;
    text-decoration: none;
    width: 80%;
    margin: 0 auto;
    padding: 30px;

}

.saved-articles ul {
    list-style: none;
}

.saved-articles li {
    padding: 10px;
    border: #1B5E3C 2px solid;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: #1B5E3C;
}

.saved-articles a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.log_out {
    border: #1B5E3C 2px solid;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: #1B5E3C;
    margin-top: 5%;
    color: white;
}





.watchlist {
    margin-top: 30px;
    text-align: left;
    background-color: white;
    color: #1B5E3C;
    text-decoration: none;
    width: 80%;
    margin: 0 auto;
    padding: 30px;
}

.watchlist h3 {
    margin-bottom: 10px; /* Abstand zwischen Titel und Liste */
}

#watchlist-items {
    list-style-type: none; /* Entfernen der Aufzählungszeichen */
}

#watchlist-items li {
    display: flex; /* Flexbox aktivieren */
    justify-content: space-between; /* Platz zwischen den Elementen verteilen */
    align-items: center; /* Vertikale Ausrichtung */
    padding: 10px;
    border: #1B5E3C 2px solid;
    margin-bottom: 10px;
    border-radius: 10px;
    color: white;
    background-color: #1B5E3C;
   

}

#watchlist-items li button {
    background-color: #ff4757; /* Rote Hintergrundfarbe für den Button */
    color: white; /* Textfarbe */
    border: none; /* Kein Rahmen */
    padding: 5px 10px; /* Innenabstand für den Button */
    border-radius: 5px; /* Abgerundete Ecken für den Button */
    cursor: pointer; /* Handcursor beim Hover */
    transition: background-color 0.3s; /* Übergang für Hintergrundfarbe */
}

#watchlist-items li button:hover {
    background-color: #e84118; /* Dunklerer Rotton beim Hover */
}

#watchlist-items a {
    color: white;
    font-size: 20px;

}

@media (max-width: 768px) {


.saved-articles,
.watchlist {
        text-align: center; /* Text zentrieren */
        background-color: white;
        color: #1B5E3C;
        text-decoration: none;
        width: 90%; /* Breite des Containers */
        margin: 0 auto; /* Zentrieren des Containers */
        display: flex; /* Flexbox aktivieren */
        flex-direction: column; /* Elemente untereinander anordnen */
        align-items: center; /* Zentrieren der Kinder horizontal */
        margin-top: -30px;
}
.saved-articles ul, 
.watchlist ul {
    list-style: none;
    padding: 0; /* Kein Padding für die Liste */
    margin: 0; /* Kein Margin für die Liste */
}

.saved-articles li
.watchlist li {
    text-align: center; /* Text innerhalb der Listenelemente zentrieren */
    padding: 10px;
    border: #1B5E3C 1px solid;
    margin-bottom: 10px;
    border-radius: 10px;
    width: 350px;
    
}

#saved-articles-list li {
    width: 350px;
}


#watchlist-items li {
    display: flex; /* Flexbox aktivieren */
    justify-content: space-between; /* Platz zwischen den Elementen verteilen */
    align-items: center; /* Vertikale Ausrichtung */
    padding: 10px;
    border: #1B5E3C 2px solid;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 18px;
    width: 350px;

}



.saved-articles a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.log_out {
    border: none;
    background-color: #1B5E3C;
    margin-top: 5%;
    color: white;
}

#watchlist-items a {
    color: white;
    font-size: 18px;

}


.watchlist h3 {
    margin-bottom: 10px; /* Abstand zwischen Titel und Liste */
}

#watchlist-items {
    list-style-type: none; /* Entfernen der Aufzählungszeichen */
}



#watchlist-items li button {
    background-color: #ff4757; /* Rote Hintergrundfarbe für den Button */
    color: white; /* Textfarbe */
    border: none; /* Kein Rahmen */
    padding: 5px 10px; /* Innenabstand für den Button */
    border-radius: 5px; /* Abgerundete Ecken für den Button */
    cursor: pointer; /* Handcursor beim Hover */
    transition: background-color 0.3s; /* Übergang für Hintergrundfarbe */
}

#watchlist-items li button:hover {
    background-color: #e84118; /* Dunklerer Rotton beim Hover */
}

    
#login-register-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    width: 90%;
    margin: 20px auto;
    max-width: 600px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
     }
    