:root {
    /* Dark Mode (Default) */
    --bg-primary: #0a192f;
    --bg-secondary: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent: #64ffda;
    --accent-tint: rgba(100, 255, 218, 0.1);
    --white: #e6f1ff;
    --shadow: rgba(2, 12, 27, 0.7);

    --font-mono: 'Fira Code', monospace;
    --font-sans: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f0f2f5;
    --text-primary: #1d1d1f;
    --text-secondary: #424245;
    --accent: #0071e3;
    /* A nice blue for light mode */
    --accent-tint: rgba(0, 113, 227, 0.1);
    --white: #1d1d1f;
    /* Invert 'white' to be dark text */
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background-color: var(--text-secondary);
    border: 3px solid var(--bg-primary);
    border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.section-title::after {
    content: "";
    display: block;
    width: 300px;
    height: 1px;
    background-color: var(--bg-secondary);
    /* Darker line */
    background-color: #233554;
    margin-left: 20px;
    flex-shrink: 1;
}

.section-number {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-right: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    /* Ensure no extra height from line-height */
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-tint);
}

.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 16px;
}

.btn-outline:hover {
    background-color: var(--accent-tint);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

/* Light mode navbar */
[data-theme="light"] .navbar {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--white);
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Theme Toggle */
.theme-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: var(--transition);
    margin-left: 20px;
}

.theme-btn:hover {
    transform: translateY(-2px);
}

.sun-icon,
.moon-icon {
    width: 20px;
    height: 20px;
}

/* Hide moon in dark mode (default), hide sun in light mode */
[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

:root:not([data-theme="light"]) .sun-icon {
    display: block;
}

:root:not([data-theme="light"]) .moon-icon {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    position: relative;
    /* For absolute positioning of canvas */
    overflow: hidden;
    /* Prevent scrollbar if canvas overflows */
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Behind text */
    opacity: 0.8;
    pointer-events: none;
    /* Allow clicking through */
}

@media (max-width: 1080px) {
    #canvas-container {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    #canvas-container {
        opacity: 0.3;
    }
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    /* Ensure container doesn't shrink-wrap content, preventing shift */
    padding: 0 20px;
    /* Add padding for smaller screens */
}

.hero-greeting {
    font-family: var(--font-mono);
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 16px;
}

.hero-name {
    font-family: var(--font-sans);
    font-size: 80px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 60px;
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.1;
    margin-bottom: 30px;
    display: flex;
    /* Ensure alignment */
    align-items: center;
}

.typing-text {
    color: var(--text-primary);
    /* Or accent */
    margin-left: 10px;
    min-width: 350px;
    /* Prevent layout shift */
    display: inline-block;
}

.hero-description {
    max-width: 540px;
    margin-bottom: 50px;
    font-size: 18px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
    /* Vertically align text and image */
}

.about-text p {
    margin-bottom: 15px;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 10px;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.skills-list li {
    position: relative;
    padding-left: 20px;
}

.skills-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    /* Removed background-color to avoid rectangle */
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: var(--transition);
    /* Removed mix-blend-mode */
    filter: grayscale(100%) contrast(1);
    display: block;
    /* Fade out the bottom to hide cut-off shoe */
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.image-wrapper:hover .profile-img {
    filter: none;
    /* Restores color */
    filter: grayscale(0%) contrast(1) drop-shadow(0 5px 15px var(--accent-tint));
    /* Optional glow */
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category h3 {
    font-family: var(--font-sans);
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.skill-tags span:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: var(--accent-tint);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

.project-card {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    margin-bottom: 100px;
}

.project-image {
    grid-column: 1 / 8;
    grid-row: 1 / -1;
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 350px;
    /* Constrain height */
    aspect-ratio: 16 / 9;
    /* Enforce consistent aspect ratio */
}

/* Specific Project Sizing */
/* ParkerAI: Use contain to show full doc, white bg to fill space */
.project-card:first-of-type .carousel-slide img {
    object-fit: contain;
    background-color: #ffffff;
}

/* Carousel Indicators - Dark dots for white backgrounds */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.4;
    /* Match Featured Project color with transparency */
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent);
    opacity: 1;
    /* Solid accent color for active dot */
    transform: scale(1.2);
}

.project-image img,
.project-image video,
.project-image iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure content fills the container */
    border-radius: 4px;
    transition: var(--transition);
    /* Ensure media doesn't block clicks on overlapping content if needed,
       but we usually want to click the media too.
       For now, let's keep it simple. */
}

