.sidebar {
    position: fixed;
    height: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    max-height: calc(100vh - 5.5rem);
    padding: 2rem 1.5rem;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 300px;
    overflow-y: scroll;
    /* background-color: var(--main); */
    border-right: 1px solid var(--line);
    gap: 1.75rem;
    z-index: 3 !important;
}

.search-container {
    gap: 0.25rem;
    align-items: flex-start;
}

.search-container:has(.hero-sub.clicked) .hero-title {
    opacity: 1;
}

.search-arrow {
    color: var(--secondary);
    margin-right: 0.5rem;
    margin-left: 0.25rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.sidebar .hero-title {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.sidebar .hero-title, .hero-title.h4 {
    background-color: var(--accent);
    padding: 0.25rem;
    border-radius: 0.2rem;
}

.sidebar .hero-sub {
    font-size: 1rem;
    cursor: pointer;
}

.sidebar .hero-sub a {
    color: inherit !important;
    transition: none !important;
}

.sidebar .hero-sub:hover .search-arrow {
    color: var(--active);
    opacity: 1;
}

.sidebar .hero-sub.clicked {
    color: var(--active) !important;
    font-weight: 700;
}

.sidebar .hero-sub.clicked .search-arrow {
    color: var(--accent) !important;
    font-weight: 700;
    opacity: 1;
}

.sidebar input {
    width: 100%;
}