﻿#nav-list {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    transition: var(--base-transition);
    padding: 0 .5rem;
    /*box-shadow: 0 1px 1px 0 var(--primary-color);*/
    /*background-color: var(--primary-color);*/
    background-color: chocolate;
    height: var(--header-height);
}

#nav-list h1, a {
    transition: var(--base-transition);
}

.nav-list-mobile {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 60%;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 999;
    transition: var(--base-transition);
    overflow: hidden;
    gap: .5rem;
    color: #ffffff;
    transform: translateX(-100%);
}

.nav-list-mobile a {
    color: #fff;
}

.nav-list-mobile-show {
    min-height: 200px;
    transition: var(--base-transition);
    transform: translateX(0);
}

.menu-btn {
    cursor: pointer;
    font-weight: 700;
    font-size: 2rem;
    display: none;
}

#icon-close-menu {
    cursor: pointer;
    font-weight: 700;
    font-size: 2rem;
    align-self: flex-end;
    color: #fff;
    font-size: 20px;
    margin: 5px;
}

#nav-list.moved {
    transition: var(--base-transition);
    height: calc(var(--header-height) - 20%);
}

#nav-list.moved h1 {
        transition: var(--base-transition);
        font-size: 1.4rem;
    display: flex;
    justify-content: center;
    }

#nav-list.moved a {
        transition: var(--base-transition);
        font-size: .8rem;
    }

#nav-list.moved .logo-box {
    transition: var(--base-transition);
    width: 30px;
}

.nav-list__top {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    gap: .5rem;
}

.nav-list__top h1 {
    text-transform: uppercase;
    letter-spacing: .3rem;
}

.nav-list__top h1 a {
    color: burlywood;
    font-weight: 700;
}

.nav-list__bottom {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 100%;
    border-top: 1px solid #fff;
}

.categories {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    width: 100%;
    height: 100%;
}

    .categories a {
        color: #fff;
    }

.category-box {
    transition: var(--base-transition);
    padding: 3px;
    border-radius: 5px;
}

.category-box:hover a {
    transition: var(--base-transition);
    color: var(--secondary-header-color);
}

.logo-box {
    width: 40px;
   
}

.logo-box img {
    width: 100%;
}

@media (200px <= width <= 576px) {
    .menu-btn {
        display: block;
    }
    .categories {
        display: none;
    }
}

@media (577px <= width <= 787px) {
    .menu-btn {
        display: block;
    }

    .categories {
        display: none;
    }
}

@media (768px <= width <= 845px) {
    .category-box a {
        font-size: 90%;
    }
}
