html {
  font: 112.5%/1.45em -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  box-sizing: border-box;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  color: hsla(0, 0%, 0%, 0.8);
  font-weight: normal;
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #1abc9c;
  background-color: transparent;
}

a:hover,
a:active {
  outline-width: 0;
}

h1 {
  margin: 0 0 1.45rem;
  font-size: 2rem;
  line-height: 1.1;
}

p {
  margin: 0 0 1.45rem;
}

.site-shell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100vh;
}

.site-header {
  z-index: 3;
  width: 100%;
}

.home-link {
  position: fixed;
  display: block;
  width: 4rem;
  height: 2rem;
  padding: 1rem 1rem 2rem;
  background: #ffffff;
}

.site-icon {
  display: inline-block;
  width: 4rem;
  height: 1rem;
  overflow: hidden;
  text-indent: -9999px;
  background: url("/algedonic-loop-icon.svg") no-repeat;
  background-size: contain;
}

main {
  display: flex;
  align-items: center;
  width: 100%;
  flex: 1;
}

.home-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

.brand {
  display: inline-block;
  width: 100%;
  max-width: 25rem;
  height: 4rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-indent: -9999px;
  background: url("/algedonic-loop-logo.svg") no-repeat center;
  background-size: contain;
}

.site-footer {
  z-index: 2;
  margin-bottom: 1rem;
  font-size: 0.65rem;
  line-height: 1.3;
  text-align: center;
  opacity: 0.75;
}

.content-page {
  width: 100%;
  max-width: 38rem;
  margin: 20vh auto 4rem;
  padding: 0 1rem;
}

.content-page h1,
.content-page h2,
.content-page h3,
.content-page h4 {
  line-height: 1.1;
}

.not-found {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

::selection {
  color: #ffffff;
  background: #1abc9c;
}

@media only screen and (max-width: 480px) {
  html {
    font-size: 100%;
  }
}
