:root {
    --bg-color: #161618;
    --border-color: #2d2d2d;
}

body {
    width: 100%;
    min-height: 100vh;
    height: auto;
    color: white;
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg-color);
    box-sizing: border-box;
}

body::-webkit-scrollbar {
    display: none;
}

nav-bar {
    width: 100%;
    height: 50px;
    min-height: 50px;
    display: flex;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    justify-content: space-between;
    z-index: 1000;
    background-color: #1616186b;
    backdrop-filter: blur(20px);
    box-sizing: border-box;
}

.links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 100px;
    margin: 0 30px;
    width: auto;
    height: 100%;
}

.profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: auto;
    padding: 0 25px;
    height: 100%;
    box-sizing: border-box;
}

nav-bar a {
    font-size: 1.5em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.profile a{
    height: 100%;
    position: relative;
}

nav-bar li{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

nav-bar .links a.active::before,
nav-bar .profile a.active::before {
    content: '';
    display: block;
    /* width: 100%; */
    position: absolute;
    bottom: 0px;
    height: 1px;
    left: -15px;
    right: -15px;
    background: linear-gradient(90deg, rgba(27,218,78,1) 0%, rgba(0,212,255,1) 100%);
    pointer-events: none;
}


nav-bar a::after {
    content: '';
    display: block;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    background: white;
    transition: transform 0.3s;
}

nav-bar a:hover::after {
    transform: scaleX(1);
}

nav-bar .hamburger {
    display: none;
}

nav-bar .hamburger-menu {
    height: 0px;
    overflow: hidden;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    transition: height 0.3s;
}

nav-bar .hamburger-links {
    width: 100%;
    background-color: #161618;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

p a{
    text-decoration: dashed underline;
}

b {
    font-weight: 700;
}

@media (max-width:900px){
    nav-bar .links {
        display: none;
    }

    nav-bar .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 100%;
    }
}