.banner {
    position: relative;
    width: 100%;
    height: 463px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: unset;
    transform: scale(1.5);
    transform-origin: left;
}

.banner img,
.banner .text {
    position: absolute;
}

.building8 {
    bottom: 23%;
    width: 154px;
    height: 257px;
    z-index: 1;
    object-fit: contain;
}

.text {
    bottom: 50%;
    margin-left: 60px;
    font-family: var(--font-family);
    font-size: var(--font-h2-size);
    font-weight: var(--font-h2-weight);
    line-height: var(--font-h2-line-height);
    color: white;
}

@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: unset;
        transform: unset;
    }

    .text {
        bottom: 50%;
        margin-left: 60px;
        font-family: var(--font-family);
        font-size: var(--font-h2-size);
        font-weight: var(--font-h2-weight);
        line-height: var(--font-h2-line-height);
        color: white;
        text-transform: capitalize;
    }
}

@media only screen and (min-width: 1280px) {
    .banner__container {
        max-width: 1440px;
    }

    .banner {
        position: relative;
        width: 100%;
        height: 610px;
        overflow: hidden;
    }

    .banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: unset;
        transform: unset;
        transform-origin: unset;
    }

    .banner img,
    .banner .text {
        position: absolute;
    }

    .building8 {
        bottom: 6%;
        width: 244px;
        height: 375px;
        z-index: 1;
    }

    .text {
        bottom: 35%;
        margin-left: 150px;
        font-family: var(--font-family);
        font-size: var(--font-h1-size);
        font-weight: var(--font-h1-weight);
        line-height: var(--font-h1-line-height);
        color: var(--color-bg-white);
    }

    .footer {
        width: 100%;
        background: var(--color-bg-primary);
        color: #fff;
        padding: 21px 0 48px;
        font-family: var(--font-family);
        margin-top: 0px;
    }
}
