@import url('https://fonts.googleapis.com/css?family=Dosis:400,700&display=swap');

body {
  overflow-x: hidden;
  font-family: 'Dosis', sans-serif;
  color: #505962;
}

header {
  --text: #ffffff;
  --text-highlight: #505962;
  --background: transparent;
}

.offset:before {
  display: block;
  content: "";
  height: 4rem;
  margin-top: -2rem;
}

/* Navigation */
.navbar {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .2rem;
  background: var(--background);
}

.navbar-nav li {
  padding-right: 1rem;
}

.navbar-dark .navbar-nav .nav-link {
  padding-top: .8rem;
  color: var(--text);
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--text-highlight);
}

.nav-scrolled {
  --text: #163e7a;
  --background: #ffffff;
  --text-highlight: #94b0da;
}

/* Landing Page*/
.landing {
  background-color: rgba(0, 0, 0, 0.75);
}

.home-inner {
  background-image: url(img/alpsbike.jpg);
  z-index: -1;
}

.caption {
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 40%;
  z-index: 1;
  color: white;
  text-transform: uppercase;
}

.caption h1 {
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: .3rem;
  text-shadow: .1rem .1rem .8rem black;
  padding-bottom: 1rem;
}

.caption h3 {
  font-size: 2rem;
  text-shadow: .1rem .1rem .5rem black;
  padding-bottom: 1.6rem;
}

.caption h4 {
  font-size: 2rem;
  text-shadow: .1rem .1rem .5rem black;
  margin-top: 15rem;
  padding-bottom: 1.6rem;
}

/* About Me*/
#aboutme img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 50%;
}

.aboutmecaption {
  max-width: 100%;
  margin-top: 1rem;
  margin-bottom: 3rem;
  color: #163e7a;
  padding-left: 5rem;
  padding-right: 5rem;
}

.aboutmecaption h1 {
  margin-top: 5rem;
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: .3rem;
  padding-bottom: 1rem;
}

.aboutmecaption h3 {
  font-size: 1.5rem;
  padding-bottom: 1.6rem;
  font-style: italic;
}

/* Passions Section*/
#passions:before {
  height: 2rem;
}

.wraprow {
  max-width: 1920px;
  display: inline-block;
}

.jumbotron {
  margin-bottom: 0;
  padding: 2rem 0 3.5rem 0;
  border-radius: 0;
  background-color: #163e7a;
  color: white;
}

h3.heading {
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.9rem;
}

.heading-underline {
  width: 3rem;
  height: .2rem;
  background-color: white;
  margin: 0 auto 2rem;
}

.box {
  padding: 2rem 2rem 2rem 2rem;
  border: .05rem solid #94b0da;
  height: 100%;
}

.box i {
  margin-bottom: 1.5rem;
}

.box svg.svg-inline--fa {
  color: white;
}

.box h3 {
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  font-style: bold;
}

.box p {
  font-size: 1.1rem;
  text-align: justify;
}

/* Contacts Section*/
#contact strong {
  font-size: 2rem;
  padding-right: 1rem;
}

footer {
  background-color: #40474e;
  color: white;
}

footer a {
  color: white;
}

footer a:hover {
  color: white;
}

.socialmedia {
  font-size: 2rem;
  margin: .5rem .5rem 0 0;
  color: white;
}

.socialmedia:hover {
  color: #94b0da !important;
}

.mailto-wrapper {
  position: relative;
}

.mailto-message {
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  position: absolute;
  display: none;
  width: auto;
  white-space: nowrap;
  font-size: 1rem;
  background-color: grey;
  color: white;
  padding: 2px 6px;
  border-radius: 2px;

  &:after {
    content: '';
  }
}

.mailto-wrapper:hover .mailto-message {
  display: block;
}

/* Media Queries */
@media (max-width: 767px) {
  .caption h1 {
    font-size: 2.3rem;
    letter-spacing: .15rem;
    padding-bottom: .5rem;
  }

  .caption h3 {
    font-size: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .caption h4 {
    margin-top: 10rem;
  }

  .btn-lg {
    padding: .5rem 1rem;
    font-size: 1rem;
  }

  .narrow h1 {
    font-size: 1.5rem;
  }

  .clients img {
    max-width: 50%;
    display: block;
    margin: 0 auto;
  }

  .nav-scrolled {
    --text: #000000;
    --text-highlight: #163e7a;
    --background: transparent;
  }

  .navbar-collapse {
    background: rgba(0, 0, 0, 0.5);
    padding: .5rem 1rem;
    margin-top: .5rem;
    border: .05rem solid grey;
  }

  .navbar-dark .navbar-nav .nav-link {
    color: white;
  }

  .navbar-dark .navbar-nav .nav-link.active,
  .navbar-dark .navbar-nav .nav-link:hover {
    color: white;
  }
}