
/* Overlay fix */
.video-overlay.header-text{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
}

/* Wrapper */
.hero-caption-wrapper{
  position:relative;
  min-height:320px;
}

/* Base caption */
.hero-caption{
  position:absolute;
  top:0;
  left:0;
  width:100%;

  opacity:0;
  transform:translateX(40px);
  transition:all 0.9s ease;

  text-align:left;
  color:#fff;
}

/* Active caption */
.hero-caption.active{
  opacity:1;
  transform:translateX(0);
  position:relative;
}

/* Typography */
.hero-caption h6{
  font-size:16px;
  margin-bottom:10px;
  letter-spacing:1px;
}

.hero-caption h2{
  font-size:52px;
  line-height:1.2;
  margin-bottom:20px;
}

.hero-caption p{
  font-size:16px;
  max-width:750px;
  line-height:1.8;
  margin-bottom:25px;

  color:#f1f1f1;
  text-shadow:0 2px 6px rgba(0,0,0,0.4);
}

/* Button */
.main-button-red a{
  display:inline-block;
  background:#a12c2f;
  color:#fff;
  padding:12px 28px;
  border-radius:30px;
  text-decoration:none;
  transition:0.3s;
}

.main-button-red a:hover{
  background:#7d1f22;
}

/* Tablet */
@media (max-width:991px){
  .hero-caption h2{
    font-size:38px;
  }
}

/* Mobile */
@media (max-width:768px){

  .hero-caption-wrapper{
    min-height:420px;
    padding:20px;
  }

  .hero-caption h6{
    font-size:14px;
  }

  .hero-caption h2{
    font-size:24px;
  }

  .hero-caption p{
    font-size:14px;
  }
}

/* Small mobile */
@media (max-width:480px){
  .hero-caption h2{
    font-size:20px;
  }
}
