/* @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap');

/* gruvbox like theme */
:root { 
--bg: #040504;
--white: #d4cfb9;
--head: #d79921;
--link: #8ec07c;
--dim: #6f7560 ;
--border: #222518;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--white);
  /* font-family: 'JetBrains Mono', monospace; */
  font-family: 'Fira Mono', monospace;
  font-variation-settings: "MONO" 1, "CASL" 1;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

nav {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--white)
}

nav a {
  font-weight: 700;
}

nav .curl-link {
  color: #83a598 ;
  font-weight: 100;
}

h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--head);
}

h1 .dir {
  color: var(--white);
}

.intro {
  color: var(--white);
  margin-bottom: 12px;
  max-width: 800px;
}

.links-row {
  margin: 28px 0 48px;
  font-size: 14px;
  text-align: center;
  font-weight: 700;
}

.links-row .sep {
  color: var(--dim);
  margin: 0 4px;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 24px;
}

.cmd {
  color: #83a598 ;
  font-weight: 100;
  font-style: italic;
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 16px;
  background: var(--dim);
  animation: blink 1.6s step-end infinite;
  vertical-align: middle;
  opacity: 70%;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.terminal .typed-output {
  display: none;
}

/* project boxes */

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project-card {
  border: 1px solid var(--border);
  padding: 28px;
  transition: border-color 0.2s ease;
  box-shadow: 0 0 60px -20px rgba(198, 123, 63, 0.25);
}

.project-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--head);
  margin-bottom: 12px;
}

.project-card p {
  color: var(--white);
  margin-bottom: 12px;
}

.project-card .project-img {
  width: 100%;
  margin-bottom: 16px;
  display: block;
}

/* footer */

footer {
  text-align: center;
  color: var(--dim);
  font-size: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  line-height: 2;
}

@media (max-width: 600px) {
  .container {
    padding: 20px 16px 40px;
  }

  nav {
    gap: 16px;
  }

  .project-card {
    padding: 20px;
  }
}