html {
  @include default-font;
}

body {
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.6;
  background: $hc-color-bg;
}

h1 {
  font-size: 24px;
  font-size: 2.4rem;
}

a,
button {
  box-sizing: border-box;
  &:focus {
    outline: none;
    box-shadow: $hc-box-shadow-focus;
  }
}

/* Sticky flexbox footer with no fixed height */
html {
  height: 100%;
}
body,
#__nuxt,
#__layout,
#app {
  height: inherit;
}

#app {
  display: flex;
  flex-direction: column;
}

/*
Prevent Chrome, Opera, and Safari from letting these items
shrink to smaller than their content's default minimum size.
*/
.content {
  flex: 1 0 auto;
}
.footer {
  flex-shrink: 0;
}

/* Extend .blue-dark for all links */
a {
  @extend .blue-dark;

  display: inline-block;
  transition: color 0.1s linear;
}

.hidden {
  display: none;
}
