@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #222;
  font-family: 'Roboto Mono', monospace;
  position: relative;
  overflow: hidden;
}

.code-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: -1;
  color: #0f0;
  animation: scroll 60s linear infinite;
}

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

h1 {
  font-size: calc(4rem + 1vw);
  color: #0f0;
  text-shadow: 0 0 5px #0f0;
}
.h1-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 1s;
}
.matrix-canvas {
  display: block;
  background-color: #000;
  z-index: 1;
}

.footer {
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: rgba(128, 128, 128, 0.5);
  padding: 5px 15px;
  font-size: 1rem;
}

