.image-background {
    position: relative;
}

.image-background__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-background__image img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-background__image:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.65;
    background-image: linear-gradient(
        to top,
        var(--color-quaternary) 15%,
        transparent 85%
    );
}

.image-background .container {
    position: relative;
    z-index: 2;
}

.image-background__wrapper {
    position: relative;
}

.image-background__content {
    background-color: var(--color-tertiary);
    padding: 59px 30px 61px;
    text-align: left;
}

.image-background__content--white {
    background-color: var(--color-white);
}

.image-background__content--primary {
    background-color: var(--color-primary);
}

.image-background__content--secondary {
    background-color: var(--color-secondary);
}

.image-background__content--tertiary {
    background-color: var(--color-tertiary);
}

.image-background__content--quaternary {
    background-color: var(--color-quaternary);
}

.image-background__description .btn:first-child {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .image-background__content {
        padding: 80px 94px;
    }
}

@media (min-width: 1025px) {
    .image-background__content {
        padding: 85px 116px 75px;
        width: calc(100% - 348px);
        text-align: left;
    }
}

.image-background__content--text-light .h3,
.image-background__content--text-light p,
.image-background__content--text-light ul li,
.image-background__content--text-light ol li {
    color: var(--color-white);
}

.image-background__content .h3 {
    margin: 0 0 25px;
}

@media (min-width: 768px) {
    .image-background__content .h3 {
        margin: 0 0 35px;
    }
}

.image-background__content p {
    margin: 0 0 25px;
}

.image-background__float {
    background-color: var(--color-white);
    font-size: 0;
    position: relative;
    text-align: right;
    width: calc(100% - 76px);
    margin: -30px auto 0;
}

@media (min-width: 768px) {
    .image-background__float {
        width: calc(100% - 188px);
        margin: -110px auto 0;
    }
}

@media (min-width: 1025px) {
    .image-background__float {
        width: 464px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        margin: 0;
    }
}

.image-background__float__inner {
    padding: 46px 30px 0;
    text-align: left;
}

@media (min-width: 768px) {
    .image-background__float__inner {
        padding: 76px 68px 0;
    }
}

.image-background__float .h4 {
    margin: 0 0 18px;
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--color-secondary);
    letter-spacing: 0.05em;
}

.image-background__float .h3 {
    margin: 0;
    color: var(--color-primary);
}

@media (max-width: 767px) {
    .image-background__float .h3 {
        font-size: 22px;
    }
}

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

@media (min-width: 768px) {
    .image-background__float .btn {
        margin: 45px 0 0;
    }
}

.image-button__slider--portfolio .image-button__slider__item {
    min-height: 300px;
}

@media (min-width: 768px) {
    .image-button__slider--portfolio .image-button__slider__item {
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .image-button__slider--portfolio .image-button__slider__item {
        min-height: 500px;
    }
}
