/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #111;
  color: #00ff00;
  font-family: 'Courier New', Courier, monospace;
  font-size: 25px;
  line-height: 1.6;
  text-shadow: 0 0 8px #00ff00;
  padding: 20px;
  margin: 0;
}

main {
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(rgba(0, 255, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 0, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: #000;
  border-radius: 20px;
  border: 8px solid #222;
  box-shadow: 
    inset 0 0 30px rgba(0, 0, 0, 0.8),
    inset 0 0 80px rgba(0, 255, 0, 0.05),
    0 0 20px rgba(0, 0, 0, 0.5);
  padding: 30px;
  min-height: 90vh;
}

main::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

a {
  display: inline-block;
  color: #00ff00;
}

a:hover {
  animation: shake 0.4s;
  color: red;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.cursor {
  display: inline-block;
  width: 12px;
  height: 1.2em;
  background: #00ff00;
  margin-left: 4px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}