.image-background {
    position: relative;
}

.image-background__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-background__bg:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom, var(--color-secondary) 50%, transparent);
}

@media (min-width: 1025px) {
    .image-background__bg {
        display: block;
    }

    .image-background__bg:before {
        display: none;
    }
}

.image-background__bg img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    object-position: center;
    margin-top: auto
}

@media (min-width: 1025px) {
    .image-background__bg img {
        height: 100%;
        margin-top: auto;
    }
}

.image-background .image-background__container {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 120px;
}

@media (min-width: 768px) {
    .image-background .image-background__container {
        padding-top: 120px;
    }
}

@media (min-width: 1025px) {
    .image-background .image-background__container {
        padding-top: 170px;
        padding-bottom: 170px;
    }
}

.image-background__wrapper {
    width: 100%;
    padding: 30px 40px;
    border-radius: 50px;
    background-color: var(--color-white);
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.16);
}

@media (min-width: 768px) {
    .image-background__wrapper{
        max-width: 780px;
        padding: 76px 116px;
    }
}

.image-background__wrapper p {
    margin: 0;
}

.image-background__wrapper h2,
.image-background__wrapper h3 {
    margin: 0 0 25px;
}

.image-background__wrapper .btn-tertiary {
    margin: 30px 0 0;
}