html, body {
  margin: 0;
  padding: 0;
  background: #24292e;

  font-family: sans-serif;
  color: #e5e5e5;
  line-height: 1.2;

  height: 100%;
}

* {
  box-sizing: border-box;
}

header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 0;
  overflow: visible;
}

.header-container {
  position: relative;
  width: 100%;
  padding: 0.2em;
}

.header-container.error {
  font-weight: bold;
  background: #d64c4f;
}

footer {
  height: 2em;
  padding: 6px;
  text-align: center;

  background: rgba(255,255,255,0.1);
}

footer span {
  vertical-align: middle;
}

.sprite {
  display: none;
}

.container {
  position: relative;
  min-height: 100%;

  /* clear the footer */
  margin-bottom: -2em;

  display: flex;
  flex-direction: column;
}

.container:after {
  content: '';
  display: block;
  /* clear the footer */
  height: 2em;
}

.contents {
  width: 100%;
  margin: auto;
}

a {
  text-decoration: none;
  color: white;
  opacity: 0.85;
  will-change: opacity;
}

a:hover {
  opacity: 1;
}

b {
  font-weight: bold;
  letter-spacing: 0.01rem;
}

.limit {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hide {
  display: none;
}

video {
  display: none;
  width: 100%;
}

.canvas-container {
  position: relative;

  width: 400px;
  height: 400px;
  margin: auto;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  will-change: transform;
}

canvas.video, .hero-color {
  border-radius: 2px 2px 2px 2px;
}

.hero-color {
  position: relative;

  width: 400px;
  min-height: 200px;

  margin: 20px auto 0;
  box-shadow: inset 0 0 0 6px #e5e5e5;

  will-change: background-color;
}

.hero-meta {
  position: absolute;
  box-sizing: border-box;
  top: 0;
  width: 100%;
  padding: 10px;

  color: #24292e;
  background: #e5e5e5;

  border-radius: 20px 20px 0 0;
}

span.icon {
  position: relative;
  display: inline-block;
  height: 1.1rem;
  width: 1.1rem;
}
svg.icon {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;

  fill: #e5e5e5;
}
