.navbar-brand img {
    max-height: 4rem;
}

.background[class*="-gradient-horizontal"] {
    -webkit-mask-image: -webkit-gradient(linear, right bottom, left bottom, from(rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0.5)));
    mask-image: -webkit-gradient(linear, right bottom, left bottom, from(rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0.5)));
}

.card-hover-gradient .background {
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(#000), to(rgba(0, 0, 0, 0.6)));
    mask-image: -webkit-gradient(linear, left top, left bottom, from(#000), to(rgba(0, 0, 0, 0.6)));
}

.media[class*="-video"]::after {
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    background-color: white;
    color: black;
}

/* Html.Image renders width/height attributes (to reserve space while loading): keep the aspect ratio when CSS sets the width */
.card-img-top {
    height: auto;
}
