* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0e0e10;
  color: #eeeeee;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.terminal-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #111113;
}

.terminal {
  width: 780px;
  max-width: 100%;
  min-height: 430px;
  background: #300a24;
  border: 1px solid #454545;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 12px 35px #00000070;
}

.terminal-bar {
  height: 34px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c2c2c;
  color: #ddd;
  font-size: 12px;
}

.terminal-bar p {
  margin: 0;
}

.terminal-buttons {
  position: absolute;
  left: 10px;
  display: flex;
  gap: 7px;
}

.terminal-buttons span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #777;
}

.terminal-body {
  padding: 15px;
  font-family: "Courier New", monospace;
  font-size: 15px;
  line-height: 1.4;
}

.terminal-body p {
  margin: 0;
}

#terminal-form {
  display: flex;
  gap: 7px;
}

#terminal-input {
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font: inherit;
  caret-color: white;
}

.green {
  color: #8ae234;
  font-weight: bold;
}

.blue {
  color: #729fcf;
  font-weight: bold;
}

#terminal-error {
  margin-top: 5px;
  color: #ff7777;
}

.site {
  width: min(900px, calc(100% - 40px));
  margin: auto;
}

nav {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #999;
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover {
  color: white;
}

.intro {
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.small {
  margin: 0 0 8px;
  color: #888;
  font-size: 15px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(60px, 10vw, 92px);
  letter-spacing: -5px;
}

.description {
  max-width: 430px;
  margin: 18px 0 0;
  color: #aaa;
  font-size: 18px;
  line-height: 1.6;
}

.links {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.links a {
  padding: 10px 14px;
  border: 1px solid #333;
  border-radius: 5px;
  color: #ddd;
  font-size: 14px;
  text-decoration: none;
}

.links a:hover {
  background: #18181b;
}

.pfp {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #29292d;
}

.content-section {
  padding: 90px 0;
  border-top: 1px solid #252528;
}

.section-title {
  margin: 0 0 40px;
  color: #666;
  font-family: "Courier New", monospace;
  font-size: 14px;
}

.about {
  max-width: 620px;
}

.about h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.about p {
  margin: 0;
  color: #aaa;
  font-size: 17px;
  line-height: 1.7;
}

.project {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid #29292d;
  border-radius: 8px;
  background: #131315;
  text-decoration: none;
}

.project:hover {
  border-color: #444;
}

.project img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.project-text {
  width: 100%;
}

.project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-heading h2 {
  margin: 0;
  font-size: 20px;
}

.project-heading span {
  color: #777;
}

.project-text p {
  margin: 6px 0 0;
  color: #777;
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.unreleased {
  margin: 16px 2px 0;
  color: #666;
  font-family: "Courier New", monospace;
  font-size: 13px;
}

@media (max-width: 650px) {
  .nav-links {
    gap: 14px;
  }

  .intro {
    min-height: auto;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 0 110px;
  }

  .pfp {
    width: 130px;
    height: 130px;
  }

  .intro h1 {
    letter-spacing: -3px;
  }

  .content-section {
    padding: 70px 0;
  }
}
