/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f1d36;
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.typed-text {
  color: #f5f7fa !important;
  font-size: clamp(1.5rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: baseline;
  white-space: pre;
  text-shadow: 0 0 10px #f5f7fa, 0 0 20px rgba(245, 247, 250, 0.6);
}

#typed {
  display: inline-block;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 0.15em;
  background-color: #f5f7fa !important;
  vertical-align: text-bottom;
  box-shadow: 0 0 10px #f5f7fa, 0 0 20px rgba(245, 247, 250, 0.6);
  animation: blink 1s steps(1) infinite;
}

.cursor.typing {
  animation: none;
  opacity: 1;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  50.01%, 100% {
    opacity: 0;
  }
}
