h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
}

#content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#previewImg {
  max-width: 100%;
  margin-bottom: 1rem;

  border: 1px solid var(--text-clr);
  border-radius: 0.5rem;
}

.right {
  padding: 2rem;
}

.right > h3 {
  margin-bottom: 1rem;
}

#description {
  max-width: 70ch;
  line-height: 1.5;

  padding: 2rem;
  border-right: 2px solid var(--text-clr);
}

#description > h2 {
  margin-top: 0;
  font-size: 2rem;
  text-align: start;
}

#description > p {
  margin-top: 0.6rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;

  margin-bottom: 2rem;
}

.links img {
  max-height: 1.6rem;
}

.links .anchorBtn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#stackContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#stackContainer > img {
  max-height: 4rem;
}

.backBtn {
  margin-top: 2rem;
  display: block;
  width: fit-content;
}

/* Fix issue where footer is not at bottom of page if 'Oops something went wrong' is showing' */
body {
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

@media (max-width: 850px) {
  #content {
    grid-template-columns: 1fr;
  }

  #description {
    border-right: 0;
    padding: 0;
  }

  .right {
    padding: 0;
  }

  .links {
    margin: 1rem 0;
  }
}
