* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: white;
}

header {
    display: flex;
    justify-content: flex-end;
    padding: 2.5vh 10%;
    background-color: #24252a;
    height: 7vh;
}

.logo {
    margin-right: auto;
    width: 4vh;
}

img{
    align-items: center !important;
}

.nav__links {
    list-style: none;
    display: flex;
}

.nav__links a,
.cta,
.overlay__content a {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #edf0f1;
    text-decoration: none;
}

.nav__links li {
    padding: 0 20px;
    font-size: 2vh;
}

.nav__links li a {
    transition: all 0.3s ease;
}

.nav__links li a:hover {
    color: #0088a9;
}

.cta {
    margin-left: 20px;
    padding: 2px 25px;
    background-color: rgba(0, 136, 169, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta:hover {
    background-color: rgba(0, 136, 169, 0.8);
}

/* Mobile Nav */
.menu {
    display: none;
}
.cta {
    display: none;
}

.overlay {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: #24252a;
    overflow-x: hidden;
    transition: all 0.5s ease;
    overflow-y: auto;
}

.overlay--active {
    width: 100%;
}

.overlay__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 2000;
}

.overlay a {
    padding: 15px;
    font-size: 36px;
    display: block;
    transition: all 0.3s ease;
}

.overlay a:hover,
.overlay a:focus {
    color: #0088a9;
}

.overlay .close {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #edf0f1;
    cursor: pointer;
}
/* Dropdown-Button */
.nav__links .dropdown {
    position: relative;
    display: inline-block;
}

.nav__links .dropdown .dropbtn {
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0px 0px;
    font-size: 2vh;
    font-family: 'Montserrat', sans-serif;
}

/* Dropdown-Inhalt */
.nav__links .dropdown-content {
    display: none;
    position: absolute;
    background-color: #24252a;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    white-space: nowrap; /* Verhindert Umbruch */
    padding: 5px; /* Abstand */
}

.nav__links .dropdown:hover .dropdown-content {
    display: block;
}

.nav__links .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.nav__links .dropdown-content a:hover {
    background-color: #24252a;
}

.nav__links .dropdown {
    position: relative;
}
/* Stil fir déi aktiv Säit */
.nav__links a.active {
    font-weight: bold;
}
.dropdown-content img {
    width: auto; /* Originalgröße des Bildes */
    max-width: 70px; /* Begrenzung der maximalen Breite */
    height: auto;
    display: block; /* Stellt sicher, dass das Bild die Breite definiert */
    margin: 0 auto; /* Falls du das Bild zentrieren willst */
}
*{
    color: white;
}

/* Optimierte Mobile Ansicht */
@media screen and (max-width: 750px) {
    /* Auf mobilen Geräten die standard Navigation und CTA ausblenden */
    .nav__links,
    .cta {
        display: none;
    }

    /* Menü-Button anzeigen */
    .menu {
        display: initial;
    }

    /* Wenn Overlay aktiv ist, die Links und den CTA einblenden */
    .overlay--active .nav__links,
    .overlay--active .cta {
        display: block;  /* Einblenden der Elemente */
    }

    /* Verhindert, dass die Dropdown-Links auf mobilen Geräten angezeigt werden */
    .nav__links .dropdown-content {
        display: block;  /* Zeigt Dropdown auf mobilen Geräten */
    }
    .overlay a {
        padding: 15px;
        font-size: 27px;
        display: block;
        transition: all 0.3s ease;
    }
    .dropdown-content img {
        width: auto; /* Originalgröße des Bildes */
        max-width: 50px; /* Begrenzung der maximalen Breite */
        height: auto;
        display: block; /* Stellt sicher, dass das Bild die Breite definiert */
        margin: 0 auto; /* Falls du das Bild zentrieren willst */
    }
}