body {
  font-family: "Press Start 2P", sans-serif;
  background-color: rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  padding: 2rem;
  margin: 0;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  color: rgba(0, 255, 255, 1);
  font-size: 2rem;
}

#extinct-tech {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tech-item {
  background-color: rgba(34, 34, 34, 0.8);
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  text-align: center;
  transition:
    background-color 0.5s,
    color 0.5s;
  width: 20rem;
}

.tech-item:hover {
  background-color: rgba(0, 255, 255, 0.8);
  color: rgba(34, 34, 34, 1);
}

.tech-item h2 {
  transition: color 0.5s;
}

.tech-item:hover h2 {
  color: rgba(255, 204, 0, 1);
}

.tech-item h2 {
  color: rgba(255, 204, 0, 1);
  font-size: 1.5rem;
}

.tech-icon {
  color: rgba(255, 0, 255, 1);
  fill: currentColor;
  height: auto;
  margin-bottom: 1rem;
  height: 8rem;
}

footer {
  text-align: center;
  margin-top: 4rem;
}

footer p a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

footer p a:hover {
  color: rgba(0, 255, 255, 1);
}

.tech-item:hover h2,
footer p a:hover {
  animation: glitch 0.5s infinite;
}

@keyframes glitch {
  0% {
    text-shadow:
      2px 2px rgba(255, 0, 0, 0.75),
      -2px -2px rgba(0, 255, 0, 0.75);
  }
  20% {
    text-shadow:
      -2px -2px rgba(255, 0, 0, 0.75),
      2px 2px rgba(0, 255, 0, 0.75);
  }
  40% {
    text-shadow:
      2px 2px rgba(0, 255, 0, 0.75),
      -2px -2px rgba(255, 0, 0, 0.75);
  }
  60% {
    text-shadow:
      -2px -2px rgba(0, 255, 0, 0.75),
      2px 2px rgba(255, 0, 0, 0.75);
  }
  100% {
    text-shadow:
      2px 2px rgba(255, 0, 0, 0.75),
      -2px -2px rgba(0, 255, 0, 0.75);
  }
}
