
#hero {
    min-height:300px;
    height: 800px;
    max-height: 800px;
    position:relative;
    z-index: 0;
    font-family: 'Hind Vadodara', sans-serif;
}

#hero .hero-bg {
    position: absolute;
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, .75));
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    max-height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#hero #videoContainer {
    max-height: 800px;
    position: static;
}

/* video should cover entire div but not sacrifice its aspect ratio */
#hero video {
    width:100%;
    height: 100%;
    object-fit: cover;
}

/* on hover, "lift" the button slightly off the page */
#hero .btn {
    transition: transform 0.15s linear, background-color 0.15s ease-in-out;
}

#hero .btn:hover {
    transform: scale(1.05) translateY(-1px);
}

.index-logo {
    position: absolute;
    z-index: 1;
}

.index-tim-logo {
    height: 152px;
    width: 140px;
    top: -100px;
}

.index-dvd-logo {
    width: 100px;
    height:109px;
    right: 20px;
    top: -57px;
}

@media(max-width: 992px) {
    /* shrink text and logos on smaller screens */

    /* bootstrap "display-*" classes are not currently responsive but may be in v4.1 */
    h1.display-1 {
        font-size: 4rem;
    }

    .index-tim-logo {
        height: 76px;
        width: 80px;
        top: -23px;
    }

    .index-dvd-logo {
        width: 80px;
        height:87px;
        top: -34px;
    }
}

@media(max-width: 768px) {
    #hero {
        height: 600px;
    }

    h1.display-1 {
        font-size: 3rem;
    }
}

/* on hover, "lift" the card slightly off the page */
.card-hover {
    transition: transform 0.12s linear;
}

.card-hover:hover {
    transform: translateY(-3px) scale(1.01);
}


/* on hover, sweep the color green over the header of the card. */
/* see https://codepen.io/vulchivijay/pen/KwBGjX */
.sweep-to-right .card-header {
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transition: color .15s;
    transition: color .15s;
    color: black;
}

.sweep-to-right .card-header:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #49a53d;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition: 150ms linear;
    transition: 150ms linear;
}

.sweep-to-right:hover .card-header:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    color: white;
}

.sweep-to-right:hover .card-header {
    color: white;
}

/* remove borders from containers */
.container.feeds {
    border: 0;
}

/* replace background image with a flat color */
.background-images {
    background: #F5F5F5;
}