.project-image video {
    object-fit: cover;
    /* Fix for Fitness App video */
    background: #000;
    pointer-events: auto;
    /* Ensure video controls are always clickable */
}

.project-image iframe {
    border: none;
}

.video-placeholder {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
    pointer-events: none;
}

.video-placeholder:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-placeholder:hover img {
    filter: brightness(0.7);
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show full image */
    object-position: center;
    display: block;
}

/* Theme-aware backgrounds for carousel slides */
:root:not([data-theme="light"]) .carousel-slide img {
    background-color: #0a192f;
    /* Dark background in dark mode */
}

[data-theme="light"] .carousel-slide img {
    background-color: #ffffff;
    /* White background in light mode */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 25, 47, 0.7);
    border: none;
    color: var(--accent);
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    /* Hidden by default, shown on hover */
}

/* Show buttons when hovering the entire card */
.project-card:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(10, 25, 47, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.project-card:hover .project-image img {
    transform: scale(1.02);
}

.project-content {
    grid-column: 7 / -1;
    grid-row: 1 / -1;
    text-align: right;
    z-index: 2;
    pointer-events: none;
    /* Allow clicks to pass through wrapper */
}

.project-content>* {
    pointer-events: none;
    /* Pass clicks through text blocks */
}

.project-content a,
.project-content button,
.project-content .project-links {
    pointer-events: auto;
    /* Keep interactive elements clickable */
}

.project-card.right-aligned .project-image {
    grid-column: 6 / -1;
}

.project-card.right-aligned .project-content {
    grid-column: 1 / 7;
    text-align: left;
}

.project-overline {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 10px;
}

.project-title {
    font-family: var(--font-sans);
    color: var(--white);
    font-size: 28px;
    margin-bottom: 20px;
}

.project-title a {
    color: inherit;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.project-title a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.project-title a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.project-title a:hover::after {
    width: 100%;
}

.project-description {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 16px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-tech-list {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.project-card.right-aligned .project-tech-list {
    justify-content: flex-start;
}

.project-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.project-card.right-aligned .project-links {
    justify-content: flex-start;
}

.project-links a,
.other-project-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--white);
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
    transition: var(--transition);
}

.project-links a:hover,
.other-project-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-tint);
}

.project-links svg,
.other-project-links svg {
    width: 18px;
    height: 18px;
}

