.projects {
  width: 100%;
  height: 100%;
  padding: 10em 0;
}

.projects .row {
  width: 100%;
  height: 600px;
  padding: 1.5em;
  display: flex;
  justify-content: flex-start;
}

.projects .row:nth-child(even) {
  justify-content: flex-end;
}

.project-item {
  position: relative;
  width: 30%;
  height: 100%;
  transition-duration: 300ms;
}

.project-item:hover {
  transition-duration: 150ms;
}

.project-img {
  width: 100%;
  height: 100%;
  border-radius: 0.5em;
  overflow: hidden;
}

.project-details {
  display: flex;
  justify-content: space-between;
  padding: 0.75em 0.5em;
}

.project-details p#project-name {
  font-weight: 500;
}

.project-details p {
  font-size: 16px;
}

@media (max-width: 900px) {
  .projects {
    padding: 15em 0;
  }

  .project-item {
    width: 100%;
  }

  .row {
    margin: 4em 0;
  }
}
