/*
==============================================
STICKY FOOTER & BODY LAYOUT FIX
==============================================
*/

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}


/*
==============================================
FORCEFUL FULLSCREEN VIDEO BACKGROUND FIX
==============================================
*/

/* 1. Set the header's height and prepare it for positioning */
header, .view {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 2. Force the video to cover its container */
.view video.video-intro {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -100;
}

/* 3. Ensure the dark overlay sits on top of the video */
.view .mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}


/*
==============================================
SHRINK NAVBAR ON SCROLL EFFECT
==============================================
*/

/* Makes the navbar transparent when at the top */
.navbar:not(.top-nav-collapse) {
    background: transparent !important;
}

/* Style for the shrunken navbar */
.navbar.navbar-scrolled {
    background-color: #1C2331 !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Shrinks the logo image in the shrunken navbar */
.navbar.navbar-scrolled .navbar-brand img {
    height: 25px;
}

/* Adds a smooth animation to all the changes */
.navbar {
    transition: all 0.3s ease-in-out;
}
.navbar .navbar-brand img {
    transition: height 0.3s ease-in-out;
}