html, body {
  font-family: 'Roboto', sans-serif;
  margin: 0 1rem 0 1rem;
  height: 100%;
  box-sizing: border-box;
}

h1 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  font-weight: bold;
}

.margin-bottom-0 {
  margin-bottom: 0
}

.margin-top-0 {
  margin-top: 0
}

.display-inline-block {
  display: inline-block;
}

.not-used-for-git {
  display: none;
}

/* hacking prism - it's too padded */
pre[class*=language-] {
  padding: 0;
  margin: 0;
}

code[class*=language-] {
  font-size: 0.9em;
  line-height: 1;
}

.links a {
  margin-top: 1rem;
  display: block;
}

/** for sticky footer **/
#container {
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#content {
    flex-grow: 1;
}

footer {
  flex-grow: 0;
  flex-shrink: 0;
  text-align: center;
  margin: 1rem auto;
}

.color-lightgrey, .color-lightgrey a {
  color: lightgray;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* javascript index page - lays out cols of methods - important */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  margin-bottom: 3rem;
}

.grid-container-200 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  margin-bottom: 3rem;
}

.visible-mobile {
  display: none;
}

.margin-bottom-5 {
  margin-bottom: .5rem;
}

.margin-top-3 {
  margin-top: 3rem
}

.margin-top-5 {
  margin-top: .5rem
}

.margin-bottom-1 {
  margin-top: 1rem
}

.margin-top-1 {
  margin-top: 1rem
}

.donation-links {
  font-size: .9rem
}

.black {
  color: #000000;
}

@media screen and (max-width: 576px) {

  html {
    margin: 0;
  }

  .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(130px, 130px));
    grid-row-gap: 14px;
    margin-bottom: 3rem;
  }

  .invisible-mobile {
    display: none;
  }

  .visible-mobile {
    display: block;
  }

  .header {
    flex-direction: column;
  }

  footer.variable-height {
    height: 7rem
  }

  .links a {
    margin-top: 2rem
  }
}
