:root {
  --h-padding: 48px;
  --v-padding: 16px;
}

body {
  font-family: Rubik, sans-serif;
  margin: 0;
  padding: 0;
}

article.main > header {
  border-bottom: 1px solid #000;
}

article.main > header nav {
  padding: var(--v-padding) var(--h-padding);
}

article.main hr {
  border: 0;
  padding: 0;
  height: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

article.main > section > h2 {
  padding: var(--v-padding) var(--h-padding);
}

article.main > section > section {
  padding: var(--v-padding) var(--h-padding);
}

section.profile {
  margin: 16px 0;
  display: flex;
  flex-direction: row;
  column-gap: 32px;
  row-gap: var(--v-padding);
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
}

section.profile .avatar-image {
  display: inline-block;
  width: 128px;
  height: 128px;
}

section.profile .avatar-image img {
  border-radius: 100%;
  width: 100%;
  height: 100%;
}

section.profile .bio {
  flex-basis: 100%;
}

section.projects {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-direction: row;
}

section.project {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  width: 373px;
  border: 0.375rem solid rgb(117, 116, 112);
  border-width: 1px;
  border-radius: 4px;
}

section.project > .project-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.project > .name {
  display: block;
  margin: 16px 0;
  font-size: 1.25em;
  font-weight: bold;
}

section.project > .description {
  display: block;
  margin: 16px 0;
  font-size: 0.9em;
}

section.project > .project-image {
  width: 100%;
  height: 232px;
  overflow: hidden;
}

section.project > .project-details {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  padding: 24px;
  position: relative;
}

section.project > .project-details > .profile {
  display: flex;
  flex-direction: row;
  column-gap: 0.5em;
  align-items: center;
  margin-top: -6px;
  margin-bottom: 16px;
}

section.project > .project-details > .profile > .avatar-image {
  width: 32px;
  height: 32px;
}
section.project > .project-details > .profile > .avatar-image img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  object-fit: cover;
}

section.project > .project-details > .profile > .name {
  font-weight: bold;
  font-size: 0.85em;
}

section.project > .project-details > .updates-count {
  position: absolute;
  right: 24px;
  top: 24px;
}

section.project > .project-details .scope-status {
  margin-bottom: 16px;
}

section.project > .project-details .scope-status .scope {
  font-weight: bold;
}

section.project > .project-details .scope:after {
  content: "—";
}

section.project > .project-details > .name {
  font-weight: bold;
  font-size: 1.2em;
}

.page-project .project-nav {
  background-color: rgb(255 252 227);
}
.page-project .project-nav span:before {
  margin: 0 0.25em;
  content: " > ";
}

.page-project .project-columns {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;  
  align-items: flex-start;
  gap: var(--h-padding);
}

.page-project .project-columns .updates {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgb(229, 231, 235);
}

section.update .header {
  display: flex;
  margin-bottom: var(--v-padding);
  flex-direction: row;
  column-gap: 16px;
  justify-content: flex-start;
  align-content: center;  
  align-items: center;
}

section.update .header .icon {
  display: inline-block;
  margin-left: -28px;
  width: 24px;
  height: 24px;
  background-color: #fff;
}

section.update .header .date {
  line-height: 24px;
  font-size: 0.9em;
}

section.update .header .date a {
  color: currentColor;
}

section.update .body {
  padding: 24px;
  margin-bottom: var(--v-padding);
  border: 1px solid rgb(221 221 221);
  border-radius: 0.5rem;
  background-color: rgb(247 247 247);
}

section.update .body .image {
  display: block;
  margin-bottom: 16px;
  width: 100%;
}

section.update .body .image img {
  display: block;
  width: 100%;
  height: auto;
}

section.update .body .link {
  display: block;
  margin-bottom: 16px;
  padding: var(--v-padding);
  border: 1px solid rgb(230 230 230);
  border-radius: 0.5rem;
  background-color: rgb(255, 255, 255);
}

section.update .body .link .host:after {
  margin: 0 0.25em;
  content: "—";
}

section.update .body .link a {
  font-weight: bold;
}
