.page {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--ds-size-10);
  margin-top: var(--ds-size-8);
  margin-bottom: var(--page-spacing-bottom);
}

.left {
  flex-basis: 220px;
  flex-grow: 1;
}

.right {
  flex-basis: 600px;
  flex-grow: 500;
  max-width: 100%;
}

.header {
  grid-area: header;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--ds-size-6);
  padding: var(--ds-size-10);
  width: 100%;
  border-radius: var(--ds-border-radius-lg);
  background-color: var(--ds-color-neutral-background-tinted);
}

.headerText {
  color: inherit;
  padding-right: 290px;
}

.date {
  margin-top: var(--ds-size-3);
}

.iconContainer {
  position: absolute;
  right: 0;
  margin-right: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  width: 190px;
  border-radius: var(--ds-border-radius-lg);
  border: 7px solid #8f9296;
  transform: rotate(45deg);
}

.iconContainer.red {
  border-color: var(--ds-color-brand1-surface-hover);
}

.iconContainer.blue {
  border-color: var(--ds-color-brand3-surface-hover);
}

.iconContainer.yellow {
  border-color: var(--ds-color-brand2-surface-hover);
}

.iconContainer svg {
  color: var(--ds-color-neutral-base-default);
  position: relative;
  z-index: 54;
  opacity: 0.7;
  font-size: 4.1rem;
  transform: rotate(-45deg) scale(1.6);
}

.iconContainer.red svg {
  color: var(--ds-color-brand1-border-subtle);
}

.iconContainer.blue svg {
  color: var(--ds-color-brand3-border-subtle);
}

.iconContainer.yellow svg {
  color: var(--ds-color-brand2-border-subtle);
}

.content {
  padding: var(--ds-size-4) var(--ds-size-10) 0 var(--ds-size-10);
  height: fit-content;
  max-width: 65ch;
  grid-area: content;
}

.githubLink {
  display: inline-block;
  margin-top: var(--ds-size-12);
}

.tableOfContents {
  grid-area: aside;
  align-self: start;
}

@media (max-width: 1200px) {
  .header {
    padding: 32px;
  }
  .tableOfContents {
    display: none;
  }

  .iconContainer {
    height: 120px;
    width: 120px;
    border-width: 5px;
    margin-right: 60px;
  }

  .iconContainer svg {
    font-size: 3rem;
  }

  .headerText {
    padding-right: 190px;
  }
}

@media (max-width: 576px) {
  .content {
    padding: 0;
  }

  .header {
    padding: 135px 24px 24px;
  }

  .iconContainer {
    position: absolute;
    top: 37px;
    left: 37px;
    height: 70px;
    width: 70px;
    border-width: 4px;
  }

  .iconContainer svg {
    font-size: 2rem;
  }

  .headerText {
    padding-right: 0;
  }
}
