/* Root styles */
/* System Fonts as used by GitHub */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

header {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;

  h1 {
    text-align: center;
  }

  p {
    font-size: 20px;
  }

  p:last-child {
    background-color: #f3f4f6;
    padding-top: 10px;
    margin-bottom: 100px;
  }

  h3 {
    margin-top: 100px;
    font-size: 15px;
    color: #4b5563;
  }
}

.page-container {
  background-color: #f3f4f6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Main content wrapper */
.content-wrapper {
  max-width: 64rem;
  width: 100%;
}

/* Contributors grid */
.contributors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .contributors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contributors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contributor card */
.contributor-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.contributor-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px
    rgba(0, 0, 0, 0.05);
}

/* Avatar */
.contributor-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Name and GitHub link container */
.contributor-info {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}

/* Contributor name */
.contributor-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

/* GitHub link */
.github-link {
  color: #4b5563;
  transition: color 0.2s ease;
  margin-top: 0.25rem;
}

.github-link:hover {
  color: #2563eb;
}

.github-icon {
  width: 1.2rem;
  height: 1.2rem;
}

/* Bio */
.contributor-bio {
  color: #4b5563;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  margin-top: 10px;
}

.no-bio {
  margin: 0;
  color: #9ca3af;
}

/* Tech stack tags */
.tech-stack {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 600;
  padding: 0.125rem 0.625rem;
  border-radius: 0.25rem;
}
