@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

body {
    background-color: #474646;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    z-index: 1;
}

nav {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;
    background: #232323;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    height: 110px;
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    position: relative;
    height: 100%;
}

nav li {
    display: flex;
    align-items: center;
}

nav button {
    font-family: 'JetBrains Mono', monospace;
    background-color: #5a5a5a;
    color: #00ff5e;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
    -webkit-transition: background 0.2s;
    -moz-transition: background 0.2s;
    -ms-transition: background 0.2s;
    -o-transition: background 0.2s;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

nav button:hover {
    background-color: #7a7a7a;
}

.nav-buttons, .navigation_buttons {
    display: flex;
    gap: 1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.profile, .profilepic {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-img {
    border-radius: 8px;
    width: 80px;
    height: 80px;
}

.welcome-text {
    font-size: 1.2rem;
    color: #00ff5e;
    font-weight: 700;
}

.nav-separator {
    border: none;
    height: 2px;
    background: #00ff5e;
    margin: 0 0 1.5rem 0;
}

hr.white_line {
    margin-top: 110px;
}

.centered-paragraph {
    text-align: center;
    margin: 2.5rem auto 0 auto;
    max-width: 600px;
    font-size: 1.1rem;
    color: #e0e0e0;
}

@media (max-width: 900px) {
    nav {
        height: 90px;
    }
    .profile-img {
        width: 60px;
        height: 60px;
    }
    hr.white_line {
        margin-top: 90px;
    }
}

@media (max-width: 600px) {
    nav {
        position: relative;
        z-index: 100;
    }
    .menu-toggle {
        display: block;
        position: fixed;
        top: 18px;
        right: 18px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        z-index: 9999;
        cursor: pointer;
    }
    .menu-toggle span {
        display: block;
        position: absolute;
        top: 18px;
        left: 6px;
        width: 28px;
        height: 4px;
        background: #00ff5e;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    }
    .menu-toggle span::before,
    .menu-toggle span::after {
        content: '';
        display: block;
        position: absolute;
        width: 28px;
        height: 4px;
        background: #00ff5e;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    }
    .menu-toggle span::before {
        top: -10px;
        left: 0;
    }
    .menu-toggle span::after {
        top: 10px;
        left: 0;
    }
    .navigation_buttons, .nav-buttons {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 0;
        left: 0;
        width: 50vw;
        max-width: 350px;
        height: 100vh;
        background: #232323;
        z-index: 2000;
        padding: 2rem 1rem 1rem 1rem;
        box-shadow: 2px 0 12px rgba(0,0,0,0.25);
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        overflow-y: auto;
        min-width: 0;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    }
    .navigation_buttons.show, .nav-buttons.show {
        transform: translateX(0);
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    }
    .navigation_buttons button, .nav-buttons button {
        width: 100%;
        margin: 0.5rem 0;
        font-size: 1.1rem;
        box-sizing: border-box;
        display: block;
    }
    nav ul {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        position: relative;
        height: 100%;
        flex-wrap: nowrap;
        width: 100vw;
        min-width: 0;
    }
    .profilepic {
        flex-direction: row;
        gap: 0.3rem;
        z-index: 201;
        min-width: 0;
    }
    hr.white_line {
        margin-top: 70px;
    }
    .centered-paragraph {
        margin-top: 1.2rem;
        padding: 0 0.5rem;
        font-size: 1rem;
        text-align: left;
        max-width: 98vw;
        box-sizing: border-box;
    }
}

@media (min-width: 601px) {
    .menu-toggle {
        display: none !important;
    }
}

.hyperfixations{
    list-style: circle;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}
.contact-links{
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: center;
}