:root {
  --bg: #1a1a1a;
  --text: #e0e0e0;
  --link: #3b82f6;
  --link-visited: #a855f7;
  --max-width: 1024px;
}

* {
  box-sizing: border-box;
}

html {
  background-color: #0f0f0f;
}

body {
  color: var(--text);
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 2rem 1rem;
}

.layout-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: flex-start;
}

.main-column {
  background-color: var(--bg);
  padding: 2rem;
  flex: 1;
  max-width: 800px;
}

.sidebar {
  background-color: var(--bg);
  padding: 2rem;
  width: 200px;
  min-height: 200px;
}

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

a:hover {
  text-decoration: underline;
}

.sidebar nav a {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.info-list a {
  text-decoration: none;
}

.info-list a:hover {
  text-decoration: underline;
}

header, section, footer {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

footer {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar h2 {
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

nav {
  margin-bottom: 1rem;
}

#projects-container {
  margin-top: 1rem;
}

.project-item {
  margin-bottom: 1rem;
  list-style-type: none;
}

.project-lang {
  font-size: 0.8rem;
  font-style: italic;
  color: #999;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-item {
  margin-bottom: 0.25rem;
}

.info-label {
  font-weight: bold;
}

.text-muted {
  color: #aaa;
}

.loading-text {
  font-style: italic;
}

.copy-btn {
  font-family: monospace;
  font-size: 10px;
  background: #333;
  color: #fff;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  margin-left: 8px;
}

.copy-btn:hover {
  background: var(--link);
}

.github-view-all {
  margin-top: 1.5rem;
}

.role-title {
  font-weight: bold;
}

@media (max-width: 900px) {
  .layout-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .sidebar {
    width: 100%;
    min-height: auto;
  }

  .main-column {
    max-width: 100%;
  }
}

