@keyframes moveAndChange {
  0% {
    transform: translateX(0px);
    background-color: #00ffff; /* Neon Pink */
  }
  25% {
    background-color: #ff00ff; /* Cyan */
  }
  50% {
    transform: translateX(100px);
    background-color: #ff00ff;
  }
    100% {
    transform: translateX(0px);
    background-color: #00ffff;
  }
}

/* 2. Apply the animation to your HTML element */
.animated-box {
  width: 150px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  
  /* Animation properties */
  animation-name: moveAndChange;  /* Matches the @keyframes name */
  animation-duration: 4s;         /* Time to complete one cycle */
  animation-iteration-count: infinite; /* Keeps repeating forever */
  animation-timing-function: ease-in-out; /* Smooth movement */
}
.raibowchange {
  animation: breakcoreFlash 5s linear infinite;
    background-image: 
    linear-gradient(to right, rgba(0,0,0,0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.15) 1px, transparent 1px);
  background-size: 4px 4px;
  background-blend-mode: multiply;
}
@keyframes breakcoreFlash {
  0%, 100% { background-color: #00ffaa;}
  20% { background-color: #5500FF;}
  40% { background-color:  #FF002F;}
  60% { background-color: #F2FF00;}
  80% { background-color:  #20FF00;}
  
}
.windows-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

.windows-window {
  width: 400px;
  background-color: #c0c0c0;
  padding: 3px;
  
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  box-shadow: 1px 1px 0px 0px #000;
}

.windows-title-bar {
  padding: 4px 4px 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  
  /* Aplica a fonte pixelada */
  font-family: 'VT323', monospace;
  font-size: 24px;
  font-weight: normal;
  color: white;
  text-shadow: 2px 2px 0px #000;
  animation: breakcoreFlash 5s linear infinite;
}

.windows-title-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: 
    linear-gradient(to right, rgba(0,0,0,0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.25) 1px, transparent 1px);
  background-size: 3px 3px;
  
  pointer-events: none; 
  z-index: 1;
}
.windows-title-bar span, .win95-close-btn {
  position: relative;
  z-index: 2;
}

.windows-close-btn {
  background-color: #c0c0c0;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  box-shadow: 0.5px 0.5px 0px 0px #000;
  width: 18px;
  height: 16px;
  font-family: Arial, sans-serif; /* Mantém a fonte do sistema no botão */
  font-size: 11px;
  font-weight: bold;
  color: #000;
  text-align: center;
  line-height: 14px;
  cursor: pointer;
  text-shadow: none;
}

.windows-content {
  background-color: #fff;
  margin: 4px;
  padding: 15px;
  min-height: 150px;
  font-family: Arial, sans-serif;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  text-align: center;
}