/* Layout */
html {
  height: 100%;
  font-family: 'Source Sans Pro', sans-serif;
}

body {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0;
}

.main {
  height: 100%;
  padding: 0 0 3em 15em;
  position: relative;
  display: table;
}

.center {
  width: 100%;
  display: table-cell;
  vertical-align: middle;
}

/* Links */
a {
  color: #878787;
  font-size: 1.2rem;
  font-weight: 200;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: #2F4F4F;
}

/* Buttons */
button {
  background: none;
  color: #878787;
  border: none;
  outline: none;
  padding: 0 !important;
  font: inherit;
  cursor: pointer;
}

button:hover {
  color: #2F4F4F;
}

/* Typography */
h1 {
  color: #008000; /* classic green */
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0;
  letter-spacing: 0;
}

p {
  font-size: 2rem;
  font-weight: 200;
  margin: 1rem 1rem 0 0;
}

.separator {
  color: #878787;
  vertical-align: 3px;
  font-size: x-small;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0.5em;
  left: 0;
  right: 0;
}

small {
  display: block;
  font-size: 0.6rem;
  padding: 1em 0 0 0;
  text-align: center;
  line-height: 1.3em;
  margin: 0 10em;
  opacity: 0.4;
  border-top: 1px solid #e9e9e9;
  transition: opacity 100ms ease-in-out;
}

small:hover {
  opacity: 0.7;
}

/* Responsive */
@media screen and (max-width: 1050px) {
  h1 {
    font-size: 2em;
  }

  .main {
    padding: 0 0 6em 3em;
  }

  small {
    margin: 0 5em;
  }
}

@media screen and (max-width: 400px) {
  h1 {
    font-size: 2em;
    border: none;
  }

  a {
    font-size: 1.4rem;
    font-weight: 300;
  }

  p {
    font-size: 1.6rem;
  }

  .main {
    padding: 0 0 6em 1em;
  }

  small {
    margin: 0 2em;
  }
}

/* Optional: wider spacing on big screens */
@media (min-width: 1500px) {
  .main {
    padding-left: 18em;
  }
}
