/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

* {-webkit-box-sizing: border-box;box-sizing: border-box;}

body {
  margin: 0;
  padding: 0;
  font-family: 'Merriweather', sans-serif;
  font-size: 1rem;
  color: #404040;
  line-height: 1.7;
  background: #eaeaea;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
    font-family: 'Lora', serif;
    font-weight: 400;
    margin-top: 0;
}

h1 {
  font-weight: 700;
  font-size: 1.5rem;
}

h2 {
  border-bottom: 1px solid #4F6D7A;
  color: #4F6D7A;
  margin-top: 1em;
}

h3 {
  font-weight: 700;
  margin: 2em 0 0 0;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

label {
  font-weight: bold;
}

input,
textarea {
    margin-bottom: .75em;
    padding: .5em;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #fff;
}

textarea {
    resize: none;
    height: 150px;
}


input:focus,
textarea:focus {
    outline: none !important;
    border: 1px solid #C0D6DF;
}

a:link,
a:visited {
  color: #4F6D7A;
  text-decoration: none;
}

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

@media (min-width: 768px;) {
  h1 {
    font-weight: 2em;
  }
}

/*** buttons ***/
.btn {
  padding: .75em 1.75em;
  font-family: 'Istok Web', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: .75em 0;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: #C0D6DF;
  color: #4F6D7A;
  border-radius: 5px;
  text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus {
  /* background: #F3DE8A; */
  background: #FFE066;
  text-decoration: none;
}

/*** css grid layout ***/
.main-grid,
.footer-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: .10em 1em minmax(0px, 728px) 1em .10em;
  grid-template-columns: .10em minmax(0px, 728px) .10em;
  grid-column-gap: 1em;
}

@media (min-width: 768px) {
  .main-grid {
    -ms-grid-columns: minmax(1em, 1fr) (minmax(150px, 240px))[4] minmax(1em, 1fr);
    grid-template-columns: minmax(1em, 1fr) repeat(4, minmax(150px, 240px)) minmax(1em, 1fr);
  }

  .footer-grid {
    -ms-grid-columns: minmax(1em, 1fr) (minmax(150px, 320px))[3] minmax(1em, 1fr);
    grid-template-columns: minmax(1em, 1fr) repeat(3, minmax(150px, 320px)) minmax(1em, 1fr);
  }
}


/*** header ***/
.header {
  background: #C0D6DF;
}

.header-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  grid-column: 2 / -2;
}

