.projects-list {
  display: grid;
  gap: 4rem;
}

.project-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
/*   aspect-ratio: 9 / 6; */
}

.project-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  font-family: var(--uicore-typography--h2-f, "Inter");
  color: #E0D8C6;

  margin-right: 0;
  padding-right: 0;
}

/* project title */
.project-title {
  text-align: right;
  font-size: 1.2rem;
  justify-self: end;
}

.project-title a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  height: 1px;
  background-color: currentColor;
  width: 120%;
}

.project-title a {
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  transform: translateX(-12%);
}

.project-title a:hover {
	color: #777C5E;
}

/* ------------------ */
/* Responsive styles  */
/* ------------------ */
@media (max-width: 1024px) {
  .project-info {
    grid-template-columns: 1fr;
  }

  .project-title {
    justify-self: center;
    text-align: center;
  }

  .project-title a {
    transform: none;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .projects-list {
    gap: 2rem;
  }

  .project-title {
    font-size: 1rem;
  }
}
