.navbar {
    width: 100%;
    height: var(--navbar-height);

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

    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;

    overflow: visible;

    padding-left: calc(var(--sidebar-width) + 20px);
    padding-right: 20px;

    background-color: rgb(var(--navbar-backgrnd-color));

    -webkit-box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);
    -moz-box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);
    box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);
}

.hamburger-menu {
    display: none;

    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);

    font-size: 1.7rem;
    color: rgb(var(--primary-color));

    transition: 0.3s;
}

.hamburger-menu:hover {
    cursor: pointer;
    color: rgb(var(--primary-color-hover));
}

.navbar-links {
    width: auto;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.profile {
    width: 40px;
    height: 40px;

    position: relative;

    border-radius: 100%;

    background-color: rgb(var(--primary-color));

    text-transform: uppercase;
    font-size: 1.7rem;
    color: white;

    transition-duration: 0.3s;
}

.profile span {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
}

.profile:hover,
.profile.active {
    cursor: pointer;
    border: 2px solid rgb(var(--primary-color));
    color: rgb(var(--primary-color));
    background-color: white;
}

.profile-holder {
    width: max-content;
    height: auto;

    display: none;

    position: absolute;
    top: var(--navbar-height);
    right: 20px;
    border-radius: 2px;

    background-color: white;

    -webkit-box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);
    -moz-box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);
    box-shadow: 0px 5px 5px 0px rgba(143, 143, 143, 0.15);

    transition-duration: 0.3s;
}

.profile-holder.active {
    display: block;
}

.user-name {
    width: 100%;
    height: auto;

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

    padding: 10px;

    border-top-left-radius: 2px;
    border-top-right-radius: 2px;

    background-color: rgb(var(--primary-color));

    font-size: 1.3rem;
    text-transform: capitalize;
    user-select: none;
    color: white;
}

.profile-links {
    width: 100%;
    height: auto;

    padding: 10px 10px 0 10px;
}

.profile-links li {
    width: 100%;
    height: 20px;

    text-transform: capitalize;
    color: rgb(var(--link-text-color));
    user-select: none;

    transition-duration: 0.3s;
}

.profile-links li:hover {
    color: rgb(var(--primary-color));
}

.profile-links .logout-btn:hover {
    color: rgb(var(--red-color));
}

/* * -------------------- Responsive ------------------ */

@media screen and (max-width: 835px) {
    .hamburger-menu {
        display: block;
    }

    .profile-holder {
        top: calc(var(--navbar-height) + 10px);
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
    }
}
