/*
Variables
*/
/*
Globals
*/
html {
  background: #fff;
}
body {
  background: #fff;
  color: #414042;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
}
a,
a:hover,
a:active {
  color: #f29915;
}
a:hover,
a:active {
  text-decoration: underline;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 0.65em;
  color: #151515;
}
.content .h1,
.content .h2,
.content .h3,
.content .h4,
.content .h5,
.content .h6,
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content-big .h1,
.content-big .h2,
.content-big .h3,
.content-big .h4,
.content-big .h5,
.content-big .h6,
.content-big h1,
.content-big h2,
.content-big h3,
.content-big h4,
.content-big h5,
.content-big h6,
.content-double .h1,
.content-double .h2,
.content-double .h3,
.content-double .h4,
.content-double .h5,
.content-double .h6,
.content-double h1,
.content-double h2,
.content-double h3,
.content-double h4,
.content-double h5,
.content-double h6 {
  margin-bottom: 1rem;
}
ul {
  padding-left: 1.25em;
}
.bg-primary {
  background-color: #414042 !important;
}
.bg-faded {
  background-color: #f5f6f7 !important;
}
.container-fluid {
  max-width: 1200px;
  padding-left: 4.85410196625rem;
  padding-right: 4.85410196625rem;
}
@media (max-width: 575px) {
  .container-fluid {
    padding-left: 1.854101966249564rem;
    padding-right: 1.854101966249564rem;
  }
}
.readable {
  max-width: 32em;
}
.btn-warning {
  background-color: #fbb040;
  border-color: #fbb040;
}
.btn-warning:hover,
.btn-warning:active,
.btn-warning:focus,
.btn-warning .btn-warning:not(:disabled):not(.disabled).active,
.btn-warning .btn-warning:not(:disabled):not(.disabled):active,
.btn-warning .show>.btn-warning.dropdown-toggle {
  background-color: #f29915 !important;
}
.header-alert {
  display: block;
  border: none;
  background: #fbb040;
  color: #000 !important;
  transition: opacity 0.2s;
  text-decoration: none !important;
}
.header-alert:hover,
.header-alert:active {
  opacity: 0.8;
}
.header-alert:not(:first-child) {
  border-top: 1px solid #000;
}
.form-control,
.btn,
.dropdown-menu {
  border-radius: 0;
}
.form-control {
  background: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.image-card,
.icon-card {
  border-radius: 0;
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.image-card.scales:hover,
.icon-card.scales:hover {
  transform: scale(1.01);
  -webkit-transform: scale(1.01);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.form-group {
  margin-bottom: 0.5rem;
}
.form-group:not(.has-error) .form-control:focus {
  border-color: #f29915;
}
section,
.section,
article,
.article {
  padding: 3rem 0;
}
.row {
  margin-right: -25px;
  margin-left: -25px;
}
.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
  padding-right: 25px;
  padding-left: 25px;
}
.big {
  font-size: 1.25rem;
}
sub,
sup {
  font-size: 50%;
}
sup {
  top: -1em;
}
sub {
  bottom: -1em;
}
.dev-mode {
  background: #333;
  text-transform: uppercase;
  color: #888;
}
.alert {
  border-radius: 0;
}
/*
Navigation
*/
.navbar-light {
  z-index: 100;
  background: #fff;
  padding-left: 0;
  padding-right: 0;
}
.navbar-light .navbar-brand {
  font-weight: 700;
  color: #414042;
}
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:active {
  color: #f29915;
}
.navbar-light .navbar-brand #logo,
.navbar-light .navbar-brand #logo-alt {
  height: 40px;
}
.navbar-light .navbar-brand img {
  margin-right: 0.5rem;
}
.navbar-light .dropdown-menu {
  top: calc(2.5rem - 2px);
  left: -1px;
  z-index: -1;
  background: #fff;
  min-width: 0;
}
@media (min-width: 576px) {
  .navbar-light .dropdown-menu.dropdown-menu-right {
    left: auto;
    right: -1px;
  }
}
.navbar-light .dropdown-toggle::after {
  margin-left: 0.15em;
}
.navbar-light .dropdown-item:hover {
  color: #f29915;
  background: #fff;
}
.navbar-light .dropdown-item.active,
.navbar-light .dropdown-item:active {
  background: #f29915;
  color: #fff;
}
.navbar-light .navbar-toggler {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0;
}
@media (max-width: 575px) {
  .container {
    width: 100%;
  }
}
.navbar-toggler-right {
  right: 0;
}
.navbar-light .navbar-nav .nav-link {
  color: #414042;
}
.nav-item.dropdown.show {
  background: #fff;
}
@media (min-width: 576px) {
  .nav-item.dropdown.show {
    border: 1px solid rgba(0,0,0,0.15);
    border-bottom: none;
  }
}
.nav-item.dropdown {
  border: 1px solid transparent;
  margin-top: -1px;
}
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.open,
.navbar-light .navbar-nav .open>.nav-link {
  color: #f29915;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: #f29915;
}
#footer-logo {
  height: 1.75em;
}
/*
Contact
*/
#contact {
  position: sticky;
  top: calc(50% - 135px);
}
#form-fields {
  position: relative;
}
#form-fields #thanks {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  background: #fff;
}
#form-fields #thanks>div {
  width: 100%;
  height: 100%;
}
#form-fields #thanks>div p {
  display: none;
}
/*
Home
 */
