.project-box {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;

  &:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }
}

.project-image {
  flex: 0 0 250px; /* Fixed width for image container */
  height: 200px;
  display: flex;
  align-items: center;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
  }
}

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem;
}

.link-icon {
  display: inline-block;
  width: 25px;
  height: 25px;
  fill: #9b9ba6;

  &:hover {
    fill: #000000;
  }
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;

  h3 {
    margin: 0 1rem 0 0;
    font-family: sans-serif;
    font-size: 1.6rem;
  }

  ul {
    display: flex;
    padding: 0;
    list-style: none;

    li {
      margin-right: 0.5rem;
    }
  }
}

.tech-stack {
  font-size: 1rem;
  font-family: sans-serif;
}

@media (max-width: 768px) {
  .project-box {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-image {
    flex: 1;
    width: 100%;
    height: 200px;

    img {
      border-radius: 10px 10px 0 0;
    }
  }

  .project-content {
    gap: 0.5rem;
    margin-top: 0.2rem;
  }
}
