
/* ========================================= */
/*                LAXGRID NAVBAR             */
/* ========================================= */


/* ========================================= */
/*              NAVBAR STRUCTURE             */
/* ========================================= */

.navbar {
    width: 100%;
    min-height: 70px;
    padding: 0 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #0f0f14;
    border-bottom: 1px solid #252530;

    box-sizing: border-box;
    font-family: Arial, sans-serif;

    /* Navbar bleibt immer sichtbar */
    position: fixed;
    top: 0;
    left: 0;

    /* Navbar liegt über dem Seiteninhalt */
    z-index: 1000;
}


/* ========================================= */
/*                NAVBAR LOGO                */
/* ========================================= */

.navbar-brand a {
    color: #4da3ff;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;

    transition: color 0.2s ease;
}

.navbar-brand a:hover {
    color: #80bdff;
}


/* ========================================= */
/*             NAVIGATION LINKS              */
/* ========================================= */

.navbar-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-links a {
    position: relative;

    color: #d0d0d8;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;

    padding: 8px 0;

    transition: color 0.2s ease;
}


/* ========================================= */
/*              LINK HOVER EFFECTS           */
/* ========================================= */

.navbar-links a:hover {
    color: #4da3ff;
}


/* ========================================= */
/*              HOVER UNDERLINE              */
/* ========================================= */

.navbar-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #4da3ff;

    transition: width 0.25s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}


/* ========================================= */
/*               LOGOUT BUTTON               */
/* ========================================= */

.navbar-links form {
    margin: 0;
}

.navbar-links button {
    background: transparent;
    border: 1px solid #4da3ff;
    border-radius: 6px;

    color: #4da3ff;
    font-size: 14px;
    font-weight: 600;

    padding: 9px 18px;

    cursor: pointer;
    transition: all 0.2s ease;
}

.navbar-links button:hover {
    background: #4da3ff;
    color: #0f0f14;
}


/* ========================================= */
/*           LOGOUT BUTTON ANIMATIONS        */
/* ========================================= */

.logout_button {
    background-color: transparent;
    color: #4da3ff;
    border: 1px solid #4da3ff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout_button:hover {
    background-color: #4da3ff;
    color: #0f0f14;
    box-shadow: 0 0 10px rgba(77, 163, 255, 0.25);
}

.logout_button:active {
    transform: scale(0.97);
}


/* ========================================= */
/*               PAGE CONTENT                */
/* ========================================= */

body {
    margin: 0;

    /* Platz für die fixe Navbar */
    padding-top: 70px;

    box-sizing: border-box;
}


/* ========================================= */
/*              RESPONSIVE DESIGN            */
/* ========================================= */

@media (max-width: 700px) {

    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .navbar-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 22px;
    }

}
