main {
  padding: 4rem 2rem;
}

.projects {
  text-align: center;
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.projects p {
  margin-bottom: 4rem;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  width: 20rem;
  height: fit-content;
}
.project-card p,
.project-card h3 {
  color: black;
}

.project-card img {
  width: 100%;
  height: auto;
  border-top-left-radius: 6px;
  border-top-right-radius: 8px;
}

.project-card h3 {
  margin: 0.5rem 0;
}

.project-card p {
  padding: 0 1rem 1rem;
}
