html {
  height: 87%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather';
  font-weight: 700;
}

body {
  height: 100%;
  position: relative;
  font-family: 'Source Sans Pro';
  font-weight: 500;
  margin: 0; 
  overflow: hidden
}

.overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #f4f1ed;
  opacity: 0.75;
  z-index: -1;
  background-image: url('../images/pgdaAwf6IJg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.masthead {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.masthead .masthead-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 46, 102, 0.8);
  transform-origin: bottom right;
}

@media (min-width: 768px) {
  .masthead {
    height: 100%;
    width: 54rem;
    padding-bottom: 0;
  }
  .masthead .masthead-bg {
    transform-origin: top right;
  }
  .masthead .masthead-content {
    padding-left: 3rem;
    padding-right: 10rem;
  }
  .masthead .masthead-content h1 {
    font-size: 2.5rem;
  }
  .masthead .masthead-content p {
    font-size: 1.3rem;
  }
}

.social-icons ul > li > a {
  display: block;
  color: white;
  background-color: rgba(0, 46, 102, 0.8);
  border-radius: 10px;
  font-size: 2rem;
  line-height: 4rem;
  height: 4rem;
  width: 4rem;
}

@media (min-width: 768px) {
  .social-icons {
    position: absolute;
    right: 2.5rem;
    bottom: 2rem;
  }
  .social-icons ul {
    margin-top: 0;
  }
  .social-icons ul > li {
    display: block;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  .social-icons ul > li:last-child {
    margin-bottom: 0;
  }
  .social-icons ul > li > a {
    transition: all 0.2s ease-in-out;
    font-size: 2rem;
    line-height: 4rem;
    height: 4rem;
    width: 4rem;
  }
  .social-icons ul > li > a:hover {
    background-color: #002E66;
  }
}

