/*! Media  */

section {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover; 
}

section .mbr-background-video,
section .mbr-background-video-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0; 
}

@media (max-width: 767px) {
    .align-left, .align-center, .align-right, .mbr-section-btn, .mbr-section-title {
        text-align: center; 
    } 
}
/*! Full-screen */
.mbr-fullscreen .mbr-overlay {
    min-height: 100vh; 
}
  
.mbr-fullscreen {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    align-items: center;
    -webkit-align-items: center;
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 3rem; 
}

/*! Arrow Down */
.mbr-arrow {
    position: absolute;
    bottom: 45px;
    left: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    background-color: rgba(80, 80, 80, 0.5);
    border-radius: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); 
}
.mbr-arrow > a {
    display: inline-block;
    text-decoration: none;
    outline-style: none;
    -webkit-animation: arrowdown 1.7s ease-in-out infinite;
    animation: arrowdown 1.7s ease-in-out infinite; 
}

.mbr-arrow > a > i {
    position: absolute;
    top: -2px;
    left: 15px;
    font-size: 2rem; 
}
  
@keyframes arrowdown {
    0% {
      transform: translateY(0px);
      -webkit-transform: translateY(0px); 
    }
    50% {
      transform: translateY(-5px);
      -webkit-transform: translateY(-5px); 
    }
    100% {
      transform: translateY(0px);
      -webkit-transform: translateY(0px); 
    } 
}
@-webkit-keyframes arrowdown {
    0% {
      transform: translateY(0px);
      -webkit-transform: translateY(0px); 
    }
    50% {
      transform: translateY(-5px);
      -webkit-transform: translateY(-5px); 
    }
    100% {
      transform: translateY(0px);
      -webkit-transform: translateY(0px); 
    } 
}
@media (max-width: 500px) {
    .mbr-arrow-up {
      left: 50%;
      right: auto;
      transform: translateX(-50%) rotate(180deg);
      -webkit-transform: translateX(-50%) rotate(180deg); 
    } 
}


.mbr-section-title {
    font-style: normal;
    line-height: 1.2;
  }
  .mbr-section-subtitle {
    line-height: 1.3;
  }
  .mbr-text {
    font-style: normal;
    line-height: 1.6;
  }
  .display-1 {
    font-family: 'Rubik', sans-serif;
    font-size: 4.25rem;
  }
  .display-1 > .mbr-iconfont {
    font-size: 6.8rem;
  }
  .display-2 {
    font-family: 'Rubik', sans-serif;
    font-size: 3rem;
  }
  .display-2 > .mbr-iconfont {
    font-size: 4.8rem;
  }
  .display-4 {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
  }
  .display-4 > .mbr-iconfont {
    font-size: 1.6rem;
  }
  .display-5 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
  }
  .display-5 > .mbr-iconfont {
    font-size: 2.4rem;
  }
  .display-7 {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
  }
  .display-7 > .mbr-iconfont {
    font-size: 1.6rem;
  }
  /* ---- Fluid typography for mobile devices ---- */
  /* 1.4 - font scale ratio ( bootstrap == 1.42857 ) */
  /* 100vw - current viewport width */
  /* (48 - 20)  48 == 48rem == 768px, 20 == 20rem == 320px(minimal supported viewport) */
  /* 0.65 - min scale variable, may vary */
  @media (max-width: 768px) {
    .display-1 {
      font-size: 3.4rem;
      font-size: calc( 2.1374999999999997rem + (4.25 - 2.1374999999999997) * ((100vw - 20rem) / (48 - 20)));
      line-height: calc( 1.4 * (2.1374999999999997rem + (4.25 - 2.1374999999999997) * ((100vw - 20rem) / (48 - 20))));
    }
    .display-2 {
      font-size: 2.4rem;
      font-size: calc( 1.7rem + (3 - 1.7) * ((100vw - 20rem) / (48 - 20)));
      line-height: calc( 1.4 * (1.7rem + (3 - 1.7) * ((100vw - 20rem) / (48 - 20))));
    }
    .display-4 {
      font-size: 0.8rem;
      font-size: calc( 1rem + (1 - 1) * ((100vw - 20rem) / (48 - 20)));
      line-height: calc( 1.4 * (1rem + (1 - 1) * ((100vw - 20rem) / (48 - 20))));
    }
    .display-5 {
      font-size: 1.2rem;
      font-size: calc( 1.175rem + (1.5 - 1.175) * ((100vw - 20rem) / (48 - 20)));
      line-height: calc( 1.4 * (1.175rem + (1.5 - 1.175) * ((100vw - 20rem) / (48 - 20))));
    }
  }

  .mbr-overlay {
    background-color: #000;
    bottom: 0;
    left: 0;
    opacity: .5;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
  }