/* ==== Global reset ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==== Page base ==== */
body {
  background-color: #000;
  color: #fff;
  font-family: "Geist Mono", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.6;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* ==== Splash (no animation, just overlay) ==== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.splash-screen.hidden {
  display: none;
}

.terminal-cursor {
  display: inline-block;
  width: 10px;
  height: 18px;
  background-color: #fff;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

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

/* ==== Main layout ==== */
.main-content {
  margin-top: 40px;
}

.prompt {
  color: #fff;
  margin-bottom: 10px;
}

.prompt-symbol {
  color: #1baa50; /* green prompt */
}

.command {
  color: #ffffff;
  margin-left: 10px;
}

.welcome {
  margin-top: 20px; /* Reduced from 80px to make the transition smoother */
  display: none;
}
.welcome.active {
  display: block;
}

.welcome .heading {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.welcome .quote {
  color: #888;
  font-style: italic;
  margin: 20px 0;
  padding-left: 20px;
  border-left: 2px solid #333;
}

/* ==== Navigation ==== */
.nav {
  margin: 30px 0;
  margin-top: 40px;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 15px 0px;
  display: flex;      /* Enables alignment and spacing */
  gap: 20px;          /* Adjust this for spacing between items */
}

.nav-item {
  text-align: center;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s;
  /* Adjust padding to change the size of the background highlight */
  padding: 2px 8px;   /* First value is top/bottom, second is left/right */
}

.nav-item:hover,
.nav-item.active {
  background-color: #fff;
  color: #000;
  
}

/* ==== Sections (about, projects, links, notes) ==== */
.section {
  display: none;
  margin: 20px 0 30px;
  /* Added these to match the "middle" quote style you asked for */
  padding-left: 20px;
  border-left: 2px solid #333;
}

.section.active {
  display: block;
  margin-top: 20px; /* Reduced from 40px so it sits closer to the nav */
}

.section > h1 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

/* About info grid */
.info-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  margin: 20px 0;
}

.info-label {
  color: #888;
}

.info-value {
  color: #fff;
}

/* Projects */
.project-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.project-desc {
  color: #ccc;
  margin: 10px 0;
}

/* Links */
.link-item {
  display: block;
  color: #fff;
  text-decoration: none; /* Removed the extra semicolon */
  margin: 10px 0;
  padding: 2px 8px; /* Adjusted padding for a cleaner look */
  margin-left: -8px; /* Offsets the padding so text stays aligned */
  transition: all 0.2s;
  background-color: transparent;
  width: fit-content; /* This keeps the highlight small/shrink-wrapped */
}

.link-item::before {
  content: "> ";
  color: #888;
}

.link-item:hover {
  background-color: #fff;
  color: #000;
}

/* Notes form */
textarea {
  width: 100%;
  min-height: 100px;
  background-color: #000;
  color: #fff;
  border: 1px solid #333;
  font-family: "Geist Mono", "Courier New", monospace;
  font-size: 14px;
  padding: 10px;
  resize: vertical;
}

textarea:focus {
  outline: none;
  border-color: #fff;
}

button {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 20px;
  font-family: "Geist Mono", "Courier New", monospace;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
}

button:hover {
  background-color: #fff;
  color: #000;
}

