html,
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

h1,h2,h3,p {
  max-width: 60vw;
}

p {
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
}

.nav {
  max-width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 10px calc(6vw + 20px);
  flex-wrap: wrap;
}
.nav__logo {
  width: 200px;
  padding: 20px 0;
}
.nav__spacer {
  flex-grow: 999;
  min-width: 30px;
}
.nav__link {
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  color: #000 !important;
  margin: 10px 20px;
  padding: 10px 0;
  border-bottom: 3px solid transparent;
  transition: all ease .25s;
}
.nav__link:hover {
  border-bottom: 3px solid #7A90C2;
}
.nav__link--active {
  border-bottom: 3px solid #4166c1;
}

.main {
  min-height: 70vh;
}
.header {
  display: flex;
  flex-direction: row;
  width: 100vw;
  flex-wrap: wrap;
  padding: 20px 6vw;
  margin-top: 20px;
  margin-bottom: 40px;
}
.header__content {
  flex-grow: 2;
  flex-basis: 60%;
  min-width: 280px;
  padding: 5px 20px 5px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.header__image {
  flex-grow: 1; 
  flex-basis: 40%;
  min-width: 240px;
  object-fit: contain;
  max-width: 90vw;
}
.header__title {
  font-size: 40px;
  line-height: 1.25;
}
.header__body {
  line-height: 1.5;
  margin: 20px 0 40px 0;
}

section {
  padding: 40px 6vw;
}
.section__title {
  font-size: 36px;
  line-height: 1.25;
}
.section__content {
  margin: 5px 20px;
}
.grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100vw;
  margin-bottom: 40px;
}
.grid > div {
  width: calc((100% / 3) - 40px);
  min-width: 280px;
  margin: 20px;
}

.service {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service__icon {
  height: 90px;
  width: 90px;
  object-fit: contain;
  margin-bottom: 10px;
}
.service__name {
  font-size: 24px;
  line-height: 30px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 5px;
}
.service__description {
  margin: 0;
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 24px;
}

div.profile {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2vw;
  min-width: 220px;
}
.profile__photo {
  width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}
.profile__name {
  font-size: 24px;
  line-height: 30px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 0px;
  color: #000 !important;
}
.profile__title {
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  margin: 0;
  margin-top: 0px;
  margin-bottom: 10px;
  color: #7A90C2;
}
.profile__description {
  margin: 0;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  min-height: 90px;
  font-style: italic;
}
.profile__skills {
  margin: 0;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: bold;
}
ul.profile__skills {
  padding-inline-start: 20px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  
}

.footer {
  min-height: 100px;
  background: #12285E;
  min-width: 100vw;
  display: flex;
  padding: 30px 6vw;
  flex-direction: column;
  color: #fff;
}
.footer__row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.footer__column {
  display: flex;
  flex-direction: column;
}
.footer__heading {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px
}
.footer__body {
  font-size: 12px;
  margin: 3px 0;
  font-weight: 300;
  opacity: 0.7;
}
.footer__wordmark {
  width: 180px;
  padding: 10px 0; 
}
button, .button {
  background: #FC4B2A;
  border-radius: 5px;
  font-size: 16px;
  color: #FFFFFF;
  border: none;
  outline: none;
  min-height: 50px;
  max-height: 50px;
  min-width: 160px;
  padding: 5px 20px;
  cursor: pointer;
  max-width: 160px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

button:hover, .button:hover { 
  opacity: 0.9;
}

.highlight {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  background: #7A90C2;
  color: #fff;
}

.highlight--row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 200px;
  background: #7A90C2;
  color: #fff;
}

.highlight__title {
  font-size: 34px;
  margin: 10px 0px;
}


.highlight__body {
  font-size: 18px;
  margin: 20px 0;
}
.highlight__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.highlight__icon {
  height: 40px;
  margin: 30px;
  margin-left: 0;
}

.contact {
  display: flex;
  flex-direction: row;
  padding: 20px 6vw 20px 6vw; 
  margin-bottom: 20px;
  margin-top: -60px;
  justify-content: space-between;
}

.contact__method {
  padding: 20px;
  display: flex;
  flex-direction: row;
  flex-basis: 33.33%;
}
.contact__method img {
  height: 30px;
  margin-right: 20px;
}
.contact__detail {
  font-weight: bold;
  font-size: 20px;
}
.contact__info {
  display: flex;
  flex-direction: column;
}

.form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.form__column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.form__spacer {
  min-width: 60px;
}

input {
  min-height: 40px;
  margin-bottom: 25px;
  border-radius: 5px;
  border: 2px solid transparent;
  background-color: #DDE5F5;
  padding: 5px 10px;
  font-size: 16px;
}
textarea {
  height: 100%;
  margin-bottom: 25px;
  border-radius: 5px;
  border: 1px solid transparent;
  background-color: #DDE5F5;
  padding: 7px 10px;
  font-size: 16px;
}

textarea:focus,
input:focus {
  border: 2px solid #7A8FB9;
  outline: none;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  opacity: 0.4; /* Firefox */
  font-style: italic;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
  opacity: 0.4;
  font-style: italic;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #000;
  opacity: 0.4;
  font-style: italic;
}

/* Style the tab */
.tab {
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
}

/* Style the buttons that are used to open the tab content */
.tablinks {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 4px 0px;
  transition: 0.2s;
  border-bottom: 4px solid transparent;
  font-weight: bold;
  font-size: 26px;
  margin-right: 20px;
}

.tablinks:hover {
  border-bottom: 4px solid rgba(252, 75, 42,0.5); 
}


.tablinks.active {
  border-bottom: 3px solid #FC4B2A; 
}


/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 0px;
  border-top: none;
  margin-top: 20px;
  max-width: 600px;
}
.tabcontent p {
  margin: 10px 0;
}

@media (max-width: 600px) {
  h1, h2, h3, p {
    max-width: 100vw;
  }
  
  div.profile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2vw;
    min-width: 300px;
  }

  .nav {
    padding: 10px;
    justify-content: center;
  }
  .nav__spacer, .nav__logo-link {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  p {
    text-align: left;
    line-height: 1.5;
  }

  .nav__link {
    font-size: 16px;
    margin: 10px;
  } 
}