body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.center-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 98vh;
}


.main {
    background-color: #f0f0f0;
    color: #333;
    font-family: monospace;
    padding: 0px;
    margin: 0 auto;
    max-width: 1200px;
}

.main h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cursor {
  color: rgb(38, 38, 38);
  /* font-family: "Courier New", Courier, monospace; */
  animation: blink;
  animation-duration: 1.2s;
  animation-iteration-count: infinite;
  animation-timing-function: steps(1);
}

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

.typewriter h1 {
  color: #333;
  
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .1em solid #333; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .0em; /* Adjust as needed */
  animation: 
    typing .752s steps(7, end),
    blink-caret .5s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #333 }
}