.projects-section-container {
  padding-top: 2rem;
  width: 100%;
}

.repo-icon {
  height: 5rem;
  width: 6rem;
  padding: 1rem;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 2rem;
  padding: 4rem;
  grid-column: 1 / 3;
}

.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  background-color: whitesmoke;
  border-radius: 1rem;
  padding: 1.5rem 0 2rem 0.5rem;
  margin: 0 2rem;
  border: 2px solid black;
}

#repo-title {
  color: #224b3d;
  font-size: large;
  font-weight: bold;
  word-wrap: break-word;
  max-width: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#title {
  color: white;
  background-color: black;
  border-radius: 0.5em;
  padding: 1rem;
  margin: 0 4rem;
  font-size: 3rem;
  text-align: start;
  grid-column: 1;
  text-align: center;
  box-shadow: -3px 0 30px 0 black;
}

/* For mobile viewing */
@media screen and (max-width: 1024px) {
  .project-container {
    grid-template-columns: 1fr;
    padding: 2rem;
    grid-column: 1;
  }

  .repo-icon {
    height: 4rem;
    width: 5rem;
  }

  .project {
    padding: 0.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  #repo-title {
    font-size: medium;
  }
}
