.page {
  margin: calc(50rem / 16) 0;
}

.page > header {
  display: flex;
  flex-direction: row;
  border-bottom: calc(1rem / 16) solid var(--primary-heading);
}

.headerText > h1 {
  color: var(--primary-heading);
  margin: 0 0 calc(8rem / 16) 0;
}

.headerText > p {
  color: var(--text);
  margin: 0 0 calc(22rem / 16) 0;
}

.codey {
  align-self: flex-end;
}

.content {
  margin-top: calc(32rem / 16);
}

.content h2 {
  color: var(--primary-accent);
}

.content strong {
  font-weight: 600;
}

.content details > * {
  padding-left: 1rem;
}

.content details > summary {
  padding-left: 0;
}

.content details ol {
  padding-left: 2rem;
}

@media only screen and (max-width: calc(768rem / 16)) {
  .page > header {
    display: flex;
    flex-direction: column-reverse;
    align-content: center;
    border-bottom: none;
  }

  .headerText {
    margin-top: calc(6rem / 16);
    text-align: center;
  }

  .headerText > h1 {
    color: var(--primary-heading);
    font-size: calc(24rem / 16);
    margin-bottom: (12rem / 16);
  }

  .headerText > p {
    margin: 0;
  }

  .codey {
    align-self: center;
    height: calc(62rem / 16);
  }

  .content h2 {
    font-size: calc(24rem / 16);
  }
}
