@font-face {
  font-family: Roboto;
  src: url("../extras/Roboto-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: Lato;
  src: url("../extras/Lato-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: Lato;
  src: url("../extras/Lato-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal; }

body {
  font-family: Roboto;
  color: grey; }

h1, h2, h3, h4, h5, h6 {
  font-family: Lato;
  font-weight: bold; }

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent; }
  a .fas, a .far {
    display: block;
    margin-bottom: 5px; }

#headWrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 10;
  border-bottom: solid 3px #6b8dba; }

header {
  position: relative;
  color: #6b8dba;
  height: 7em;
  width: 90%;
  max-width: 63em;
  margin: 0 auto; }
  header img {
    height: 100%; }
  header nav {
    position: absolute;
    right: 0;
    bottom: 0; }
    header nav ul {
      list-style: none; }

#wrapper {
  padding-top: 7em; }

#wrapper a[id] {
  position: relative;
  top: -7em; }

#wrapper .purple {
  background-color: #b96ab9;
  color: white; }

#wrapper .green {
  background-color: #6ab96a;
  color: white; }

#wrapper .blue {
  background-color: #6b8dba;
  color: white; }

#wrapper .paleBlue {
  background-color: #afeeee; }

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 5% 1em 5%; }

.badges img {
  height: 4em;
  margin-bottom: 0.5em; }

section > div {
  width: 90%;
  margin: 0 auto;
  padding: 1em 0; }

#photoFrame {
  position: relative;
  margin: 5% auto; }

#photoFrame .photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1; }

#photoFrame .hidden {
  visibility: hidden; }

#photoFrame h1 {
  position: absolute;
  margin: 0;
  padding: 0.1em 0.5em; }

#photoFrame h1 > div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.55);
  transform: skewX(-25deg); }

#photoFrame h1 > span {
  position: relative;
  left: -0.5em;
  z-index: 1; }

#photoFrame h1:first-of-type {
  font-style: oblique;
  text-shadow: -2px 2px #000;
  left: -0.5em;
  top: 0.5em;
  color: #6b8dba; }

#photoFrame h1:last-of-type {
  background-color: #6b8dba;
  color: #FFF;
  right: -0.5em;
  bottom: 0.5em;
  border-radius: 5px; }

#externalLinks ul li {
  margin-bottom: 0.5em; }

#externalLinks ul li img {
  height: 3em;
  vertical-align: middle; }

#contactList {
  list-style: none;
  padding: 0; }

#contactList li {
  font-size: 1em;
  padding-bottom: 1em; }

#contactList li i {
  vertical-align: middle; }

q {
  display: block;
  margin-top: 1em; }

@media (min-width: 750px) {
  .mobile {
    display: none; }
  header nav ul {
    margin: 0; }
    header nav ul li {
      display: inline-block;
      margin: 0 0.5em;
      text-align: center;
      font-size: 0.8em; }
      header nav ul li a {
        display: block;
        padding: 0.5em 1em;
        border-radius: 5px 5px 0 0; }
      header nav ul li a:hover, header nav ul li a.current {
        background-color: #6b8dba;
        color: white; }
  section > div {
    max-width: 63em; }
  #photoFrame {
    height: 25em; }
  #photoFrame h1 {
    font-size: 3em; } }

@media (max-width: 750px) {
  .desktop {
    display: none; }
  header .mobile {
    position: absolute;
    right: 1em;
    bottom: 1em; }
  header nav ul {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 7em 0 0 0;
    z-index: 5;
    background-color: #6b8dba;
    color: white;
    visibility: hidden; }
    header nav ul li {
      width: 50%;
      height: 30%;
      text-align: center;
      float: left;
      opacity: 0;
      transition: opacity 0.5s; }
      header nav ul li a {
        display: block;
        position: relative;
        top: 20%; }
    header nav ul li:nth-child(1) {
      transition-delay: 0.1s; }
    header nav ul li:nth-child(2) {
      transition-delay: 0.2s; }
    header nav ul li:nth-child(3) {
      transition-delay: 0.3s; }
    header nav ul li:nth-child(4) {
      transition-delay: 0.4s; }
    header nav ul li:nth-child(5) {
      transition-delay: 0.5s; }
  header nav .active {
    visibility: visible !important; }
    header nav .active li {
      opacity: 1 !important; }
  #photoFrame {
    height: 13em; }
  #photoFrame h1 {
    font-size: 1.5em; }
  footer {
    padding-top: 3em; } }

/*@media (max-width: 750px) and (orientation:landscape) {
  header nav ul li {
    height: 50%;
  }
}
*/