/* Other Projects */
.other-projects-title {
    text-align: center;
    font-family: var(--font-sans);
    color: var(--white);
    font-size: 24px;
    margin-bottom: 40px;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.other-project-card {
    background-color: var(--bg-secondary);
    padding: 30px 25px;
    border-radius: 4px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.other-project-card:hover {
    transform: translateY(-5px);
}

.folder-icon {
    color: var(--accent);
    margin-bottom: 20px;
}

.folder-icon svg {
    width: 40px;
    height: 40px;
}

.other-project-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}

.other-project-title {
    font-family: var(--font-sans);
    color: var(--white);
    font-size: 20px;
    margin-bottom: 10px;
}

.other-project-desc {
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.other-project-tech {
    display: flex;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

/* Experience Section */
.experience-container {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
}

.experience-tabs {
    display: flex;
    flex-direction: column;
    width: 150px;
}

.tab-btn {
    background: transparent;
    border: none;
    border-left: 2px solid #233554;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--accent);
    background-color: var(--bg-secondary);
    border-left-color: var(--accent);
}

.experience-content {
    padding-left: 30px;
    flex-grow: 1;
}

.job-panel {
    display: none;
}

.job-panel.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-panel h3 {
    font-family: var(--font-sans);
    color: var(--white);
    font-size: 20px;
    margin-bottom: 5px;
}

.company {
    color: var(--accent);
}

.job-duration {
    font-family: var(--font-mono);
    font-size: 13px;
    margin-bottom: 20px;
}

.job-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 16px;
}

.job-description li::before {
    content: \"▹\";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Diplomas Section */
.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.diploma-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -15px var(--shadow);
}

.diploma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px var(--shadow);
}

.diploma-header {
    text-align: center;
    margin-bottom: 20px;
}

.diploma-icon {
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.diploma-icon svg {
    width: 32px;
    height: 32px;
}

.diploma-title {
    font-family: var(--font-sans);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 600;
}

.diploma-honor {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

.diploma-institution {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

.diploma-preview {
    flex-grow: 1;
    margin-bottom: 15px;
    background-color: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.diploma-pdf-preview {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 4px;
}

.diploma-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: 400px;
    transition: var(--transition);
}

.diploma-card:hover .diploma-image {
    transform: scale(1.02);
}

.diploma-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.diploma-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 8px 16px;
}

/* Contact Section */
.contact-container {
    text-align: center;
    max-width: 600px;
}

.contact-title {
    font-family: var(--font-sans);
    font-size: 50px;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-text {
    margin-bottom: 50px;
}

.btn-large {
    padding: 18px 30px;
    font-size: 16px;
}

/* Footer */
.footer {
    padding: 20px 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-links a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1080px) {
    .project-card {
        display: flex;
        flex-direction: column;
        margin-bottom: 70px;
        gap: 20px;
    }

    .project-card.right-aligned {
        flex-direction: column-reverse;
    }

    .project-image {
        /* display: none; Removed to show images on mobile */
        height: auto;
        /* Auto height instead of fixed */
        max-height: none;
        /* Remove desktop height constraint */
        margin-bottom: 20px;
        grid-column: unset;
        /* Remove grid positioning */
        grid-row: unset;
    }

    .project-content {
        text-align: left;
        grid-column: unset;
        /* Remove grid positioning */
        grid-row: unset;
        z-index: 1;
        /* Reset z-index for normal stacking */
    }

    .project-tech-list,
    .project-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .nav-links {
        display: none;
        /* Hide links on mobile */
    }

    .theme-btn {
        margin-left: auto;
        margin-right: 20px;
    }

    .hamburger {
        display: block;
    }

    .hero-name {
        font-size: clamp(40px, 8vw, 60px);
        /* Dynamic sizing */
    }

    .hero-subtitle {
        font-size: clamp(30px, 6vw, 50px);
        /* Dynamic sizing */
        flex-wrap: wrap;
        /* Allow wrapping on mobile */
    }

    .hero-cta {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-cta .btn {
        padding: 10px 20px;
        flex-grow: 1;
        text-align: center;
    }

    .typing-text {
        min-width: 0;
        /* Remove min-width constraint on mobile */
        margin-left: 5px;
        /* Reduce margin slightly */
    }

    .section-title::after {
        width: 100px;
        /* Prevent overflow */
        max-width: 50%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .diplomas-grid {
        grid-template-columns: 1fr;
    }

    .experience-container {
        flex-direction: column;
    }

    .experience-tabs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        margin-bottom: 20px;
        border-bottom: 2px solid #233554;
    }

    .tab-btn {
        border-left: none;
        border-bottom: 2px solid transparent;
        margin-bottom: -2px;
        white-space: nowrap;
    }

    .tab-btn:hover,
    .tab-btn.active {
        border-left: none;
        border-bottom-color: var(--accent);
    }

    /* Mobile Menu Open State */
    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* Fallback */
        height: 100dvh;
        /* Mobile viewport height fix */
        background-color: var(--bg-primary);
        z-index: 999;
    }

    body.nav-open .nav-links a {
        font-size: 24px;
        margin-bottom: 30px;
    }

    body.nav-open .hamburger {
        z-index: 1001;
        position: fixed;
        right: 20px;
        top: 25px;
    }

    /* Hamburger Animation */
    .hamburger span {
        display: block;
        width: 30px;
        height: 2px;
        margin-bottom: 5px;
        background-color: var(--accent);
        transition: var(--transition);
    }

    body.nav-open .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    body.nav-open .hamburger span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}