.heading-homepage {
    font-weight: bold;
    font-size: 3rem;
    margin-bottom: 3rem;

    small {
        text-transform: uppercase;
        font-weight: normal;
        font-size: 1em;
    }
    @include media-breakpoint-down(sm) {
        font-size: 2rem;
    }
}

.card--home {
    border-radius: 10px;
    transition: transform 0.5s;

    &:hover {
        transform: scale(1.05);
    }

    .card-img-overlay {
        background: linear-gradient(to top, $primary, transparent);
    }

    &--article .card-img-overlay {
        background: linear-gradient(to top, $warning, transparent);
    }
}

.carousel {
    @include media-breakpoint-down(sm) {
        margin-top: 5rem;
    }
}

.carousel-item {
    max-height: 750px;
    overflow: hidden;

    .carousel-caption {
        bottom: 40%;
        transform: translateY(50%);

        header {
            text-shadow: 0 0 15px white;
            font-size: 4rem;
        }

        @include media-breakpoint-down(md) {
            width: 100%;
            left: 0;
            right: 0;

            header {
                font-size: 1.5rem;
            }
        }
    }
}

.carousel-contents {
    background: linear-gradient(to bottom, $primary, transparent);
    top: 0;
    z-index: 500;
    height: 300px;

    nav {
        margin-top: 3rem;
    }

    img {
        height: 125px;
    }

    .btn {
        font-size: 1.5rem;
    }
}
