@font-face {
    font-family: "W95FA";
    src: url("w95fa.woff2") format("woff2"),
         url("w95fa.woff") format("woff");
}
  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #008080; /* Cor de fundo clássica */
            font-family: "W95FA", sans-serif;
            overflow: hidden;
            cursor: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M0,0 L0,12 L4,8 L7,14 L9,13 L6,7 L11,7 Z" fill="white" stroke="black"/></svg>'),auto;
            position: relative;
        }

        @keyframes pulseGlow {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .desktop {
            width: 100vw;
            height: calc(100vh - 40px);
            position: relative;
            padding: 20px;
            display: grid;
            grid-template-columns: repeat(auto-fill, 80px);
            grid-auto-rows: 100px;
            gap: 10px;
            align-content: start;
            z-index: 1;
        }
        .start {
            border: 2px solid;
            border-color:#ffffff #808080 #808080 #ffffff;
            background: #c0c0c0;
            padding: 5px 10px;
            font-family: "W95FA", sans-serif;
            font-weight: bolder;
            display: flex;
            align-items: center;
            font-size: 14px;
            color: black;
            cursor: pointer;
            width: fit-content;
        
        }

        .icon {
            width: 80px;
            text-align: center;
            cursor: pointer;
            user-select: none;
            transition: transform 0.1s ease;
            position: relative;
        }

        .icon:hover {
            transform: scale(1.05);
        }

        .icon:active {
            transform: scale(0.95);
        }

        .icon-img {
            width: 48px;
            height: 48px;
            background: #c0c0c0;
            border: 2px solid #fff;
            margin: 0 auto 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            transition: all 0.2s ease;
        }

        .icon:active .icon-img {
            background: #000080;
            animation: iconClick 0.3s ease;
        }

        @keyframes iconClick {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .icon-label {
            color: white;
            text-shadow: 1px 1px 2px black;
            font-size: 12px;
            word-wrap: break-word;
        }

        .icon::after {
            content: '✨';
            position: absolute;
            top: -5px;
            right: 10px;
            font-size: 12px;
            opacity: 0;
            animation: sparkle 2s ease-in-out infinite;
        }

        @keyframes sparkle {
            0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
            50% { opacity: 1; transform: scale(1) rotate(180deg); }
        }

        /* Sticky Note */
        .sticky-note {
            position: fixed;
            top: 50px;
            right: 50px;
            width: 200px;
            background: #ffff88;
            padding: 15px;
            box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
            transform: rotate(2deg);
            z-index: 999;
            border: 1px solid #e0e080;
            font-size: 11px;
            line-height: 1.4;
        }

        .sticky-note::before {
            content: '📌';
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 20px;
        }

        .sticky-note h3 {
            font-size: 13px;
            margin-bottom: 8px;
            color: #333;
            border-bottom: 1px dashed #999;
            padding-bottom: 5px;
        }

        .window {
            position: absolute;
            background: #c0c0c0;
            border: 2px solid;
            border-color: #dfdfdf #808080 #808080 #dfdfdf;
            min-width: 400px;
            min-height: 250px;
            display: none;
            box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
            animation: windowOpen 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 100;
        }

        @keyframes windowOpen {
            from {
                transform: scale(0.5) rotate(-5deg);
                opacity: 0;
            }
            to {
                transform: scale(1) rotate(0deg);
                opacity: 1;
            }
        }

        .window.closing {
            animation: windowClose 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        }

        @keyframes windowClose {
            to {
                transform: scale(0.5) rotate(5deg);
                opacity: 0;
            }
        }

        .window.active {
            display: block;
        }

        .title-bar {
            background: linear-gradient(to right, #000080, #1084d0);
            color: white;
            padding: 3px 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: move;
            user-select: none;
        }

        .title-bar-text {
            font-weight: bold;
            font-size: 14px;
            animation: titleGlow 3s ease-in-out infinite;
        }

        @keyframes titleGlow {
            0%, 100% { text-shadow: 0 0 5px rgba(255,255,255,0.5); }
            50% { text-shadow: 0 0 10px rgba(255,255,255,0.8); }
        }

        .title-bar-controls button {
            width: 18px;
            height: 18px;
            border: 1px solid;
            border-color: #dfdfdf #808080 #808080 #dfdfdf;
            background: #c0c0c0;
            font-size: 10px;
            cursor: pointer;
            margin-left: 2px;
            transition: all 0.1s ease;
        }

        .title-bar-controls button:hover {
            background: #e0e0e0;
        }

        .title-bar-controls button:active {
            border-color: #808080 #dfdfdf #dfdfdf #808080;
            transform: translateY(1px);
        }

        .window-body {
            padding: 15px;
            background: #c0c0c0;
            overflow-y: auto;
            max-height: 450px;
        }

        .taskbar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40px;
            background: #c0c0c0;
            border-top: 2px solid #fff;
            display: flex;
            align-items: center;
            padding: 0 5px;
            z-index: 10000;
        }


        .start:hover {
            background: #e0e0e0;
        }

        .start:active {
            border-color: #808080 #dfdfdf #dfdfdf #808080;
        }
        .win95 {
         width: 18px;
         height: 18px;
         margin-right: 5px;
        }

        /* Start Menu */
        .start-menu {
            position: fixed;
            bottom: 42px;
            left: 5px;
            width: 250px;
            background: #c0c0c0;
            border: 2px solid;
            border-color: #dfdfdf #808080 #808080 #dfdfdf;
            display: none;
            box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
            z-index: 9999;
        }

        .start-menu.active {
            display: block;
            animation: slideUp 0.2s ease-out;
        }

        @keyframes slideUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .start-menu-header {
            background: linear-gradient(to right, #000080, #1084d0);
            color: white;
            padding: 10px;
            font-weight: bold;
            font-size: 16px;
        }

        .start-menu-item {
            padding: 8px 15px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.1s ease;
            border-bottom: 1px solid #808080;
        }

        .start-menu-item:hover {
            background: #000080;
            color: white;
        }

        .start-menu-item span:first-child {
            font-size: 18px;
        }

        /* Social Icons */
        .social-icons {
            display: flex;
            gap: 3px;
            margin-right: 10px;
            margin-left: auto;
        }

        .social-icon {
            width: 28px;
            height: 28px;
            background: #c0c0c0;
            border: 1px solid;
            border-color: #dfdfdf #808080 #808080 #dfdfdf;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.1s ease;
        }
        .github {
            width: 16px;
            height: 16px;
        }
        .linkedin {
            width: 16px;
            height: 16px;
        }
        .instagram {
            width: 16px;
            height: 16px;
        }
        .behance {
            width: 16px;
            height: 16px;
        }

        .social-icon:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        .social-icon:active {
            border-color: #808080 #dfdfdf #dfdfdf #808080;
            transform: translateY(0);
        }

        .clock {
            padding: 5px 10px;
            border: 1px solid;
            border-color: #808080 #dfdfdf #dfdfdf #808080;
            font-size: 12px;
        }

        .boot-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            animation: fadeOut 2s 2s forwards;
        }

        @keyframes fadeOut {
            to {
                opacity: 0;
                visibility: hidden;
            }
        }

        .boot-logo {
            width: 20px;
            height: 20px;
            margin-bottom: 20px;
            animation: bounce 1s ease infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(10deg); }
        }

        .boot-text {
            font-size: 18px;
            margin-bottom: 10px;
            opacity: 0;
            animation: fadeIn 0.5s ease forwards;
        }

        .boot-text:nth-child(2) { animation-delay: 0.3s; }
        .boot-text:nth-child(3) { animation-delay: 0.6s; }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        .loading-bar {
            width: 300px;
            height: 20px;
            border: 2px solid #fff;
            margin-top: 20px;
            overflow: hidden;
            position: relative;
        }

        .loading-progress {
            height: 100%;
            background: linear-gradient(90deg, #fff 0%, #00ff00 50%, #fff 100%);
            animation: load 2s ease-out forwards, shimmer 1s infinite;
        }

        @keyframes load {
            from { width: 0; }
            to { width: 100%; }
        }

        @keyframes shimmer {
            0% { filter: brightness(1); }
            50% { filter: brightness(1.3); }
            100% { filter: brightness(1); }
        }

        h2 {
            margin-bottom: 15px;
            border-bottom: 2px solid #000080;
            padding-bottom: 5px;
            color: #000080;
        }

        p {
            margin-bottom: 10px;
            line-height: 1.5;
        }

        .project-item {
            margin-bottom: 15px;
            padding: 12px;
            background: #fff;
            border: 2px solid #808080;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .project-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0,128,128,0.2), transparent);
            transition: left 0.5s ease;
        }

        .project-item:hover::before {
            left: 100%;
        }

        .project-item:hover {
            border-color: #000080;
            transform: translateX(8px) scale(1.02);
            box-shadow: 4px 4px 8px rgba(0,0,0,0.3);
        }

        .project-title {
            font-weight: bold;
            color: #000080;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .project-desc {
            font-size: 12px;
            color: #333;
        }

        .section-tabs {
            display: flex;
            gap: 5px;
            margin-bottom: 15px;
        }

        .tab-button {
            padding: 8px 15px;
            background: #c0c0c0;
            border: 2px solid;
            border-color: #dfdfdf #808080 #808080 #dfdfdf;
            cursor: pointer;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            transition: all 0.2s ease;
        }

        .tab-button:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        .tab-button.active {
            background: #fff;
            border-color: #808080 #dfdfdf #dfdfdf #808080;
            animation: tabPulse 0.3s ease;
        }

        @keyframes tabPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .tab-content {
            display: none;
            animation: tabSlide 0.4s ease;
        }

        .tab-content.active {
            display: block;
        }

        @keyframes tabSlide {
            from { 
                opacity: 0; 
                transform: translateX(-20px);
            }
            to { 
                opacity: 1; 
                transform: translateX(0);
            }
        }

        .music-player {
            background: #c0c0c0;
            border: 2px solid;
            border-color: #dfdfdf #808080 #808080 #dfdfdf;
            padding: 10px;
            margin-bottom: 15px;
        }


        .player-controls {
            display: flex;
            gap: 5px;
            align-items: center;
            margin-bottom: 10px;
        }

        .player-button {
            width: 30px;
            height: 30px;
            background: #c0c0c0;
            border: 2px solid;
            border-color: #dfdfdf #808080 #808080 #dfdfdf;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.1s ease;
        }

        .player-button:hover {
            background: #e0e0e0;
            transform: scale(1.1);
        }

        .player-button:active {
            border-color: #808080 #dfdfdf #dfdfdf #808080;
            transform: scale(0.95);
        }

        .track-info {
            font-size: 11px;
            padding: 5px;
            background: #000;
            color: #00ff00;
            border: 1px solid #808080;
            font-family: monospace;
            overflow: hidden;
            white-space: nowrap;
        }

        .track-title {
            display: inline-block;
            animation: scroll-text 10s linear infinite;
        }

        @keyframes scroll-text {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        .volume-control {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 5px;
        }

        .volume-slider {
            flex: 1;
            height: 20px;
            background: #fff;
            border: 1px solid #808080;
        }

        .equalizer {
            display: flex;
            gap: 2px;
            height: 20px;
            align-items: flex-end;
            margin-left: 10px;
        }

        .eq-bar {
            width: 3px;
            background: #00ff00;
            animation: eq-bounce 0.5s ease-in-out infinite;
        }

        .eq-bar:nth-child(1) { animation-duration: 0.4s; }
        .eq-bar:nth-child(2) { animation-duration: 0.6s; }
        .eq-bar:nth-child(3) { animation-duration: 0.5s; }
        .eq-bar:nth-child(4) { animation-duration: 0.7s; }
        .eq-bar:nth-child(5) { animation-duration: 0.3s; }

        @keyframes eq-bounce {
            0%, 100% { height: 5px; }
            50% { height: 20px; }
        }

        .equalizer.paused .eq-bar {
            animation: none;
            height: 5px;
        }

        /* Sticky Note - Responsivo */
.sticky-note {
    position: fixed;
    top: 50px;
    right: 50px;
    width: 200px;
    background: #ffff88;
    padding: 15px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    transform: rotate(2deg);
    z-index: 999;
    border: 1px solid #e0e080;
    font-size: 11px;
    line-height: 1.4;
}

.sticky-note::before {
    content: '📌';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

.sticky-note h3 {
    font-size: 13px;
    margin-bottom: 8px;
    color: #333;
    border-bottom: 1px dashed #999;
    padding-bottom: 5px;
}

        /* Tablets e dispositivos pequenos */
@media (max-width: 768px) {
    .sticky-note {
        width: 90%;
        left: 5%;
        right: 5%;
        top: 20px;
        padding: 15px;
        font-size: 14px;
    }

    .sticky-note h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .sticky-note p {
        font-size: 13px;
        margin: 5px 0;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .sticky-note {
        width: 88%;
        left: 6%;
        right: 6%;
        top: 15px;
        padding: 12px;
        font-size: 12px;
        max-height: auto;
        overflow-y: auto;
    }

    .sticky-note h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .sticky-note p {
        font-size: 12px;
        margin: 4px 0;
        line-height: 1.4;
    }

    .sticky-note strong {
        display: block;
        margin-bottom: 4px;
    }
}