/* ==================
Title Block styles 
================= */

/* .title-row.video-bg, 
#background-video, 
span.page-title-overlay {
min-height: 600px;
height: 100vh;
} */

.title-row.video-bg {
  background-image: none;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
}

#background-video {
  display: block; 
}

#background-video, 
span.page-title-overlay {
  top: 0;
  left: 0;
  width: 100vw;
  height: 110%;
  position: absolute;
  z-index: 0;
}

#background-video {
  -o-object-fit: cover;
  object-fit: cover;
}

span.page-title-overlay {
  background-color: rgba(0,0,0,.5);
}

.inner-container {
  z-index: 2;
  position: relative;
}

.page-title {
  margin: 0 auto;
  text-align: center;
  width: 70%;
}

/* .page-title h1 {
font-size: 5.5rem;
} */

.page-title h1 {
  font-size: 4.5rem;
  margin-top: 6rem;
  text-wrap: balance;
}

.page-title h2 {    
  font-size: 2.5rem;
  font-weight: 400;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}


.title-row a {
  margin-bottom: 30px;
}

/* ==================
Media Queries 
================= */

@media screen and (max-width: 1025px) {
  .page-title h2 {
    width: 75%;
  }
}

@media screen and (max-width: 1000px) {
  .page-title h1 {
    font-size: 5.5rem;
  }
}

@media screen and (max-width: 780px) {
  .page-title {
    width: 90%;
  }
}

@media screen and (max-width: 769px) {
  .title-row.video-bg, 
  #background-video, 
  span.page-title-overlay {
    min-height: 80vh;
  }
  .page-title h2 {
    width: 100%;
  }
}

@media screen and (max-width: 600px) { 

  #background-video, 
  .title-row.video-bg, 
  span.page-title-overlay {
    height: 120%;
  }

  .page-title {
    width: 100%;
    text-align: center;
  }
  .page-title h1 {
    font-size: 3.5rem;
  }
  .page-title h2 {
    font-size: 2.5rem;
  }
}

/* REMOVE THIS CODE BELOW IF WANT TO SHOW THE VIDEO AGAIN IN DESKTOP */
/* @media (min-width: 1024px) {
  .title-row.video-bg {
    display: none !important;
    height: 0vh;
  } */
}