* {
  box-sizing: border-box;
}

body,html {
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 400;
}

h2 {
  font-size: 1.875rem;
}

header {
  background: #2d3748;
  color: white;
  padding: 0.2rem 1rem;
}

a[title=home] {
  border: 1px solid #4299e1;
  border-radius: 4px;
  padding: 5px 10px;
  color: #4299e1;
  text-decoration: none;
  margin-right: 10px;

  &:hover, &:active, &:focus {
    background: #4299e1;
    color: white;
  }
}

section[title=selection], section[title=notfound] {
  padding: 0 2rem;
  margin: 2rem 0;
}

section[title=specification] {
  position: relative;
}

.specification {
  background: #edf2f7;
  border: 1px solid #CBD5E0;
  color: black;
  border-radius: 4px;
  padding: 1rem;
  display: block;
  text-decoration: none;
  margin-bottom: 1rem;
}

.loading {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #4299e1;
  animation-name: scale-width;
  animation-duration: 1s;
}

@keyframes scale-width {
  from { width: 0; }
  to { width: 100%; }
}

svg.arrow {
  display: inline-block;
  vertical-align: sub;
}