.hero {
    width: 100%;
    height: 500px;
    position: relative;
}

.hero .container{
    height: 100%;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(49, 66, 75, 0.35);
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: var(--container-padding-block);
}

.hero__content.center-title {
    justify-content: center;
    align-items: center;
}

.hero__content h1 {
    color: #fff;
    max-width: 750px;
    margin: 0;
}


@media (max-width: 992px) {
    .hero {
        height: 540px;
    }

    .hero__content,
    .hero__content.center-title {
        padding: unset;
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .hero__content h1 {
        text-align: center;

    }
}


