header {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 0.15em solid var(--akzentfarbeFest);
    transition: all 0.3s ease;
    top: 0;
    z-index: 2;
}

@media (width < 50em) {
    .logoheader {
        transition: all 0.3s ease;
        height: 4.3em;
    }

    .header-scrolled .logoheader {
        height: 3.3em;
    }

    .navbar a, .dropbtn {
        background-color: transparent;
        border: none;
        padding-left: 8px;
        padding-right: 8px;
        font-size: 0.8em;
        cursor: pointer;
        text-decoration: none;
    }
}

@media (width >= 50em) {
    .logoheader {
        transition: all 0.3s ease;
        height: 6em;
    }

    .header-scrolled .logoheader {
        height: 5em;
    }

    .navbar a, .dropbtn {
        background-color: transparent;
        border: none;
        padding-left: 20px;
        padding-right: 30px;
        font-size: 1.1em;
        cursor: pointer;
        text-decoration: none;
    }
}

.logoheader:hover{
    transform: scale(1.07);
}

nav {
    display: flex;
}

.dropdown {
    position: relative;
    transition: font-size 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.dropdown-menu {
    display: block;
    position: absolute;
    padding: 4px;
    box-shadow: 0 0.3em 0.5em rgba(0,0,0,0.1);
    z-index: 11;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    visibility: hidden;
}

.dropdown-left .dropdown-menu {
    right: 0;
}

.dropdown-right .dropdown-content {
    left: 0;
}
  
.dropdown-menu a {
    padding: 9px 16px;
    display: block;
    text-decoration: none;
}
  
.dropdown-menu p {
    padding: 0px 16px;
    margin-bottom: 5px;
    margin-top: 5px;
    display: block;
    color: var(--akzentfarbeFest);
    font-weight: 550;
    transition: font-weight 1.0s ease-in-out;
}
  
.dropdown:hover .dropdown-menu {
    display: block;
    border: 1px solid var(--akzentfarbeFest);
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dropdown:hover .dropbtn {
    transition: background-color 0.3s ease-in-out
}
  
.dropdown-menu  a:hover {
    background-color: var(--orangebackground);
    transition: background-color 0.3s ease-in-out;
}

.currentpage {
    color: var(--akzentfarbeFest);
    font-weight: bold;
}