@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
    margin: 0;
    padding: 0;


    background-color: #0f0f1a;
    background-image:
        repeating-linear-gradient(30deg,
            rgba(255, 203, 71, 0.04) 0,
            rgba(255, 203, 71, 0.04) 1px,
            transparent 1px,
            transparent 20px),
        repeating-linear-gradient(150deg,
            rgba(165, 255, 0, 0.03) 0,
            rgba(165, 255, 0, 0.03) 1px,
            transparent 1px,
            transparent 20px),
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.01) 0,
            rgba(255, 255, 255, 0.01) 1px,
            transparent 1px,
            transparent 40px);
    background-attachment: fixed;
    background-size: cover;

    font-family: 'VT323', monospace;
    color: #c3bfd8;

}

.container {
    max-width: 800px;
    margin: auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 5rem;
    color: #ffcb47;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 1.75rem;
    color: #a5ff00;
    margin-bottom: 2rem;
}

nav {
    margin-bottom: 2rem;
}

nav a {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #1e1e1e;
    background-color: #f4ead5;
    padding: 0.4rem 1rem;
    border: 2px solid #ffcb47;
    box-shadow: 2px 2px #ffcb47;
    text-decoration: none;
    transition: 0.2s ease;
}

nav a:hover {
    color: #ffcb47;
    background-color: #1e1e1e;
    box-shadow: 2px 2px #a5ff00;
}

a.disabled {
    color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: line-through;
}

.intro {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: #f4ead5;
    text-align: center;
    line-height: 1.5;
    padding: 0.5rem 0;
}

.projects h2 {
    font-size: 2rem;
    color: #ffcb47;
    margin-bottom: 1rem;
}

.projects li {
    font-size: 1.3rem;
    margin: 1rem 0;
    color: #a5ff00;
}

footer {
    margin-top: 3rem;
    font-size: 1.2rem;
    color: #666;
    text-align: center;
}

.bee {
    position: absolute;
    z-index: 1000;
    width: 48px;
    height: 48px;

    pointer-events: auto;
    opacity: 0.9;
}


@keyframes hover-glow {
    0% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 2px #ffcb47);
    }

    50% {
        transform: translateY(-4px);
        filter: drop-shadow(0 0 8px #ffcb47);
    }

    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 2px #ffcb47);
    }
}

@keyframes glowBackground {
    0% {
        background-position: 28% 32%, 72% 62%;
    }

    100% {
        background-position: 32% 28%, 68% 58%;
    }
}

/* --- Mobile Tweaks --- */
@media (max-width: 768px) {
    body {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .container,
    .about-container {
        padding: 1rem;
        max-width: 100vw;
    }

    h1 {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .tagline {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        margin-bottom: 2rem;
    }

    nav a {
        font-size: 1.1rem;
        margin: 0;
        width: 100%;
        text-align: center;
        padding: 0.7rem 0.5rem;
        box-sizing: border-box;
        border-radius: 6px;
    }

    .intro,
    .projects li,
    footer,
    .about-container p {
        font-size: 1.1rem;
        text-align: center;
        line-height: 1.6;
    }

    .projects h2 {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }

    .bee-container,
    .techno-bee,
    .about-container img,
    .bee-tinker {
        display: block;
        margin: 1rem auto;
        max-width: 90vw;
        height: auto;
    }

    .cyborg-bee {
        width: 70px;
        margin: 1rem auto;
        display: block;
    }

    .bee {
        width: 28px;
        height: 28px;
    }
}

/* Remove duplicate/overlapping mobile queries below 600px */
@media (max-width: 600px) {
    nav {
        gap: 0.5rem;
    }

    nav a {
        font-size: 1rem;
        padding: 0.6rem 0.3rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}

.terminal-shell {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(20, 20, 30, 0.7);
    border-radius: 10px;
    padding: 1rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.terminal-shell ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.terminal-shell li {
    font-size: 1.1rem;
    color: #a5ff00;
    margin: 1rem 0;
    padding: 0.5rem 0.2rem;
    border-bottom: 1px solid #333;
    text-align: center;
    word-break: break-word;
}

.glitch-projects {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.project-status {
    font-size: 1rem;
    color: #a5ff00;
    margin-left: 1rem;
    font-family: inherit;
    vertical-align: middle;
    white-space: nowrap;
}

.project-status a {
    color: #ffcb47;
    text-decoration: underline;
    margin-left: 0.3rem;
    font-size: 0.95em;
}

@media (max-width: 600px) {
    .intro {
        font-size: 1rem;
        padding: 0.5rem 0.2rem;
    }

    .terminal-shell {
        max-width: 98vw;
        padding: 0.7rem 0.2rem;
    }

    .terminal-shell li {
        font-size: 0.95rem;
        padding: 0.4rem 0.1rem;
    }
}

/* Header styling for about page */
.about-header {
    display: flex;
    align-items: center;
    /* Vertically center items */
    gap: 1.5rem;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.about-header h1 {
    margin: 0;
    /* Remove default margin for perfect alignment */
    line-height: 1;
    /* Prevent extra vertical space */
    font-size: 4rem;
    color: #ffcb47;
    font-family: inherit;
    text-align: left;
}

.techno-bee {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 203, 71, 0.18);
    background: #222;
    border: 2px solid #ffcb47;
    transition: width 0.2s, height 0.2s;
    display: inline-block;
    vertical-align: middle;
    /* Helps with vertical alignment in flex */
}

.about-container {
    max-width: 800px;
    margin: auto;
    padding: 2rem;
    background: rgba(20, 20, 30, 0.85);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    color: #c3bfd8;
    font-family: 'VT323', monospace;
}

.about-container h1 {
    font-size: 4rem;
    color: #ffcb47;
    margin-bottom: 0.2rem;
    font-family: inherit;
    text-align: left;
}

.about-container p {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #f4ead5;
    font-family: inherit;
}

a.disabled {
    color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.2rem;
        align-items: center;
        /* Center items on mobile */
    }

    .techno-bee {
        width: 48px;
        height: 48px;
        margin-bottom: 0.5rem;
    }

    .about-header h1 {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .about-container {
        padding: 1rem;
        max-width: 98vw;
        border-radius: 10px;
    }

    .about-container h1 {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .about-container p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
}