/*
  ============================
  = PROJECT LIST
  ============================*/

/* Container for all project items */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual project row */
.project-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
}

/* Album cover image */
.project-item img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Title and description container */
.project-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Project title */
.project-info h2 {
  margin: 0 0 8px 0;
  font-size: 20px;
}

/* Project title link */
.project-info h2 a {
  text-decoration: none;
  color: inherit;
}

.project-info h2 a:hover {
  text-decoration: underline;
}

/* Project description */
.project-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/*individual project - stacks vertically */
.project-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
}

/*image and info side by side */
.project-item-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

/* SoundCloud embed sits full width below */
.project-embed {
  width: 100%;
  margin-top: 4px;
}

/*
  ============================
  = DARK MODE
  ============================*/

html.dark .project-info h2 a {
  color: #e8e8e8;
}