.header-logo {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.logo-img {
  padding: 1em 2em .5em 0;
  border: none;
  width: 220px;
}

.header-logo:link,
.header-logo:visited,
.header-logo:hover,
.header-logo:link {
  color: #4F6D7A;
  text-decoration: none;
}

/*** navigation ***/
.nav {
  position: fixed;
  width: 100%;
  background: #C0D6DF;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100%;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition: -webkit-transform 250ms;
  transition: -webkit-transform 250ms;
  -o-transition: transform 250ms;
  transition: transform 250ms;
  transition: transform 250ms, -webkit-transform 250ms;
}

.navigation-open {
  -webkit-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
          transform: translateX(-100%);
}

.nav-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 1em 0 0;
  height: 100%;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.nav-link:link,
.nav-link:visited {
  color: #4F6D7A;
  text-decoration: none;
  font-family: 'Istok Web', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: #FDFCF8;
}

.close-nav {
  border: 0;
  background: 0;
  color: #4F6D7A;
  font-weight: 700;
  font-size: 3rem;
  cursor: pointer;
  padding: .5em;
  position: absolute;
}

.open-nav {
  border: 0;
  background: 0;
  color: #4F6D7A;
  cursor: pointer;
  padding: .5em;
  margin-left: auto;
  font-size: 1.5em;
}

.current:link,
.current:visited {
  color: #FDFCF8;
  border-bottom: 1px solid #FDFCF8;
  padding-bottom: 5px;
}

@media (min-width: 768px) {
  .open-nav,
  .close-nav {
    display: none;
  }

  .nav {
    position: initial;
    width: auto;
    background: transparent;
  }

  .nav-list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding: 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .nav-item {
    margin-left: 1em;
  }

  .nav-link:link,
  .nav-link:visited {
    font-size: 1rem;
  }

  .header-home .nav {
    background: transparent;
  }
}


/*** hero ***/
.hero,
.hero-section {
  /* background: #4F6D7A; */
  border-top: 1px solid #4F6D7A;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#7F949E), to(#4F6D7A));
  background-image: -o-linear-gradient(#7F949E, #4F6D7A);
  background-image: linear-gradient(#7F949E, #4F6D7A);
  color: #fff;
  padding: 1em 0 0;
}

.hero {
      grid-template-areas:
    ". hero-bio ."
    ". hero-img .";
}

.hero-section {
      grid-template-areas:
    ". hero-header .";
}

.hero-bio {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: hero-bio;
  margin-bottom: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* border: 1px solid yellow; */
}

.hero-img {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  grid-area: hero-img;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* border: 1px solid red; */
}

.hero-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

.hero-header {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: hero-header;
  margin-bottom: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* border: 1px solid yellow; */
}

.hero-title {
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: .9rem;
  }
}

@media  (min-width: 850px) {
  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 1005px) {
  .hero-subtitle {
    font-size: 1.15rem;
  }
}

.hero-btn {
  text-align: center;
  margin: 2.5em;
}

.hero-header h1 {
  font-size: 1.9rem;
  margin-bottom: 0;
  color: rgba(255,255,255, .9);
}

@media (min-width: 768px) {
  .hero {
        grid-template-areas:
      ". hero-bio hero-bio hero-img hero-img ."
  }

  .hero-section {
        grid-template-areas:
      ". hero-header hero-header hero-header hero-header ."
  }

  .hero-img {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }

  .hero-header h1 {
    font-size: 3rem;
  }
  .hero-bio {-ms-grid-row: 1;-ms-grid-column: 2;-ms-grid-column-span: 2
  }
  .hero-img {-ms-grid-row: 1;-ms-grid-column: 4;-ms-grid-column-span: 2
  }

  .hero-header {-ms-grid-row: 1;-ms-grid-column: 2;-ms-grid-column-span: 4
  }
}


/*** section info ***/
.info {
    padding: 3em 0;
}

.col {
    grid-column: 2 / -2;
}

.info-title {
    font-size: 1.5rem;
    color: #000;
    text-align: center;
}

.info-title-link:hover,
.info-title-link:focus {
    text-decoration: none;
}

.form-content {
  grid-column: 2 / -2;
  margin: 0 auto 1.5em;
  /* border: 1px solid red; */
  background: #eaeaea;
  border-radius: 5px;
  width: 100%;
  padding: .75em;
}

.contact-form {
  display: -ms-grid;
  display: grid;
}

.alert {
  color: #4F6D7A;
  font-weight: bold;
  margin-top: 0;
}

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

.g-recaptcha {
  display: inline-block;
}

@media (min-width: 768px) {
    .col {
      -ms-grid-column-span: 1;
      grid-column: span 1;
      padding: 0 .5em;
    }

    .col:first-child {
      -ms-grid-column: 2;
      -ms-grid-column-span: 1;
      grid-column: 2 / span 1;
    }

    .form-content {
      padding: 1em;
    }

    .contact-form {
      -ms-grid-columns: 1fr 1em 1fr;
      grid-template-columns: repeat(2, 1fr);
      grid-auto-flow: dense;
      grid-column-gap: 1em;
    }

    .name-input {
      -ms-grid-column: 1;
      grid-column: 1;
    }

    .email-input {
      -ms-grid-column: 2;
      grid-column: 2;
    }

    .message-textarea {
      -ms-grid-column-span: 2;
      grid-column: span 2;
    }

    .btn-form {
      -ms-grid-column-span: 2;
      grid-column: span 2;
    }
}

.main-content {
  grid-column: 2 / -2;
  /* border: 1px solid red; */
}


/*** qualifications ***/
.resume-anchors {
  list-style: none;
  margin: 1em 0;
  padding: 0;
  text-align: left;
  font-size: 1rem;
  background: #eaeaea;
  border-radius: 5px;
  width: 100%;
  padding: .75em;
}

.resume-block {
  margin-bottom: 3em;
}

.resume-nav-item {
  display: block;
  padding: .30em 0;
}

.resume-nav-link:link,
.resume-nav-link:visited {
  color: #4F6D7A;
  text-decoration: none;
}

.resume-nav-link:hover,
.resume-nav-link:active {
  text-decoration: underline;
}

.resume-list {
  margin-left: 0;
  padding: 0 0 0 1em;
}

.indent {
  margin-left: 1em;
  margin-bottom: .75em;
}

.resume-box {
  margin-bottom: .75em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.resume-logo {
  padding: 1em;
  text-align: center;
}

.resume-logo img {
  height: 40px;
}

@media (min-width: 768px) {
  .resume-nav-item {
    display: inline;
    text-align: left;
    padding: 0 1em 0 0;
  }

  .resume-list {
    margin-left: 0;
    padding: 0 0 0 2em;
  }

  .resume-box {
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  .resume-logo {
    padding: .5em;
  }
}

/*** growth ***/
.growth-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-top: 1em;
}

.growth-link {
  width: 1fr;
  padding: 1em;
  text-align: center;
}

.growth-header {
  margin-top: .5em;
}

@media (min-width: 768px) {
  .growth-box {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  .image-container {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    background: #C0D6DF;
  }

  .growth-image {
    opacity: 1;
    display: block;
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }

  .image-container:hover .growth-image {
    opacity: 0.5;
  }
}

.border {
  border-bottom: 1px solid #d6d6d6;
  width: 85%;
  margin: 2em auto;
}

.image-cover {
    max-height: 225px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 2em;
}

/*** footer ***/
.footer {
  background: #eaeaea;
  padding: 1.5em 0;
      grid-template-areas:
    ". contact ."
    ". main .";
}

.footer-main,
.contact-list {
  grid-column: 2 / -2;
}

.footer-main {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  grid-area: main;
}

.footer-nav-list {
  list-style: none;
  margin: 1em 0;
  padding: 0;
  text-align: center;
  font-size: 1rem;
}

.footer-nav-item {
  display: block;
  padding: .30em 0;
}

.footer-nav-link:link,
.footer-nav-link:visited {
  color: #4F6D7A;
  text-decoration: none;
  font-family: 'Istok Web', sans-serif;
}

.footer-nav-link:hover,
.footer-nav-link:active {
  text-decoration: underline;
}

.footer-fineprint {
  font-family: 'Istok Web', sans-serif;
  margin-top: 3em;
  font-size: .75rem;
  text-align: center;
  color: #a9a9a9;
}

.contact-list {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: contact;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.contact-item {
  display: block;
  padding: .30em 0;
}

.contact-link:link {
  color: #4F6D7A;
  text-decoration: none;
  font-size: .87rem;
}

.contact-link-icon {
  font-size: 1.15rem;
  margin-right: .3em
}

.contact-link:hover {
  color: #777;
}

@media (min-width: 768px) {
  .footer {
        grid-template-areas:
      ". main main contact ."
  }

  .footer-main {
    text-align: left;
  }

  .footer-fineprint {
    margin-top: 1em;
    text-align: left;
  }

  .footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: .9em;
  }

  .footer-nav-item {
    display: inline;
    text-align: left;
    padding: 0 1em 0 0;
  }

  .contact-list {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    text-align: left;
  }

  .contact-item {
    padding: 0;
  }
  .footer-main {-ms-grid-row: 1;-ms-grid-column: 2;-ms-grid-column-span: 2
  }
  .contact-list {-ms-grid-row: 1;-ms-grid-column: 4
  }
}

section {
  background: #fff;
}
