:root {
  --bg: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --accent: #4f46e5;
  --btn: #4f46e5;
  --white: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

nav ul li a {
  font-weight: 500;
  color: var(--muted);
}

nav ul li a:hover {
  color: var(--accent);
}



nav h1 {
  font-size: 1.2rem;
  font-weight: 600;
}


.container {
  max-width: 960px;
  margin: 8rem auto;
  padding: 2rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  object-fit: cover;
}

.hero h2 {
  margin-top: 1rem;
  font-size: 2rem;
}

.hero p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.section {
  margin-bottom: 2rem;
}

.section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.skills span {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 0.5rem;
  margin: 0.3rem;
  font-size: 0.875rem;
}

.repos ul {
  list-style: none;
  padding-left: 0;
}

.repos li {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.repos li a {
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.repos li p {
  color: var(--muted);
  margin-top: 0.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.sub-text {
  color: var(--muted);
  margin: 0 !important;
  font-size: 12px;
}

#stack-chart canvas {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
}