

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

    /* WINDOWS 98 THEME STYLES */
    .win98-container {
        position: relative;
        width: 100%;
        margin: 0;
        background: #008080;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Reset Stack theme styles within our container */
    .win98-container * {
        font-family: 'Courier New', monospace !important;
    }

    /* Window Styles */
    .win98-window {
        width: 80%;
        margin: 0 auto;
        background: #c0c0c0;
        border: 2px solid;
        border-color: #dfdfdf #000000 #000000 #dfdfdf;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }

    /* Titlebar Styles */
    .win98-titlebar {
        background: linear-gradient(90deg, #000080, #1084d0);
        color: white;
        padding: 4px 8px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .win98-titlebar-controls {
        display: flex;
    }

    .win98-btn {
        width: 16px;
        height: 14px;
        margin-left: 2px;
        background: #c0c0c0;
        border: 2px solid;
        border-color: #dfdfdf #808080 #808080 #dfdfdf;
        font-size: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: default;
    }

    .win98-btn.close {
        font-weight: bold;
    }

    /* Content Area */
    .win98-content {
        padding: 8px;
        background: black;
        color: white;
        min-height: 70vh;
    }

    /* Taskbar Styles */
    .win98-taskbar {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background: #c0c0c0;
        border-top: 2px solid #dfdfdf;
        display: flex;
        align-items: center;
        padding: 0 4px;
        z-index: 1000;
        width: 100%;
        box-sizing: border-box;
    }

    .start-button {
        background: #c0c0c0;
        border: 2px solid;
        border-color: #dfdfdf #808080 #808080 #dfdfdf;
        padding: 2px 6px;
        display: flex;
        align-items: center;
        font-weight: bold;
        margin-right: 4px;
    }

    .start-button img {
        margin-right: 4px;
        width: 16px;
        height: 16px;
    }

    .taskbar-programs {
        display: flex;
        flex-grow: 1;
    }

    .taskbar-item {
        background: #c0c0c0;
        border: 2px solid;
        border-color: #808080 #dfdfdf #dfdfdf #808080;
        padding: 2px 8px;
        margin-right: 4px;
        font-size: 12px;
    }

    .taskbar-item.active {
        border-color: #808080 #ffffff #ffffff #808080;
    }

    /* Clock Styles */
    .taskbar-clock {
        background: #c0c0c0;
        border: 2px solid;
        border-color: #808080 #dfdfdf #dfdfdf #808080;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    #win98-clock {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        min-width: 60px;
        margin-left: 2px;
    }

    .clock-icons {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .clock-icons img,
    .taskbar-clock img,
    .start-button img {
        width: 16px;
        height: 16px;
    }

    .clock-time {
        font-weight: bold;
        text-align: right;
    }

    .clock-date {
        color: #000;
        text-align: right;
        font-size: 11px;
    }

    /* CONTENT STYLES */
    .win98-content section {
        padding: 2rem 1rem;
        max-width: 900px;
        margin: 0 auto;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    }

    .win98-content h1,
    .win98-content h2,
    .win98-content h3 {
        font-weight: normal;
        margin: 0 0 1.5rem 0;
        text-align: center;
    }

    .win98-content h1.win98 {
        position: relative;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      align-items: center;   /* ← this centres all the inputs/buttons */
    }

    /* Form Styles */
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        background: transparent;
        border: 1px solid white;
        color: white;
        padding: 0.8rem;
        width: 100%;
        margin: 0 auto 1rem auto; /* ← auto left/right will truly centre them */
        font-family: 'Courier New', monospace;
    }

    .contact-form button {
      width: auto;        /* ← shrink-wrap to its text */
      padding: 0.8rem 2rem; /* optional: nicer spacing */
      margin: 0 auto 1rem auto; /* keep it centred */
      display: block;
    }


    .contact-form button:hover {
        background: white;
        color: black;
    }

    /* List Styles */
    .cli-list {
        list-style: none;
        padding: 0;
    }

    .cli-list li {
        margin-bottom: 1rem;
        position: relative;
        padding-left: 2rem;
    }

    .cli-list li::before {
        content: "> ";
        position: absolute;
        left: 0;
    }

    /* Portfolio Grid */
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Explicitly create 2 equal columns */
        gap: 2rem;
        justify-content: space-between; /* Distribute space between columns */
    }

    .portfolio-item video {
        width: 100%; /* Make videos fill their containers */
        height: auto; /* Maintain aspect ratio */
    }

    .quick-launch {
        padding-right: 5px;
        display: flex;
        gap: 0;
    }

    .quick-launch-item {
        /*margin-right: 2px;*/
        margin: 0;
        padding: 0;
        display: inline-block;
    }

    .quick-launch img {
        width: 25px;
        height: 32px;
        display: block;
        /*min-width: 32px; !* Prevents squishing *!*/
    }

    /* Marquee Container */
    .collaborations {
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        margin: 1rem 0; /* Optional: Adds spacing */
    }

    /* Marquee Content */
    .marquee {
        display: inline-block;
        animation: marquee 40s linear infinite;
        padding-right: 50px; /* Small gap between duplicates */
    }

    /* Animation: Moves left, then loops seamlessly */
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }/* -50% because content is duplicated */
    /* MOBILE RESPONSIVENESS - IMPROVED TASKBAR */
    @media (max-width: 768px) {
        .win98-window {
            width: 95%;
            margin: 10px auto;
        }

        .portfolio-grid {
            grid-template-columns: 1fr !important;
            gap: 1rem;
        }

        .portfolio-item video {
            max-width: 100%;
            height: auto;
        }

        .win98-content {
            padding: 4px;
        }

        .win98-content section {
            padding: 1rem 0.5rem;
        }

        .win98-content h1 {
            font-size: 1.2rem;
        }

        .win98-content h2 {
            font-size: 1.1rem;
        }

        /* IMPROVED TASKBAR - SINGLE ROW, COMPACT */
        .win98-taskbar {
            height: 28px; /* Reduced height */
            flex-wrap: nowrap;
            padding: 0 2px; /* Reduced padding */
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #dfdfdf; /* Thinner border */
        }

        /* Start button - more compact */
        .start-button {
            padding: 1px 3px;
            font-size: 9px;
            white-space: nowrap;
            flex-shrink: 0;
            margin-right: 2px;
            height: 20px; /* Fixed height */
            display: flex;
            align-items: center;
        }

        .start-button img {
            width: 12px;
            height: 12px;
            margin-right: 2px;
        }

        /* Show quick launch but make it compact */
        .quick-launch {
            display: flex;
            gap: 1px;
            margin-right: 2px;
            flex-shrink: 0;
        }

        .quick-launch img {
            width: 16px;
            height: 16px;
        }

        /* Taskbar programs - middle section, tightly packed */
        .taskbar-programs {
            flex-grow: 1;
            display: flex;
            overflow-x: auto;
            justify-content: flex-start; /* Align items to start */
            min-width: 0;
            gap: 1px; /* Reduced gap between items */
            padding: 0 2px;
        }

        .taskbar-item {
            font-size: 8px;
            padding: 0px 4px; /* Reduced padding */
            white-space: nowrap;
            flex-shrink: 0;
            height: 18px; /* Fixed height */
            display: flex;
            align-items: center;
            line-height: 1;
            border-width: 1px; /* Thinner border */
        }

        /* Clock - right side, very compact */
        .taskbar-clock {
            flex-shrink: 0;
            margin-left: 2px;
            padding: 0 2px;
            height: 20px;
            display: flex;
            align-items: center;
            border-width: 1px; /* Thinner border */
        }

        .clock-icons {
            display: flex;
            gap: 1px;
        }

        .clock-icons img {
            width: 12px;
            height: 12px;
        }

        #win98-clock {
            min-width: 40px;
        }

        .clock-time {
            font-size: 9px;
            line-height: 1;
        }

        .clock-date {
            font-size: 7px;
            line-height: 1;
        }

        /* Form adjustments */
        .contact-form input,
        .contact-form textarea {
            width: 90%;
        }

        /* Marquee text smaller on mobile */
        .marquee {
            font-size: 0.9rem;
        }
    }

    @media (max-width: 480px) {
        .win98-window {
            width: 98%;
        }

        /* Even more compact for very small screens */
        .win98-taskbar {
            height: 26px;
            padding: 0 1px;
        }

        .start-button {
            font-size: 8px;
            padding: 0 2px;
            height: 18px;
        }

        .quick-launch {
            display: none; /* Hide quick launch on very small screens */
        }

        .taskbar-item {
            font-size: 7px;
            padding: 0 3px;
            height: 16px;
        }

        .taskbar-clock {
            height: 18px;
        }

        .clock-icons img {
            width: 10px;
            height: 10px;
        }

        #win98-clock {
            min-width: 35px;
        }

        .clock-time {
            font-size: 8px;
        }

        .clock-date {
            font-size: 6px;
        }
    }

    /* Ensure all taskbar elements are properly aligned */
    .win98-taskbar > * {
        display: flex;
        align-items: center;
    }
