/* /static/style.css */

body {
  background-color: black;
  color: lime; /* Default text color */
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  padding: 15px;
  overflow: hidden; /* Hide scrollbars initially */
  font-size: 24px;
}

#terminal {
  white-space: pre-wrap; /* Preserve whitespace and wrap lines */
  word-wrap: break-word; /* Break long words */
  height: calc(100vh - 30px); /* Adjust for body padding */
  overflow-y: auto; /* Add scrollbar if needed */
}

/* Specific colors mentioned in the original content */
.cyan {
  color: cyan;
}
.white {
  color: white;
  font-weight: bold;
}
.yellow {
  color: yellow;
}
.red {
  color: red;
  font-weight: bold;
}
.gray {
  color: gray;
  font-size: smaller;
}
.lime {
  color: lime;
  font-weight: bold;
} /* Ensure lime override works */

/* Blinking cursor effect */
.cursor {
  display: inline-block;
  background-color: lime;
  width: 1rem; /* Adjust width as needed */
  height: 1.2rem; /* Match line height */
  margin-left: 0.3rem;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from,
  to {
    background-color: transparent;
  }
  50% {
    background-color: lime;
  }
}

/* Style links */
a {
  color: lime;
  text-decoration: none; /* Typical hacker look */
}
a:hover {
  background-color: lime;
  color: black;
}
a:active {
  color: red;
}

/* Hide cursor when typing finishes */
#terminal.finished .cursor {
  display: none;
}

hr {
  border-color: lime;
  border-style: solid;
  border-width: 1px 0 0 0;
}
