nav.hide-nav {
    height: 0px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.nav-items {
    display: flex;
}

.hamburger {
    display: none;
    z-index: 200;
    transition: all 0.2s ease-in-out;
}

.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 50px !important;
    z-index: 200;
}

.hamRotate.active {
    transform: rotate(45deg);
}

.hamRotate180.active {
    transform: rotate(180deg);
}

.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: black;
    stroke-width: 3.9;
    stroke-linecap: round;
}

.ham6 .top {
    stroke-dasharray: 40 172;
}

.ham6 .middle {
    stroke-dasharray: 40 111;
}

.ham6 .bottom {
    stroke-dasharray: 40 172;
}

.ham6.active .top {
    stroke-dashoffset: -132px;
}

.ham6.active .middle {
    stroke-dashoffset: -71px;
}

.ham6.active .bottom {
    stroke-dashoffset: -132px;
}

nav.hide-nav .hamburger {
    opacity: 0;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;
    width: 0;
    opacity: 0;
    height: 100dvh;
    transition: all 0.5s ease-in-out;
    visibility: hidden;
    overflow-y: scroll;
    padding-bottom: 50px;
}

.sidebar.active {
    width: 240px;
    height: 100dvh;
    opacity: 1;
    visibility: visible;
    /* background-color: rgba(0, 0, 0, 0.5); */
    backdrop-filter: blur(40px);
}

.navbar {
    z-index: 100;
    color: white;
    /* background-color: rgba(200, 200, 255, 0.1); */
    /* backdrop-filter: blur(40px); */
    /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); */
}

.sidebar-header {
    display: flex;
    margin-top: 20px;
    padding-left: 20px;
}

nav.hide-nav .sidebar {
    visibility: hidden;
}

.hamburger>svg {
    color: white;
    width: 38px;
    height: 38px;
    padding: 0px 5px;
    border-radius: 10px;
}

.hamburger>svg:active {
    background-color: rgba(255, 255, 255, 0.3);
}


.links>ul {
    list-style-type: none;
    padding: 0;
}

.links>ul>a {
    text-decoration: none;
    color: black;
}

.links>ul>a>li {
    display: flex;
    margin: 10px 18px;
    padding: 10px 15px;
    border-radius: 10px;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.links>ul>a>li:active {
    background-color: rgba(0, 0, 0, 0.3);
}

.links>ul>a>li:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.links>ul>a>li>span {
    padding-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* .nav-links {
    background-image: linear-gradient(to right,
            #213555,
            #54b3d6 50%,
            #000 50%);
    background-size: 200% 100%;
    background-position: -100%;
    display: flex;
    align-items: center;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

.nav-links:before {
    content: '';
    background: #213555;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
} */

.nav-links:hover {
    background-position: 0;
}

.nav-links:hover::before {
    width: 100%;
}

@media screen and (max-width: 640px) {
    .hamburger {
        display: block;
    }

    .nav-items {
        display: none;
    }
}
