header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    margin: 0rem 1rem;
    min-width: 270px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__image {
    max-width: 30px;
    display: flex;
    align-items: center;
}

.header__image img{
    width: 100%;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.3rem;
    justify-content: center;
}

.nav__item {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #e2e2e2;
    text-decoration: none;
    font-size: 1.5rem;
    width: fit-content;
    padding: 0.6rem;
    padding-right: 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav__item:hover {
    background-color: rgba(154, 154, 154, 0.1);
}

#nav__current{
    color: #fff;
}

.nav__item span {
    font-weight: 400;
}

#nav__current span {
    font-weight: 600;
}

#nav__logo {
    padding: 0.6rem;
}

#nav__post-btn {
    border: none;
    padding: 1rem 0rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #fff;
    border-radius: 2rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #000;
    max-width: 250px;
}

#nav__post-btn:hover {
    background-color: #dadada;
}

.header__user--avatar {
    max-width: 40px;
}

.header__user--avatar img {
    width: 100%;
    border-radius: 50%;
}

.header__user {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    text-decoration: none;
    border-radius: 2rem;
    padding: 0.6rem;
    transition: background-color 0.2s;
}

.header__user:hover {
    background-color: rgba(154, 154, 154, 0.1);
}

.header__user--data {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
}

.header__user--content {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

#header__user--username {
    font-size: 0.9rem;
    color: #7d7d7d;
}

#header__user--name {
    font-weight: 600;
}

#nav__item--post {
    background-color: #fff;
    display: none;
}

#nav__item--post:hover {
    background-color: #dadada;
}

#nav__item--post i {
    color: #000;
}

@media (max-width: 768px) {
    header {
        min-width: 0;
        margin-right: 0.5rem;
    }

    .nav__item span, .header__user--data, #nav__post-btn, .header__user i{
        display: none;
    }

    #nav__item--post {
        display: block;
    }

    .nav__item {
        padding-right: 0.5rem;
        font-size: 1rem;
    }
}