@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #ffffff;
        --buttonHoverColor: rgba(0, 0, 0, 0.1);
        --text-color: #000000;
        --accent-color: #000000;
        --nav-hover-bg: rgba(0, 0, 0, 0.1);
        --textShadowColor: rgba(0, 0, 0, 0.7);
        --borderTop: #f0f0f0;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --buttonHoverColor: rgba(255, 255, 255, 0.1);
        --text-color: #ffffff;
        --accent-color: #ffffff;
        --nav-hover-bg: rgba(255, 255, 255, 0.1);
        --textShadowColor: rgba(255, 255, 255, 0.7);
        --borderTop: #2e2e2e;
    }
}

#notification {
    /* hidden */
    background-color: var(--bg-color);
    align-items: flex-start;
    border: 1px solid var(--borderTop);
    color: var(--text-color);
    display: flex;
    font-family: "Roboto";
    gap: 12px;
    left: 50%;
    max-width: 90%;
    opacity: 0;
    padding: 14px 18px;
    pointer-events: none;
    position: fixed;
    top: 20px;
    transform: translateX(-50%)translateY(-150%);
    transition: transform 0.4s cubic-bezier(.36, .47, .39, 1.12), opacity 0.5s cubic-bezier(.36, .47, .39, 1.12), border 0.7s cubic-bezier(.36, .47, .39, 1.12);
    z-index: 1000;
}

#notification.show {
    border: 4px solid rgba(138, 138, 138, 0.8);
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%)translateY(0);
}

#notification .notif-icon {
    flex: 0 0 auto;
    height: 36px;
    margin-top: 2px;
    padding: 2px;
    width: 36px;
}

#notification .notif-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

html,
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    transition: all 0.3s;
}

.header {
    position: sticky;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--borderTop);
}

#headerLinks ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

#headerLinks a {
    text-decoration: none;
    color: var(--text-color);
    font-family: "Roboto Mono", monospace;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 2rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

#headerLinks a:hover {
    background-color: var(--nav-hover-bg);
}

#headerLinks a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#headerLinks a:hover::after {
    width: 50%;
    box-shadow: 0px 2px 10px 1px var(--accent-color);
}

.main {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: auto;
}

h1 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    border-radius: 2.5rem;
    padding: 0.5rem 3rem;
    text-shadow: 0px 2px 8px var(--textShadowColor);
    display: inline-block;
    box-shadow: 0px 6px 11px -3px var(--accent-color);
}

p {
    font-family: "Source Code Pro", monospace;
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

#contact-me {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5rem;
    font-family: "Roboto Mono", monospace;
    font-weight: bold;
    transition: all 0.5s;
}

#contact-me:hover {
    box-shadow: 0px 0px 10px -2px var(--accent-color);
    box-sizing: content-box;
    background-color: var(--buttonHoverColor);
}

#repoName {
    font-family: "Roboto";
    width: max-content;
    font-size: 1.7rem;
    color: blue;
    transition: all 1s ease;
}

#repoName:hover {
    color: var(--text-color);
    letter-spacing: 2px;
    text-shadow: 0px 0px 6px var(--text-color);
}

#repoDescription {
    font-size: 1rem;
}

#repoInfo {
    font-family: "Google Sans";
    font-style: italic;
}

.repoCard {
    width: fit-content;
    border-bottom: 5px solid var(--borderTop);
    border-top: 5px solid var(--borderTop);
    margin: 10px;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0px 10px 20px -15px var(--textShadowColor);
    cursor: context-menu;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}