/* 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." */
h1 {
  color: yellow;
}

body {
  background-image: url("/images/shittystars2.jpg");
  color: white;
  font-family: "Courier New";
}

.typewriter h1 {
  font-family: courier; /* Typewriter-style font */
  overflow: hidden; /* Hides the text until revealed */
  border-right: .15em solid orange; /* The blinking cursor */
  white-space: nowrap; /* Keeps text on one line */
  margin: 0 auto; 
  letter-spacing: .15em; 
  width: 18ch;
  /* 'steps(30)' should match the number of characters in your text */
  animation: 
    typing 3.5s steps(18, end), 
    blink-caret .75s step-end infinite;
}

/* Reveal text from width 0 to 100% */
@keyframes typing {
  from { width: 0 }
  to { width: 18ch }
}

/* Cursor blinking effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}