header {
    display: block;
    width: 100%;
    height: fit-content;
    background-color: #ffffffcc;
    padding: 10px 0px;
    /* position: sticky; */
    /* top: 0; */
    /* left: 0; */
    margin: 0;
    /* z-index: 999; */
    border-bottom: 1px solid #ddd;
}

.HeaderBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;

    .LogoutButton {
        border: 0;
        outline: 0;
        background-color: transparent;
        padding: 5px 7px;
        color: #999;
        font-size: 1.2em;
        transition: color 0.2s;
        cursor: pointer;
        text-decoration: none;
    }

    .LogoutButton:hover {
        color: #555;
    }
}

.AdminHeader {
    padding: 20px;
    border-bottom: 1px solid #ddd;

    display: grid;
    grid-template-columns: auto 1fr auto;
    justify-content: space-between;

    .Logo {
        display: grid;
        place-items: center;
        place-content: center;

        font-size: 24px;
        font-weight: bold;
        padding: 0 15px;
    }

    .AdminNav {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;

        .AdminHeaderNavButton {
            display: flex;
            flex-direction: column;
            gap: 5px;
            align-items: center;
            justify-content: center;
            padding: 10px 15px;
            border-radius: 5px;
            text-decoration: none;
            color: #333;

            &:hover {
                background-color: #f0f0f0;
            }

            .Icon {
                font-size: 24px;
            }

            .Label {
                font-size: 12px;
                color: #555;
            }
        }
    }

    .ButtonBox {
        display: grid;
        font-size: 20px;
        align-items: center;
        padding: 0 15px;

        .LogoutButton {
            color: #777;
        }
    }
}