header {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 6px 16px 0 #1919190f;
    background: var(--headerBackground);
    font-size: 1rem;
    line-height: 1.25rem;
}

.nav-main {
    display: flex;
    align-items: center;
}

.right-bar {
    justify-self:flex-end;
    margin-left: auto;
}

.right-bar i {
    font-size: 1.5rem;
}

nav a {
    font-weight: 500;
}

.left-bar {
    display: flex;
    align-items: center;
    gap: 2.1rem;
}

.icon {
    height: 2rem;
    margin-right: 3rem;
}

.category {
    padding: 1rem .5rem;
    border-bottom: 3px solid #FFF;
    transition: all .2s ease-in-out;
}

.category:hover {
    border-color: var(--brand-color) ;
}

.bottom-bar {
    display: flex;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 100%;
    gap: 5rem;
    padding: 4rem 0;
    justify-content: center;
    background: #f7f7f7;
    transition: all .2s ease-in-out;
}

.show {
    visibility: visible;
    z-index: 11;
    opacity: 1;
}

.half-opacity::after {
    transition: all .2s ease-in-out;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    content: '';
    height: 100vh;
    background: #0004;
}

.bottom-bar svg {
    height: 1rem;
    transition: all .2s ease-in-out;
}

.bottom-bar svg:hover {
    fill: var(--brand-color);
}

.hamburger {
    width: 1.5rem;
    height: 1.5rem;
    z-index: 100;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    display: none;
}

.show-menu .hamburger {
    right: 85%;
    position: absolute;
}

.line {
    width: 100%;
    height: .1rem;
    padding: 1px;
    border-radius: 10px;
    background: #191919;
    transition: transform .5s;
}

.show-menu #line1 {
    transform: rotate(45deg) translate(.45rem, .5rem);
    background: #F00;
    z-index: 5;
}

.show-menu #line2 {
    display: none;
}

.show-menu #line3 {
    transform: rotate(-45deg) translate(.45rem, -.5rem);
    background: #F00;
}

.sidebar {
    z-index: 4;
    height: 100vh;
    width: 100%;
    background: #FFF;
    box-shadow: 10px 5px 15px 10px #FFF;
    position: fixed; 
    top: 0;
    right: -110%;
    transition: all .8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}

.show-menu .sidebar {
    right: 0;
}

@media screen and (max-width:768px) {

    .left-bar,
    .right-bar,
    .bottom-bar {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-main {
        padding: 1rem 0;
        justify-content: space-between;
    }
    
}