.home-image-text {
    position: relative;
}

.home-image-text-image {
    position: relative;
    aspect-ratio: 2 / 2.07;
    margin: 0 32px 45px 0;
}

.home-image-text-image img {
    border-radius: 8px;
}

.home-image-text-image__curve {
    position: absolute;
    right: -32px;
    bottom: -10px;
    width: 116px;
}

.home-image-text-content .sub-heading {
    font-size: 15px;
}

.home-image-text__curve {
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    z-index: -1;
    height: auto;
}


@media(min-width: 768px) {
    .home-image-text-image {
        aspect-ratio: 2 / 1.9;
        margin: 0 63px 54px 0;
    }

    .home-image-text-content .sub-heading {
        font-size: 18px;
        margin: 0;
    }

    .home-image-text-content h2 {
        font-size: 36px;
    }

    .home-image-text-image__curve {
        right: -66px;
        bottom: -20px;
        width: 235px;
    }
}


@media(min-width: 1200px) {
    .home-image-text-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .home-image-text-content {
        width: 50%;
        max-width: 613px;
    }

    .home-image-text-image {
        width: 44%;
        aspect-ratio: 2 / 2.06;
        max-width: 555px;
        margin: 0;
    }

    .home-image-text-content h2 {
        font-size: 48px;
    }

    .home-image-text-content .sub-heading {
        font-size: 20px;
    }

    .home-image-text-image__curve {
        right: -61px;
        width: 217px;
    }
}