body {
  background: black;
  color: lime;
  font-family: "Courier New", monospace;
  text-align: center;
  overflow-x: hidden;
  animation: flicker 3s infinite;
}

/* piscada tipo monitor velho */
@keyframes flicker {
  0% { opacity: 1; }
  2% { opacity: 0.4; }
  4% { opacity: 1; }
  8% { opacity: 0.7; }
  10% { opacity: 1; }
  100% { opacity: 1; }
}

h1 {
  font-size: 60px;
  animation: glitch 0.8s infinite;
  text-shadow: 2px 0 red, -2px 0 cyan;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 3px); color: red; }
  40% { transform: translate(3px, -3px); color: cyan; }
  60% { transform: translate(-3px, -3px); color: yellow; }
  80% { transform: translate(3px, 3px); color: magenta; }
  100% { transform: translate(0); color: lime; }
}

a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 10px;
  transition: 0.2s;
  position: relative;
}

/* efeito estranho no hover */
a:hover {
  color: red;
  transform: scale(1.3) rotate(-3deg);
  letter-spacing: 2px;
}

/* glitch no texto do link */
a::after {
  content: attr(href);
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255,0,0,0.3);
  opacity: 0;
}

a:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

img {
  width: 150px;
  animation: spin 5s linear infinite, float 3s ease-in-out infinite;
  filter: contrast(200%) saturate(200%);
}

/* flutuando levemente */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* textos espalhados */
.weird {
  position: absolute;
  font-size: 12px;
  opacity: 0.2;
  animation: drift 10s infinite linear;
}

/* movimento lento aleatório */
@keyframes drift {
  0% { transform: translate(0,0); }
  50% { transform: translate(20px, -20px); }
  100% { transform: translate(0,0); }
}

/* seleção estranha */
::selection {
  background: red;
  color: black;
}