#projects-container {
  background: url("../assets/images/projects-background.svg");
  background-repeat: no-repeat;
  background-position: top;
  height: fit-content;
}

#projects {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 50px;
  margin-top: 200px;
  width: 900px;
}

#projects-grid {
  box-sizing: border-box;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  width: 100%;
}

#projects-grid > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  width: 100%;
}

.project-card {
  align-items: center;
  background-color: #2a2a2a;
  border-radius: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  width: 100%;
}

.project-card > img {
  border-radius: 15px;
  vertical-align: middle;
  width: 100%;
}

.project-card > h3 {
  font-size: 2rem;
  margin-top: 30px; 
  margin-bottom: 0;
}

.project-card > p {
  color: #CFD5DB;
  font-size: 1rem;
  margin: 15px 0;
}

@media (max-width: 600px) {
  #projects-grid {
    flex-direction: column;
  }
}