/* --- Terminal CLI Style --- */
body {
  background-color: #0d1117;
  color: #c9d1d9;
  font-family: 'JetBrains Mono', monospace;
  margin: 0;
  line-height: 1.5;
  overflow-x: hidden;
}

header, section, footer {
  padding: 15px;
  max-width: 1080px;
  margin: auto;
  position: relative;
  z-index: 20; /* above stars */
}

h1 {
    margin: 4px 0 0 0;
}

h1, h2 {
  color: #58a6ff;
  margin-bottom: 10px;
}

p {
  color: #c9d1d9;
  margin: 5px 0 15px 0;
}

a {
  color: #3fb950;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Projects cards */
.projects {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background: #161b22;
  padding: 12px 16px;
  border-left: 4px solid #58a6ff;
  border-radius: 4px;
  transition: background 0.2s;
}
.card:hover { background: #21262d; }

/* Starfield */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  opacity: 0.7;
  animation: twinkle 3s infinite alternate;
  z-index: 0;
}
@keyframes twinkle { from { opacity: 0.2 } to { opacity: 1 } }

/* UFO stationary in header */
header h1 {
  display: flex;
  align-items: center;
}

/* UFO moves to the right side */
header .ufo {
  font-size: 75px;
  margin-left: auto;      /* push it to the right */
  animation: float 2s ease-in-out infinite alternate;
}
@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Terminal section */
#terminal {
  background: #010409;
  border: 2px solid #58a6ff;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 40px auto;
  max-width: 1080px;
  color: #c9d1d9;
  font-family: 'JetBrains Mono', monospace;
  min-height: 300px;
  overflow-y: auto;
}

.prompt {
  display: flex;
  margin-top: 5px;
}

.prompt span {
  color: #58a6ff;
  margin-right: 5px;
}

input {
  background: none;
  border: none;
  outline: none;
  color: #c9d1d9;
  font-family: inherit;
  font-size: 16px;
  flex: 1;
}
.output a {
  color: #3fb950;
  text-decoration: underline;
}
.output a:hover { color: #58ff87; }