

.smart-scroll{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
.scrolled-down{
   transform:translateY(-100%); transition: all 0.3s ease-in-out;
}
.scrolled-up{
   transform:translateY(0); transition: all 0.3s ease-in-out;
}



/* home */

#jumbotron {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: flex-start;
  text-align: left;
  position: relative;

}
#jumbotron .container { z-index: 2; }
#home-grid video,
#jumbotron video { 
  position: absolute;
  height: auto;
  width: auto;
  min-height: 100%;
  min-width: 100%;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  z-index: 0;
  background: rgb(13, 50, 77);
}
#jumbotron p,
#home-logo { 
  width: 100%;
  height: auto;
  max-width: 80%;
  margin: 0 auto 4rem;
}
#jumbotron p {
  font: 1.33rem/1.3 "Work Sans";
  color: rgb(244,233,205);
}
 
#home-grid  {
  overflow-x: hidden; 
  background: rgb(13, 50, 77);
}



.slate {
  min-height: 350px;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  padding: 2rem;
}
.slate .top {
  position: absolute;
  display: flex;
  flex-direction: column; 
  text-align: center;
  justify-content: center;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
}
.slate .dark {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.25);
  transition: .25s background;
  z-index: 1;
}
.slate:hover .dark {
  background: rgba(0,0,0,.75);
}
.slate h2 {
  font-size: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgb(244, 233, 205);
}
.slate p {
  margin: 10px auto 40px ;
  color: rgb(244, 233, 205);
  transition: .25s opacity;
}
.slate a {
  padding: 20px;
  margin-top: 40px;
  background-color: rgb(244, 233, 205);
  text-transform: uppercase;
  font-family: Druk;
  color: rgb(13, 50, 77);
  font-size: 20px;
  letter-spacing: .5px;
  transition: .5s background, .25s opacity;
  text-decoration: none;
}
.slate a:hover {
  background: #fff;
}
@media (min-width: 768px) {
  .reveal {
    max-height: 0px;
    opacity: 0;
    transition: .5s opacity, .5s max-height;
  }
  .slate:hover .reveal {
    max-height: 100%;
    opacity: 1;
  }
}

