:root {
    --primary-text-color: #e2e7ec;
    --secondary-text-color: #8b949e;
    --background-color: #0d1117;

}

@font-face {
    font-family: 'Hasklig';
    src: url('/css/fonts/HasklugNerdFont-Regular.otf') format('opentype');
    font-display: auto;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Hasklig';
    src: url('/css/fonts/HasklugNerdFont-Bold.otf') format('opentype');
    font-display: auto;
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Hasklig', monospace;
    background-color: var(--background-color);
    color: var(--primary-text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    padding-top: 6rem;

    /* scrollbars*/
    scrollbar-width: none;
    -ms-overflow-style: none;

}

body::-webkit-scrollbar {
    display: none;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem;
    display: flex;
    justify-content: center;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--background-color) 0%, var(--background-color) 80%, transparent 100%);
}

.nav-wrapper {
    max-width: 600px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.nav-link {
    color: var(--secondary-text-color);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-text-color);
}

.nav-link.active {
    color: var(--primary-text-color);
    text-decoration: underline;
}

.container {
    max-width: 600px;
    width: 100%;
    margin: auto 0;
}


header {
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    color: #58a6ff;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--primary-text-color);
}

.secondary-subtitle {
    font-size: .9rem;
    color: var(--secondary-text-color);
}

.secondary-subtitle a {
    text-decoration: underline;
    color: var(--secondary-text-color);
    transition: color 0.1s ease, transform 0.1s ease;
    display: inline-block;
}
.secondary-subtitle a:hover {
    color: var(--primary-text-color);
    transform: scale(1.1);
}

section {
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 1.25rem;
    color: #58a6ff;
    margin-bottom: 1rem;
    font-weight: bold;
}

.about p {
    color: var(--primary-text-color);
}

.skills ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skills li {
    background-color: #161b22;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #30363d;
    color: var(--primary-text-color);
}

.links-list {
    display: flex;
    gap: 1.5rem;
}

.links-list a {
    color: #9da5ae;
    text-decoration: underline;
    transition: color 0.1s ease;
}

.links-list a:hover {
    color: var(--primary-text-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .skills ul {
        /*flex-direction: column;*/
    }

    .links-list {
        flex-direction: column;
        gap: 0.75rem;
    }
}
