body, html {
  height: 100%;
  margin: 0;
  background-color: black; /* Sets the background to black */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Ensures no scrollbars appear */
  padding: 3vh 0; /* Adds vertical padding for header and footer space */
}

#tv-screen {
  position: fixed;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 94vw;
  height: 85vh;
  background-color: black;
  border: 1vh solid #2e2e2e;
  border-radius: 20px;
  box-shadow: 0 0 13px rgba(0, 255, 0, 0.5);
  overflow: hidden;
  z-index: 2;
  animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 13px rgba(0, 255, 0, 0.5);
  }
  65% {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7), 0 0 15px rgba(0, 255, 0, 0.7);
  }
  100% {
    box-shadow: 0 0 13px rgba(0, 255, 0, 0.5);
  }
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 105%; /* Ensure canvas fills the container */
  height: 105%; /* Ensure canvas fills the container */
  background-color: black;
  cursor: crosshair;
  z-index: 1;
}
