.grid-container {
  display: grid;
  grid-template-columns: 1fr;
}

.backer-container {
  display: grid;
  grid-template-areas: 
    'header header'
    'main main';
}

.grid-item {
  display: grid;            /* new */
}

.grid-header { grid-area: header; }
.grid-col { grid-template-columns: 1fr 1fr; }

.grid-item__centered {
  align-items: center;      /* new */
  justify-items: center; 
}


/* generic styles ----------------------------------- */
body {
  color: #081223;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  max-width: 100%;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

.dark-navy-bg {
  background: url(../images/bg-img.jpg) 50% 50% / cover no-repeat #050C17;
}

h1 {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.1em;
  margin-bottom: .5em;
}

h3 {
  font-size: 1.25em;
  line-height: 1.25em;
  margin-bottom: 1em;
}

p {
  margin-bottom: 1em;
}

.info-link {
  text-decoration: none;
  color: #ff9900;
}

.pad-percent-1 {
  padding: 5%;
}

.pad-percent-2 {
  padding: 10%;
}

.input-wrapper {
  border: 2px solid #081223;
  border-radius: 2px;
  display: block;
  height: 56px;
}

.text-input {
  border: none;
  display: inline;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1em;
  line-height: 1;
  height: 52px;
  margin: 0;
  padding: 0 2%;
  opacity: .5;
  width: 70%;
}

.text-input:focus {
  outline: none;
  opacity: 1;
}

.btn-input {
  background: #D9CB77;
  border: none;
  color: #081223;
  float: right;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1em;
  font-weight: 700;
  display: inline;
  line-height: 1;
  height: 52px;
  margin: 0;
  text-align: center;
  width: 30%;

}

.text-white {
  color: #fff;
}

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

hr {
  border-top: 1px solid #D6D8DD;
}

@media (min-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr 1fr;
    height: 100vh;
  }
  .backer-container {
    display: grid;
    grid-template-areas: 
      'header header header header'
      'main main main main';
  }
  .grid-col { grid-template-columns: 1fr 1fr 1fr 1fr; }

  h1 {
    font-size: 4em;
  }

  h3 {
    font-size: 1.5em;
  }
}

@media (min-width: 300px) and (max-width: 599px) {
  .height-50 {
    height: 50vh;
  }
}

