@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500');

@font-face {
  font-family: logo;
  src: url(./fonts/blade.woff);
}

::selection {
  background: rgba(31, 140, 235, 0.2);
}

h1, h2, h3, h4, p, a {
 color: #4a4a4a;
 font-family: 'Montserrat';
}

/* nav and header */

.mobile-nav {
  display: none;
}

nav {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  text-align: center;
}

.nav-inner {
  width: 70%;
  display: inline-block;
}

nav .logo:link, nav .logo:hover, nav .logo:active, nav .logo:visited {
  float: left;
  color: #4a4a4a;
  font-family: logo;
  font-size: 50px;
  border-top: 3px solid #48a8ff;
  border-bottom: 3px solid #48a8ff;
  line-height: 109%;
}

nav ul {
  float: right;
  margin-top: 12px;
}

nav li {
  display: inline-block;
  margin-right: 40px;
  text-align: center;
}

nav li.contact-link {
  margin-right: 0px;
}

nav a:link, nav a:hover, nav a:active, nav a:visited {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  transition: color .4s;
}

nav a:hover {
  color: #1f8ceb;
}

nav li.mobile-menu {
  display: none;
  margin-right: 0px;
}

.mobile-menu a:hover, .mobile-menu a:active {
  color: white;
}

.mobile-menu i {
  font-size: 35px;
}

@media only screen and (max-width: 1300px) {
  .nav-inner {
    width: 85%;
  }
}

@media only screen and (max-width: 800px) {
  .nav-inner {
    width: 75%;
  }

  nav li {
    display: none;
  }

  nav li.mobile-menu {
    display: block;
  }
}

@media only screen and (max-width: 420px) {
  nav {
    top: 20px;
  }

  nav .logo:link, nav .logo:hover, nav .logo:active, nav .logo:visited {
    font-size: 40px;
    border-top: 3px solid #48a8ff;
    border-bottom: 3px solid #48a8ff;
    line-height: 110%;
  }
  .mobile-menu i {
    font-size: 28px;
  }
}

@media only screen and (max-height: 600px) {
  nav {
    top: 20px;
  }

  nav .logo:link, nav .logo:hover, nav .logo:active, nav .logo:visited {
    font-size: 40px;
    border-top: 3px solid #48a8ff;
    border-bottom: 3px solid #48a8ff;
    line-height: 110%;
  }
  .mobile-menu i {
    font-size: 28px;
  }
}


.container {
  text-align: center;
  margin-bottom: 40px;
}

.container-me {
  margin-top: 120px;
}

.container-trust {
  margin-top: 120px;
}

.container-trust h2 {
  margin-bottom: 60px;
}

.container-top {
  margin-top: 180px;
  margin-bottom: 120px;
}

.container-location {
  margin-top: 120px;
  margin-bottom: 12vh;
  position: relative;
}

@media only screen and (max-width: 991px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .video {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 800px) {
  .container-top {
    margin-top: 150px;
  }
}

@media only screen and (max-width: 420px) {
  .container-top {
    margin-top: 100px;
  }
}

@media only screen and (max-height: 600px) {
  .container-top {
    margin-top: 100px;
  }
}

h2 {
  font-weight: 200;
  font-size: 36px;
  text-align: center;
}

h2 span {
  color: #1f8ceb;
}

@media only screen and (max-width: 800px) {
  h2 {
    font-size: 30px;
  }
}

hr {
  border: 0;
  border-top: 1px solid #eee;
  width: 60%;
}

img.avatar {
  margin-top: 60px;
  margin-bottom: 20px;
  border-radius: 100%;
}

.img-main {
  cursor: pointer;
}

h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

p.caption {
  font-size: 17px;
  display: block;
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
}

em {
  font-style: italic;
}

.p-spacer {
  margin-right: 50px;
}

p {
  font-size: 22px;
  font-weight: 200;
  text-align: left;
}

p span {
  font-weight: 300;
}

@media only screen and (max-width: 500px) {
  p {
    font-size: 18px;
  }
}

@media only screen and (max-width: 400px) {
  p {
    font-size: 17px;
  }
}

@media only screen and (max-width: 350px) {
  p {
    font-size: 15px;
  }
}

hr.location {
  margin-top: 120px;
  margin-bottom: 120px;
}

@media only screen and (max-height: 700px) {
  .container-top {
    margin-bottom: 80px;
  }

  .container-me {
    margin-top: 80px;
  }

  hr.location {
    margin-top: 80px;
    margin-bottom: 80px;
  }
}

.location-info {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 15px;
  width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 920px) {
  .location-info {
    width: 50%;
  }
}

@media only screen and (max-width: 760px) {
  .location-info {
    width: 70%;
  }
}

@media only screen and (max-width: 550px) {
  .location-info {
    width: 80%;
  }
}

@media only screen and (max-width: 380px) {
  .location-info {
    width: 90%;
  }
}

#map {
  width: 100%;
  height: 600px;
  background-color: grey;
}

.map-container {
  margin-bottom: 7vh;
}

@media only screen and (max-height: 800px) {
  #map {
    height: 450px;
  }
}

@media only screen and (max-height: 600px) {
  #map {
    height: 300px;
  }
}

main.noscroll {
  z-index: 100;
  position: fixed;
  overflow: hidden;
}

#mobile-dropdown {
  display: block;
  z-index: 200;
  overflow: hidden;
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: -100vh;
  background: white;
  transition: top 150ms ease-in-out;
  text-align: center;
}

#mobile-dropdown .logo {
  float: left;
  color: #4a4a4a;
  font-family: logo;
  font-size: 50px;
  border-top: 3px solid #48a8ff;
  border-bottom: 3px solid #48a8ff;
  line-height: 109%;
}

#mobile-dropdown .exit {
  float: right;
  color: #4a4a4a;
  font-size: 45px;
  height: 100%;
}

.dropdown-row {
  padding-top: 40px;
  width: 70%;
  display: inline-block;
  height: 20%;
}

.dropdown-links {
  display: inline-block;
  width: 80%;
  height: 80%;
}

.dropdown-links ul {
  width: 100%;
  height: 80%;
}

.dropdown-links li {
  width: 100%;
  height: 33.3%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-links li:nth-child(2) {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.dropdown-links a {
  color: #1f8ceb;
  font-size: 30px;
  text-decoration: none;
}

@media only screen and (max-width: 1300px) {
  .dropdown-row {
    width: 85%;
  }
}

@media only screen and (max-width: 800px) {
  .dropdown-row {
    width: 75%;
  }
}

@media only screen and (max-width: 420px) {
  .dropdown-row {
    padding-top: 20px;
  }

  #mobile-dropdown .logo {
    font-size: 40px;
    line-height: 110%;
  }
  #mobile-dropdown .exit {
    font-size: 37px;
  }
}

@media only screen and (max-height: 600px) {
  .dropdown-row {
    padding-top: 20px;
  }

  .dropdown-row .logo {
    font-size: 40px;
    line-height: 110%;
  }
  .dropdown-row i {
    font-size: 37px;
  }
}

@media only screen and (max-height: 500px) {
  .dropdown-links ul {
    width: 100%;
    padding-top: 40px;
    height: 90%;
  }

  .dropdown-links a {
    font-size: 24px;
  }
}
