.projects-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

.projects-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: project;
}

.projects-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(31, 29, 26, 0.15);
}

.projects-list li::before {
  counter-increment: project;
  content: counter(project) ".";
  font-size: 0.9rem;
  min-width: 2ch;
  text-align: right;
}

.project-link {
  grid-column: 2 / -1;
}

.project-link {
  color: var(--mainBlack);
  font-weight: 600;
  text-decoration: none;
}

.project-link:hover {
  color: var(--blue1);
  text-decoration: underline;
}

.projects-list p {
  grid-column: 2 / -1;
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.projects-others {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 1rem 0 0;
}

.projects-others h2 {
  font-size: 2rem;
  letter-spacing: 0.1rem;
  margin-bottom: 0.75rem;
}

.projects-others-text {
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

.projects-others-text a {
  text-decoration: none;
}

.projects-others-text a:hover {
  text-decoration: underline;
}

.projects-contributions {
  margin-top: 3rem;
  border-top: 1px solid rgba(31, 29, 26, 0.15);
  padding-top: 2rem;
}

.projects-contribution {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.4rem;
  row-gap: 0.1rem;
}

.projects-contribution-repo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  white-space: nowrap;
}

.projects-contribution-repo a {
  color: inherit;
  text-decoration: none;
}

.projects-contribution-repo a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .projects-list li {
    grid-template-columns: 1.5rem 1fr;
    gap: 0.5rem;
  }

  .projects-list li::before {
    font-size: 0.8rem;
  }

  .projects-list p {
    font-size: 0.9rem;
  }
}