
nav{
    height: auto;
    width: 100%;
    background: var(--off-background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.close-nav-links{
    display: none;
}

.nav-links{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
    width: auto;
    // background: lightcyan;

    li{
        margin: 0 1rem;
    }

    a{
        text-decoration: none;
        color: var(--text-color);

        &:hover{
            color: var(--accent-color);
        }
    }
}

.nav-left-side{
    display: flex;
    align-items: center;

    i{
        margin-right: 1rem;
        padding: 0.5rem 0.5rem 0.5rem 0;
    }
}

@media only screen and (max-width: $mobile-breakpoint) {
    .reverse-mobile-content{
        flex-direction: row-reverse;
    }

    .nav-left-side{
        width: 100%;
        justify-content: space-between;
    }

    .nav-on-mobile{
        position: fixed;
        top: -100%;
        left: 0;
        background-color: var(--off-background);
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        z-index: 100;
        transform: translateY(0%);
        transition: 0.6s all ease;

        li{
            margin: 1rem;
            font-size: 2rem;
            opacity: 0;
            position: relative;
            top: 20px;
            transition: 0.6s all ease;

            *{
                font-size: 2rem;
            }
        }

        .close-nav-links{
            position: absolute;
            display: block;
            background-repeat: no-repeat;
            background-size: contain;
            color: var(--accent-color);
            top: 0;
            right: 0;
            font-size: 3rem;
            margin: 1.5rem 2rem;
            cursor: pointer;

        }
    }

    .nav-on-mobile-open{
        transform: translateY(100%);

        li{
            opacity: 1;
            position: relative;
            top: 0px;
        }
    }
}
