
*{
/* seilaaaaa */
  user-select: none;
}
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.8;
        text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 0px #fff, 0 0 0px #fff, 0 0 00px #fff;
    }
}

@keyframes rainbow {
    0% {
        color: red;
    }

    14% {
        color: orange;
    }

    28% {
        color: yellow;
    }

    42% {
        color: green;
    }

    57% {
        color: blue;
    }

    71% {
        color: indigo;
    }

    85% {
        color: violet;
    }

    100% {
        color: red;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: "MS Sans Serif", "MS UI Gothic", Arial, sans-serif;
    background-color: #008b8b;
    background-image: url("/api/placeholder/800/600");
    background-size: cover;
    overflow-x: hidden;

    background: linear-gradient(135deg, #00008B, #008b8b, #4b0082);
    animation: background-shift 30s infinite alternate;
}

@keyframes background-shift {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0px;
    overflow: hidden;
}

/* Windows 98/XP style windows */
.window {
    position: absolute;
    background-color: #c0c0c0;
    border: 3px outset #dfdfdf;
    border-radius: 0;
    padding: 2px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    overflow: hidden;
    transition: all 0.3s ease;
}

.window:hover {
    box-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff;
}

.window-header {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    padding: 5px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.window-body {
    padding: 10px;
    background-color: #ececec;
}

.window-buttons {
    display: flex;
}

.window-button {
    width: 16px;
    height: 16px;
    margin-left: 2px;
    background-color: #c0c0c0;
    border: 1px outset #ffffff;
    text-align: center;
    line-height: 14px;
    font-size: 12px;
    cursor: pointer;
}

.window-button:hover {
    background-color: #ff0000;
    color: white;
}

/* Error window */
.error-window {
    position: absolute;
    width: 300px;
    background-color: #c0c0c0;
    border: 3px outset #dfdfdf;
    z-index: 20;
    padding: 2px;
    font-family: "MS Sans Serif", Arial, sans-serif;
    animation: float 4s ease-in-out infinite;
}

.error-header {
    background-color: #000080;
    color: white;
    padding: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: move;
}

.error-body {
    padding: 15px 10px;
    display: flex;
    align-items: center;
    background-color: #c0c0c0;
}

.error-icon {
    margin-right: 10px;
    width: 32px;
    height: 32px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px inset #808080;
    animation: blink 2s infinite;
}

.error-buttons {
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 10px;
}

.error-button {
    min-width: 80px;
    padding: 5px 10px;
    background-color: #c0c0c0;
    border: 2px outset #ffffff;
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.error-button:hover {
    background-color: #ececec;
}

.error-button:active {
    border-style: inset;
}

/* Links */
.link-box {
    background-color: rgba(255, 255, 255, 0.7);
    border: 3px ridge #00ffff;
    border-radius: 0;
    padding: 10px;
    margin: 15px 0;
    position: relative;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    text-decoration: none;
    color: #000080;
    font-weight: bold;
    display: block;
    overflow: hidden;
    z-index: 5;
    transition: all 0.3s;
}

.link-box:hover {
    background-color: rgba(0, 255, 255, 0.5);
    color: #ff00ff;
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff00ff, 0 0 40px rgba(0, 255, 255, 0.8);
    text-shadow: 0 0 5px #ffffff;
    letter-spacing: 1px;
}

.link-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.link-box:hover::before {
    animation: shine 1s forwards;
    opacity: 1;
}

@keyframes shine {
    0% {
        left: -50%;
    }

    100% {
        left: 150%;
    }
}

/* Decorative images */
.decorative-img {
    position: absolute;
    z-index: 1;
    transition: all 0.5s;
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.7));
}

.decorative-img:hover {
    transform: scale(1.1) rotate(0deg) !important;
    filter: drop-shadow(0 0 10px #ff00ff);
    z-index: 6;
}



.paint-color {
    width: 20px;
    height: 20px;
    border: 1px inset #808080;
    cursor: pointer;
    transition: transform 0.2s;
}

.paint-color:hover {
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Start bar */
.start-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #c0c0c0;
    border-top: 2px solid #dfdfdf;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
}

.start-button {
    background: linear-gradient(135deg, #008080, #00ffff);
    padding: 5px 15px;
    margin-right: 10px;
    border: 2px outset #00ffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.start-button:hover {
    background: linear-gradient(135deg, #00ffff, #008080);
    box-shadow: 0 0 10px #00ffff;
}

.start-button:active {
    border-style: inset;
}

.taskbar-item {
    background-color: #d3d3d3;
    border: 2px outset #ffffff;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 12px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s;
}

.taskbar-item:hover {
    background-color: #ececec;
}

.taskbar-item:active {
    border-style: inset;
    background-color: #c0c0c0;
}

.clock {
    margin-left: auto;
    font-size: 12px;
    background-color: #d3d3d3;
    border: 2px inset #ffffff;
    padding: 3px 8px;
    margin-right: 30px;
}

/* Large name */
.name-banner {
    position: relative;
    text-align: center;
    font-size: 72px;
    font-weight: bold;
    color: #00ffff;
    text-shadow:
        3px 3px 0 #ff00ff,
        -3px -3px 0 #ffff00,
        3px -3px 0 #ff0000,
        -3px 3px 0 #0000ff;
    margin: 50px 0 30px;
    transform: rotate(-5deg);
    z-index: 5;
    animation: float 5s ease-in-out infinite, rainbow-text 10s infinite;
}

@keyframes rainbow-text {

    0%,
    100% {
        text-shadow:
            3px 3px 0 #ff00ff,
            -3px -3px 0 #ffff00,
            3px -3px 0 #ff0000,
            -3px 3px 0 #0000ff;
    }

    25% {
        text-shadow:
            3px 3px 0 #ffff00,
            -3px -3px 0 #ff0000,
            3px -3px 0 #0000ff,
            -3px 3px 0 #ff00ff;
    }

    50% {
        text-shadow:
            3px 3px 0 #ff0000,
            -3px -3px 0 #0000ff,
            3px -3px 0 #ff00ff,
            -3px 3px 0 #ffff00;
    }

    75% {
        text-shadow:
            3px 3px 0 #0000ff,
            -3px -3px 0 #ff00ff,
            3px -3px 0 #ffff00,
            -3px 3px 0 #ff0000;
    }
}

/* GIFs/Animated images */
.gif-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.gif {
    position: absolute;
    max-width: 100px;
    max-height: 100px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.links-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    z-index: 10;
    padding-bottom: 60px;
}

/* Glitter text */
.glitter-text {
    background-image: url("/api/placeholder/400/100");
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin: 1px 0;
    animation: sparkle 10s linear infinite;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;
}

/* Progress bars */
.progress-bar {
    position: absolute;
    width: 200px;
    height: 20px;
    background-color: white;
    border: 2px inset #808080;
    z-index: 5;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #adff2f);
    width: 70%;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.progress-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 0 white;
}

/* Random popups */
.random-popup {
    position: fixed;
    background-color: #ffffe1;
    border: 1px solid #000000;
    padding: 10px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    font-size: 12px;
    z-index: 1000;
    max-width: 200px;
    animation: float 4s ease-in-out infinite;
    cursor: pointer;
}

.random-popup:hover {
    background-color: #ffffb1;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

/* Marquee text */
.marquee-container {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    overflow: hidden;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.marquee-text {
    position: absolute;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    color: #00ffff;
    font-weight: bold;
    line-height: 20px;
}

/* Stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

/* Y2K badges */
.y2k-badge {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff00ff, #00ffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px black;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
    z-index: 4;
    transform: rotate(-15deg);
    animation: float 5s ease-in-out infinite;
}
/* Estilos base existentes permanecem os mesmos */

/* Adicionar estilos responsivos */
@media screen and (max-width: 1024px) {
    .name-banner {
      font-size: 60px;
      margin: 40px 0 25px;
    }
    
    .window {
      width: 90% !important;
      max-width: 400px;
    }
    
    .links-container {
      max-width: 90%;
      padding: 0 20px 60px;
    }
    
    .glitter-text {
      font-size: 28px;
    }
    
    .y2k-badge {
      width: 70px;
      height: 70px;
      font-size: 14px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .name-banner {
      font-size: 48px;
      margin: 30px 0 20px;
    }
    
    .window {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      margin: 30px auto;
      width: 85% !important;
      max-width: 350px;
    }
    
    .error-window {
      width: 85%;
      max-width: 300px;
      margin: 0 auto;
      position: fixed;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
    }
    
    .y2k-badge {
      width: 60px;
      height: 60px;
      font-size: 12px;
    }
    
    .decorative-img {
      transform: scale(0.8) !important;
    }
    
    .glitter-text {
      font-size: 24px;
    }
    
    .link-box {
      margin: 12px 0;
      padding: 8px;
    }
    
    .start-bar {
      height: 35px;
    }
    
    .start-button {
      padding: 3px 10px;
      font-size: 14px;
    }
    
    .taskbar-item {
      max-width: 100px;
      font-size: 11px;
      padding: 3px 8px;
    }
    
    .clock {
      margin-right: 10px;
      font-size: 11px;
    }
    
    .progress-bar {
      width: 150px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .name-banner {
      font-size: 32px;
      margin: 20px 0 15px;
    }
    
    .window {
      width: 95% !important;
      margin: 20px auto;
    }
    
    .window-header {
      padding: 3px;
      font-size: 14px;
    }
    
    .y2k-badge {
      width: 50px;
      height: 50px;
      font-size: 10px;
    }
    
    .y2k-badge:nth-child(2) {
      top: 10px !important;
      left: 10px !important;
    }
    
    .y2k-badge:nth-child(3) {
      bottom: 80px !important;
      right: 10px !important;
    }
    
    .decorative-img {
      transform: scale(0.6) !important;
    }
    
    /* Esconder algumas decorações em telas muito pequenas */
    .decorative-img:nth-child(4),
    .decorative-img:nth-child(7) {
      display: none;
    }
    
    .glitter-text {
      font-size: 20px;
    }
    
    .link-box {
      margin: 10px 0;
      padding: 6px;
      font-size: 14px;
    }
    
    .start-bar {
      height: 30px;
    }
    
    .start-button {
      padding: 2px 8px;
      font-size: 12px;
      margin-right: 5px;
    }
    
    .taskbar-item {
      max-width: 60px;
      font-size: 10px;
      padding: 2px 5px;
      margin-right: 3px;
    }
    
    .clock {
      font-size: 10px;
      padding: 2px 5px;
    }
    
    .random-popup {
      max-width: 150px;
      font-size: 10px;
      padding: 8px;
    }
    
    .progress-bar {
      width: 120px;
      height: 16px;
    }
    
    .progress-label {
      font-size: 8px;
    }
    
    .marquee-container {
      height: 16px;
    }
    
    .marquee-text {
      font-size: 12px;
      line-height: 16px;
    }
  }
  
  /* Ajustes adicionais para o layout do Paint e janelas */
  @media screen and (max-width: 768px) {
    #paint-window .window-body div:first-child {
      height: 150px !important;
    }
    
    /* Ajuste para o menu start */
    #start-button + div {
      width: 180px !important;
      left: 0 !important;
    }
  }
  
  @media screen and (max-width: 480px) {
    #paint-window .window-body div:first-child {
      height: 120px !important;
    }
    
    /* Ajuste para o menu start */
    #start-button + div {
      width: 150px !important;
    }
    
    /* Redimensionar o canvas do paint */
    #paint-window canvas {
      width: 100% !important;
      height: 100% !important;
    }
  }
  
  /* Ajustes para o layout vertical em dispositivos móveis */
  @media screen and (max-width: 768px) and (orientation: portrait) {


    body{
        /* padding: 5vh; */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .container {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 90%;
     width:100%;
     flex-direction: column;
    }
    
    .name-banner {
      transform: rotate(0);
      width: 100%;
      text-align: center;
    }
    
    .random-popup {
      position: fixed !important;
    }
  }

  select {
    font-size: 12px;
    padding: 2px;
    margin: 2px;
    border: 2px outset #dcdcdc;;
    background-color: #b2b2b2;
    color: #000000;
    border-radius: 0px;
    cursor: pointer;
    outline: none;
}

select:hover {
    background-color: #e0e0e0;
}

select:focus {
    border: 1px solid #7f7f7f;
    background-color: #d0d0d0;
}

option {
    padding: 2px;
    background-color: #bcbcbc;
    color: #333;
    border-radius: 0;
}

option:hover {
    background-color: #e0e0e0;
}
