/* CSS für das Dropdown-Menü */

/* Container für das Dropdown-Menü */
.dropdown-container {
    position: relative;
    display: inline-block;
    /* Neben anderen Elementen */
}

/* Dropdown-Menü */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgb(39, 41, 44);
    /* Dunkler Hintergrund */
    border: 3px solid #F2F4FF;
    border-radius: 20px;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgb(0, 0, 0);
    /* Schatten */
    z-index: 11;
    /* Über anderen Elementen */
}

/* Dropdown-Menü wird beim Hover angezeigt */
.dropdown-container:hover .dropdown-menu {
    display: block;
}

/* Links im Dropdown-Menü: Block-Layout und Styling */
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #F2F4FF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Letzter Link, kein unterer Rahmen */
.dropdown-menu a:last-child {
    border-bottom: none;
}

/* Hover-Effekt für Links im Dropdown-Menü */
.dropdown-menu a:hover {
    background-color: #F2F4FF;
    color: #27292C;
    border-radius: 15px;
}

/* Alternative Dropdown-Container und Menü für andere Varianten */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(39, 41, 44, 0.95);
    /* Leicht transparenter Hintergrund */
    border: 3px solid #F2F4FF;
    border-radius: 20px;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

/* Dropdown-Menü wird beim Hover angezeigt */
.dropdown-container:hover .dropdown-menu {
    display: block;
}

/* Links im Dropdown-Menü, Block-Layout und Styling */
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #F2F4FF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Letzter Link, kein unterer Rahmen */
.dropdown-menu a:last-child {
    border-bottom: none;
}

/* Hover-Effekt für Links im Dropdown-Menü */
.dropdown-menu a:hover {
    background-color: #F2F4FF;
    color: #27292C;
    border-radius: 15px;
}

/* Responsive Anpassung für kleine Bildschirme */
@media (max-width: 600px) {
    .dropdown-menu {
        position: fixed;
        top: 70px;
        left: 50%;
        /* Zentriert horizontal */
        transform: translateX(-50%);
        min-width: 95vw;
        /* Fast volle Breite */
        font-size: 25px;
        padding: 10px 0;
        z-index: 1000;

        /* Links im Dropdown-Menü, größere Schrift und mehr Padding */
        .dropdown-menu a {
            font-size: 22px;
            padding: 16px 28px;
        }
    }
}