body,html {
  padding: 0;
  margin: 0;
  background: #F7F7F7;
  font-size: 18px;
  font-family: sans-serif;
}

.banner {
  background-color: #009B8F;
  color: white;
  padding: 1.5em 0.5em;
}

.banner h1 {
  font-weight: normal;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  background: url(favicon.svg) no-repeat left center;
  background-size: contain;
  padding-left: 1.5em;
  box-sizing: border-box;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

main {
  text-align: center;
}

.loading-spinner {
  margin: 2em;
}

.loading-spinner rect {
  animation: loading-anim 0.45s infinite linear;
  animation-direction: alternate;
}

.loading-spinner rect:first-child {
    animation-delay: 0s;
}

.loading-spinner rect:nth-child(2) {
  animation-delay: 0.15s;
}

.loading-spinner rect:last-child {
  animation-delay: 0.3s;
}

@keyframes loading-anim {
  from {
    height: 10px;
    opacity: 0.2;
    y: 10;
  }
  to {
    height: 20px;
    opacity: 1.0;
    y: 5;
  }
}

input[type="text"],
input[type="date"],
select {
  font-family: inherit;
  border: 1px solid #CCC;
  background: white;
  font-size: 0.9em;
  padding: 0.3em;
  border-radius: 0.2em;
}

footer {
  max-width: 800px;
  margin: 0 auto 1em;
  box-sizing: border-box;
  text-align: right;
  font-size: 0.8em;
  padding: 0 0.5em;
  color: #666;
}

footer a {
  transition: color 0.2s ease;
  color: #333;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  color: #009B8F;
}
