
/* Fade in animation */

@keyframes fadeIn {
  from {filter: blur(8px);}
  to {filter: blur(0px);}
}

.fadeIn {
  animation-name: fadeIn;
  animation-duration: 0.5s;
}

.footer {
  animation-name: fadeIn;
  animation-duration: 1s;
}

/* override default button colour (todo: switch to using SASS) */

.btn-primary, .btn-primary:active, .btn-primary:visited {
}



/* Photo of me */

.headshot {
  max-width: 15rem;
  clip-path: circle();
}

/* Body */

body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 52em;
}

/* Header */

.nav-masthead .nav-link {
  color: rgba(255, 255, 255, .5);
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.active {
  display: block !important;
}

/* Background */

.bgimage {
  color: rgb(255, 255, 255);
  position: relative;
  /* originally url("assets/home.JPG") but lowered res to improve performance*/
  background: url("assets/sm_home.jpg") no-repeat scroll 0px 100% / cover transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  backdrop-filter: blur(3px);
}