/* Allgemeines Styling für Darkmode */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dunkler Hintergrund */
    color: #f5f5f5; /* Weißer Text */
}

/* Fixierter Footer */
footer {
    background-color: #222; /* Dunkler Hintergrund für den Footer */
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed; /* Fixiert den Footer */
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid #ff5555; /* Rote Akzentfarbe */
}

/* Überschriften */
h1, h2 {
    color: #ff5555; /* Rote Akzentfarbe */
    text-align: center;
}

/* Navigationsleiste */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e1e1e;
    padding: 10px 20px;
    border-bottom: 2px solid #ff5555; /* Rote Akzentfarbe */
}

nav .logo {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

nav .menu {
    display: flex;
    gap: 20px;
}

/* Menüpunkte und Hover-Effekte */
nav .menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s, background-color 0.3s;
}

nav .menu a:hover {
    color: #fff;
    background-color: #ff5555; /* Dunkleres Rot */
}

/* Zwischenraum zwischen den Menüpunkten */
nav .menu a + a {
    border-left: 1px solid #333; /* Graue Linie zwischen den Menüpunkten */
}

/* Dropdown für Konto */
nav .dropdown {
    position: relative;
}

nav .dropdown-content {
    position: absolute;
    right: 0; /* Öffnet sich standardmäßig nach rechts */
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 200px; /* Breite des Dropdowns */
}

nav .dropdown:hover .dropdown-content {
    display: flex;
}

/* Dropdown nach links öffnen */
nav .dropdown-content {
    left: auto; /* Automatische Positionierung */
    right: 0; /* Entferne diese Zeile, um nach links zu öffnen */
}

/* Eingabefelder und Button im Dropdown */
nav .dropdown-content input, 
nav .dropdown-content button {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: #fff;
}

nav .dropdown-content button {
    background-color: #ff5555; /* Rote Akzentfarbe */
    border: none;
    transition: background-color 0.3s ease;
}

nav .dropdown-content button:hover {
    background-color: #cc4444; /* Dunkleres Rot bei Hover */
}