header.jumbotron {
  padding: 0;
  position: relative;
  z-index: 1;
  background: -moz-linear-gradient(top, #414042 0%, #111 100%);
  background: -webkit-linear-gradient(top, #414042 0%, #111 100%);
  background: linear-gradient(to bottom, #414042 0%, #111 100%);
  box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
}
header.jumbotron .container-fluid,
header.jumbotron .container {
  height: calc(60vh - 56px);
  min-height: 17rem;
  max-height: 22rem;
  z-index: 3;
  padding-bottom: 3rem;
  padding-top: 3rem;
}
header.jumbotron .typed-cursor + span {
  margin-left: -0.12em;
}
header.jumbotron h1,
header.jumbotron p {
  z-index: 10;
}
header.jumbotron h1 {
  position: sticky;
  word-break: break-word;
  max-width: 100%;
}
@media (max-width: 575px) {
  header.jumbotron h1 {
    font-size: 2.5rem;
  }
}
header.jumbotron p {
  color: rgba(255,255,255,0.65);
}
@media (max-width: 575px) {
  header.jumbotron p {
    font-size: 1rem;
  }
}
header.jumbotron .slide,
.image-card .slide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
  opacity: 0.4;
  mix-blend-mode: overlay;
}
#slideshow .container-fluid,
#slideshow .container {
  min-height: 431px;
  max-height: 431px;
}
#slideshow h1 {
  font-size: 3rem;
}
@media (max-width: 575px) {
  #slideshow h1 {
    font-size: 2rem;
  }
}
#slideshow p {
  font-size: 1rem;
}
.typed-cursor {
  opacity: 1;
  -webkit-animation: blink 1s infinite step-start;
  -moz-animation: blink 1s infinite step-start;
  animation: blink 1s infinite step-start;
  top: -0.06em;
  left: -0.05em;
  position: relative;
}
@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*
About
*/
.profile h5,
.profile .h5 {
  margin-bottom: 0;
}
.profile img {
  height: 4rem;
  width: 4rem;
  flex-basis: 4rem;
  flex-shrink: 0;
}
.profile .alt {
  display: none;
}
.profile:hover .alt {
  display: block;
}
.profile:hover .main {
  display: none;
}
/*
Work
*/
.image-card,
.icon-card {
  border: none;
  background: #414042;
}
.image-card a,
.icon-card a {
  z-index: 2;
  text-decoration: none;
  color: #fff;
  border: none;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0;
  height: 12rem;
}
.image-card a h4,
.icon-card a h4 {
  font-weight: 400;
  text-shadow: 2px 2px 5px #414042;
  color: #fff;
}
.image-card a .fa,
.icon-card a .fa {
  font-size: 0.8em;
  background: #fff;
  color: #414042;
  height: 1.5em;
  width: 1.5em;
  border-radius: 1.5em;
  text-align: center;
  line-height: 1.666;
  text-shadow: none;
}
.image-card a .subtitle,
.icon-card a .subtitle {
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.25;
}
.icon-card a {
  height: 8rem;
}
.icon-card .icon {
  font-size: 2rem;
}
/*
Post
*/
.post-content h1:not(:first-child),
.post-content h2:not(:first-child),
.post-content h3:not(:first-child),
.post-content h4:not(:first-child),
.post-content h5:not(:first-child),
.post-content h6:not(:first-child) {
  margin-top: 2em;
}
/*
Contact
*/
#contact-info {
  font-size: 2rem;
}
@-moz-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
