:root {
  --bg-start: #1c1f1e;
  --bg-end: #0a0a0a;
  --font-family: "Lato", sans-serif;
  --text-color: #f0f0f0;
  --twinkle-duration: 3s;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--bg-start), var(--bg-end));
  font-family: var(--font-family);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.3;
  animation: twinkle var(--twinkle-duration) ease-in-out infinite;
}

.star.small {
  width: 1.5px;
  height: 1.5px;
}

.star.medium {
  width: 2.5px;
  height: 2.5px;
}

.star.large {
  width: 3.5px;
  height: 3.5px;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.7; }
}

.typewriter {
  font-size: 3rem;
  font-weight: 300;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  width: 0;
  animation:
    typing 2s steps(13) forwards,
    blinkCaret 0.75s step-end infinite;
  position: relative;
  z-index: 1;
}

@keyframes typing {
  from { width: 0; }
  to { width: 13ch; }
}

@keyframes blinkCaret {
  50% { border-color: transparent; }
}

.dots::after {
  content: "";
  display: inline-block;
  animation: dots 2s infinite;
  margin-left: 5px;
}

@keyframes dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}

.meteor {
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  opacity: 0.9;
  filter: drop-shadow(0 0 4px white);
  transform-origin: center;
  will-change: transform, opacity;
  z-index: 0;
  pointer-events: none;
}

/* Mountains */
.mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 40%;
}

.mountains svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mountain-shape {
  fill: #1e2b2f;
}


.middle {
  width: 100%;
  text-align: center;
  padding: 4rem 8rem;
  opacity: 65%;
}

.middle h1 {
  margin-bottom: 1rem; /* or 16px, or whatever you prefer */
}


.fade-in-delayed {
  opacity: 0;
  animation: fadeIn 10s ease forwards;
  animation-delay: 1.75s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.contact-header {
  text-align: center;
  padding: 15px 0;
  color: #fff;
  font-family: 'Source Code Pro', 'Lucida Console', Monaco, monospace;
  font-size: 14px;
  line-height: 1.6;
  opacity: 80%;
}
