html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}

body {
  background: #333 url(/images/background-mobile.jpg) no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  font-family: 'Helvetica', sans-serif;
  font-size: 90%;
  margin: 0;
}

main {
  flex-grow: 1;
  display: flex;
}

header {
  color: #9B1C0B;
  margin: 2rem auto;
  text-align: center;
}

h1 {
  color: #fff;
  font-size: 2.3em;
  font-weight: bold;
  text-transform: lowercase;
  margin: 0;
  max-width: 350px;
}

p {
  font-size: 1.5em;
  margin: 0;
}

footer {
  align-self: flex-end;
  font-size: 1.5em;
  line-height: 2em;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:active,
footer a:hover {
  color: #9B1C0B;
  text-decoration: underline;
}

@media screen and (min-width: 500px) {
    body {
      background-image: url('/images/background.jpg');
    }
    h1 {
      margin-top: 0.7em;
      font-size: 3.2em;
      max-width:100%;
    }
    footer {
      margin-bottom:0;
      font-size: 2em;
    }
}