*,
:after,
:before {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
  font-weight: 300;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
}
a:focus,
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 300;
}

address {
  font-style: normal;
}

.text-center {
  text-align: center;
}

.container {
  flex: 1;
  max-width: 900px;
  padding-right: 15px;
  padding-left: 15px;
  margin-left: auto;
  margin-right: auto;
}

.row {
  display: flex;
  flex: 1;
  margin-right: -15px;
  margin-left: -15px;
}

.header {
  padding-top: 40px;
  padding-bottom: 40px;
}
.header h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 100;
}

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer .container {
  display: flex;
  justify-content: center;
}

.footer-info {
  display: flex;
  color: #999;
}

.footer-contact {
  align-self: center;
}
.footer-contact p {
  margin-bottom: 0;
}
.footer-contact p:first-child {
  margin-top: 0;
}
.footer-contact p:last-child {
  margin-bottom: 0;
}
.footer-contact p + p {
  margin-top: 6px;
}

.footer-copyright {
  margin-right: 25px;
}
.footer-copyright a {
  display: block;
}
.footer-copyright svg {
  display: block;
  width: auto;
  height: 40px;
}
.footer-copyright p {
  margin-top: 8px;
  margin-bottom: 0;
}

.masthead {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  background-image: radial-gradient(
      0,
      rgba(41, 41, 41, 0.25),
      rgba(41, 41, 41, 0.5)
    ),
    url(masthead.jpg);
  background-size: cover;
  background-position: top;
}

.masthead-credit {
  position: absolute;
  bottom: 10px;
  width: 100%;
  color: hsla(0, 0%, 100%, 0.25);
  text-align: center;
  font-size: 12px;
}
.masthead-credit a {
  color: hsla(0, 0%, 100%, 0.3);
}

.masthead-tagline {
  position: relative;
  flex: 1;
  opacity: 0.95;
  color: #fff;
  font-size: 48px;
  font-weight: 100;
  text-align: center;
}

.masthead-tagline a {
  color: #fff;
}
