.subheader {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw; /* Abstand zwischen den Links */
    background-color: lightblue; /* Farbe für den Subheader */
    font-size: 16px;
    width: 100%;
    min-height: 6vh;
    margin-top: 80px; /* Die Höhe des Headers, um den Subheader richtig unter ihm anzuzeigen */
    z-index: 10002;
    
    
}

/* Für die Links im Subheader */
.subheader a {
    display: flex; /* Flexbox für den Link */
    align-items: center; /* Vertikal zentrieren */
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.biggerIcon ion-icon {
    height: 25px;
    width: 25px;
}

/* Hover-Effekt für die Links */
.subheader a:hover {
    color: #007bff;
}

/* Falls das Icon und der Text noch zu weit auseinander sind, kannst du hier ein bisschen nachjustieren */
.subheader a ion-icon {
    margin-left: 8px; /* Abstand zwischen Text und Icon */
    font-size: 18px; /* Hier kannst du die Größe des Icons anpassen */
}

/* Optional: Falls du mit dem Abstand von Icons und Text experimentieren willst */
.centerClass {
    align-content: center;
}

.menu-icon-admin {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: transform 0.8s ease;
}



.menus {
    display: none;
}



@media (max-width: 1024px) {
    .menu-icon-admin {
    display: flex;
}

    .header {
        justify-content: unset;
        
    }
    
    .menus {
        display: flex;
        margin-right: -4vw;
        margin-left: auto;
        gap: 10px;
    }
    
    .subheader {
        display: none;
    }
    

}



.menu-icon-admin.rotated {
    transform: rotate(-90deg);
}

.mobile-admin-menu {
    display: flex; /* Immer flex, nie display: none */
    flex-direction: column; /* Immer Spalten-Anordnung */
    justify-content: center;
    align-items: center;
    
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(173, 216, 230, 0.95);
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 20px 20px;
    z-index: 999;

    /* Animation vorbereiten */
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Sichtbarer Zustand */
.mobile-admin-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-admin-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 15px;
    display: inline-flex;
    justify-content: center;
    position: relative;
    transition: 0.3s;
}

.mobile-admin-menu a .link-text {
    position: relative;
}

.mobile-admin-menu a .link-text::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background: white;
    transition: 0.3s;
    transform: translateX(-50%);
}

.mobile-admin-menu a:hover .link-text::after {
    width: 100%;
}

.mobile-menu a ion-icon {
    font-size: 30px;
}

.invisibleLink {
    display: none;
}

.greenLogin {
    color: #1abc9c;

}

.whiteLogin {
    color: white;

}

