﻿.sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    position: static;

}

.sidebar-brand-icon img{
    width:100px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-divider {
    border: 0;
    height: 1px;
    background-color: #383535;
    margin: 0;
}

.sidebar-brand {
    flex-shrink: 0;
    height: 5rem;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.sidebar-item {
    width: 100%;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 1rem;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    border-radius: 4px;
}

    .sidebar-link.active {
        color: var(--color-primary);
    }

        .sidebar-link.active span {
            text-decoration: underline;
        }

.sidebar-link:hover {
    color: var(--color-primary);
}

.sidebar-link span {
    display: inline;
    font-size: .9rem;
}

.sidebar-item.logout {
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .sidebar {
        width: 250px;
        height: 100vh;
        box-shadow: 5px 10px 10px #eee;
        overflow-y: auto;
        overflow-x: hidden;
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        scrollbar-width: thin;
        background-color: var(--color-light);
        text-transform: uppercase;
    }

    .sidebar-brand {
        height: 8rem;
    }

    .sidebar-brand-icon img {
        width: 150px;
    }

}

@media (max-width: 480px) {
        .sidebar #brand-letters {
            display: none;
        }

    sidebar .sidebar-link span {
        font-size: 0.65rem;
        display: block;
    }
}
