.hero {
    position: relative;
    width: 100vw;
    height: fit-content;
    overflow: hidden;
}
.hero h1 {
    font-size: 60px;
}
.hero .background {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}
.hero .content {
    position: relative;
    background: linear-gradient(-90deg,transparent 0%, black 100%);
    height: 50vh;
    width: fit-content;
    min-width: 50%;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}

.banner {
    height: 12rem;
    background: var(--color2);
}
.banner-item {
    height: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color2);
}
.banner-item .icon svg {
    height: 6rem;
    margin-right: 2rem;
}

.wide-section {
    position: relative;
    padding: 4rem initial;
}
.fade-background {
    background: linear-gradient(90deg, transparent 0%, var(--colorB1) 50%);
}
.fade-background.right {
    background: linear-gradient(90deg, var(--colorB1) 50%, transparent 100%);
}

.fade-background .background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    z-index: -1;
}
.fade-background.right .background {
    left: unset;
    right: 0;
}

@media (max-width: 992px) {
    .hero .content {
        padding: 4rem 3rem;
    }
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero .content {
        width: 100%;
        min-height: 50vh;
        height: auto;
        padding: 6rem 1.5rem 3rem;
        background: linear-gradient(-90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.9) 100%);
        align-items: center;
        text-align: center;
    }
    .hero .content .d-flex {
        justify-content: center;
    }
    .hero h1 {
        font-size: 38px;
    }

    .banner {
        height: auto;
    }
    .banner-item {
        height: auto;
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    .banner-item .icon svg {
        height: 4rem;
        margin-right: 0;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    .banner-item h3 {
        font-size: 1.25rem;
    }
    .banner-item p {
        margin-bottom: 0;
        font-size: var(--small-font-size);
    }

    /* Image spans the full width behind the text, so darken it enough to read over */
    .fade-background,
    .fade-background.right {
        background: rgba(34, 34, 34, .9);
    }
    .fade-background .background {
        width: 100%;
    }
}
