nav {
    display: flex;
    position: fixed;

    top: 0;
    left: 0;

    font-family: "Poppins";
    /* font-family: "Montserrat";
    font-weight: 600; */

    z-index: 10;

    flex-direction: column;
    justify-content: space-between;

    background-color: rgb(18, 22, 24);
    /* background-color: red; */
    color: white;

    padding: 10px;

    box-sizing: border-box;
    overflow: hidden;
    
    width: 60px;
    height: 100vh;

    transition: width 500ms, background-color 500ms;
    transition-delay: 50ms;
}

main {
    box-sizing: border-box;
    margin-left: 60px;

    overflow: hidden;
}

nav:hover {
    width: 220px;

    background-color: rgba(18, 22, 24, 0.9);
}

nav .show-text {
    position: relative;

    /* position: relative;
    
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;

    text-align: center; */
}

.nav-link.show-text {
    padding-left: 7.5px;
}

nav .show-text > div {
    position: absolute;

    top: 50%;
    left: 50px;

    transform: translate(-30px, -50%);
    opacity: 0;

    text-wrap: nowrap;

    transition: all 250ms;
    transition-delay: 0;
}

nav:hover .show-text > div {
    transform: translate(0, -50%);
    opacity: 1;
    
    transition: opacity 500ms, transform 500ms;
    transition-delay: calc(var(--index, 0) * 40ms + 60ms);
}

.nav-icon > img {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    row-gap: 20px;

    box-sizing: border-box;

    font-size: 1rem;
}

.logo-nav {
    display: none;
}

.logo-nav > img {
    width: 35px !important;
    height: unset !important;
    /* height: 30px !important; */
}

.nav-link {
    cursor: pointer;
}

nav .hover-color {
    color: inherit;
}

nav .hover-color:hover {
    color: var(--accent);
}

nav .hover-color:hover > img {
    filter: invert(70%) sepia(80%) saturate(444%) hue-rotate(108deg) brightness(110%) contrast(96%);
}

nav .hover-color:hover > img.light-image {
    filter: invert(30%) sepia(80%) saturate(444%) hue-rotate(108deg) brightness(110%) contrast(96%);
}

.nav-link img {
    width: 25px;
    height: 25px;

    filter: brightness(0) invert(90%);
}

.nav-others {

}