.image-buttons {
    position: relative;
}

.image-buttons .row {
    justify-content: center;
}

.image-buttons--homepage {
    margin: 80px 0 50px 0;
}

.image-buttons__heading {
    padding-top: 80px;
    padding-bottom: 18px;
}

.image-buttons__heading h2 {
    padding-bottom: 0;
}

.image-button-item {
    margin-top: 12px;
}

.image-button-item p {
    color: #fff;
}

.image-button__details--content {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.image-button__details--content::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: rgba(67,101,119,.26);
}

.image-button__details--content::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
    border-radius: 10px;
}

.image-button__details--content::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-radius: 10px;
}

.image-button {
    position: relative;
    z-index: 1;
    height: 56px;
    display: flex;
    overflow: hidden;
    border-radius: 28px;
    background: none;
}

.image-button__img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.image-button__hover {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    bottom: 0;
    left: 0;
    background-color: rgba(17,17,18,0.7);
    padding: 0 22px;
    gap: 15px;
}

.image-button__hover i {
    color: #fff;
    font-size: 37px;
    line-height: 1em;
}

.image-button__hover h3 {
    color: #fff;
    font-size: 21px;
    padding: 0;
    margin: 0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    max-width: 235px;
}

.image-button__hover::after {
    content: '\e90a';
    font-family: 'icomoon';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 36px;
    color: #31F4C5;
}

.image-button-line-left {
	position: absolute;
	left: 8px;
	top: 0;
}

.image-button-line-left img {
    max-width: 100%;
    width: 100%;
    height: 110px;
    object-fit: contain;
}

.image-button-line-right {
	position: absolute;
	right: 8px;
	bottom: 0;
}

.image-button-line-right img {
	max-width: 130px;
}

.image-button-btn {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .image-buttons--homepage {
        margin: 105px 0 50px 0;
    }
    
    .image-buttons__heading {
        padding-top: 60px;
        padding-bottom: 10px;
    }
    
    .image-button-item {
        margin-top: 32px;
    }

    .image-button {
        height: 200px;
        border-radius: 25px;
    }

    .image-button__hover i {
        font-size: 36px;
    }

    .image-button__hover {
        height: 56px;
        background: linear-gradient(to bottom,  rgba(39,39,47,0) 0%,rgba(39,39,47,0.7) 100%);
        padding: 0 15px;
    }

    .image-button-line-left {
        left: 22px;
    }

    .image-button__hover h3.two-line {
        margin-bottom: 28px;
    }
}

@media (min-width: 1200px) {
    .image-buttons--homepage {
        margin: 150px 0 35px 0;
    }
    
    .image-buttons__heading {
        padding-top: 40px;
        padding-bottom: 18px;
    }

    .image-button__details,
    .image-button__cta {
        opacity: 0;
        position: absolute;
        z-index: 2;
    }

    .image-button__cta {
        right: 62px;
        background: none;
        color: #31F4C5;
        border: none;
        font-weight: 900;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        font-size: 16px;
    }

    .image-button__details {
        padding: 30px 25px 0 25px;
        transition: all 0.3s ease-in-out;
    }

    .image-button__details h3 {
        color: #fff;
        font-size: 26px;
        text-transform: uppercase;
        padding-bottom: 10px;
        padding-left: 0;
    }

    .image-button__details ul {
        margin: 0;
        padding: 0;
        color: #fff;
        font-size: 16px;
    }

    .image-button__details ul li {
        font-weight: 500;
        padding-left: 37px;
    }

    .image-button__details ul li::before {
        left: 19px;
        top: 11px;
        width: 6px;
        height: 6px;
    }

    .image-button__details ul li::after {
        content: '';
        position: absolute;
        left: 0px;
        top: 13px;
        width: 23px;
        height: 2px;
        background: #0AF6BD;
        border-radius: 0;
    }

    .image-button {
        height: 360px;
    }

    .image-button .image-button__hover::before {
        height: 360px;
    }

    .image-button--sm {
        height: 330px;
    }

    .image-button--lg {
        height: 466px;
    }

    .image-button--md {
        height: 395px;
    }

    .image-button--xxs {
        height: 250px;
    }

    .image-buttons__top-flex {
        align-items: flex-end;
    }

    .image-button__hover {
        height: 56px;
        background: none;
        padding: 0 12px;
        z-index: 1;
    }

    .image-button__hover::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
        left: 0;
        z-index: -1;
        background: linear-gradient(to bottom,  rgba(39,39,47,0) 0%,rgba(39,39,47,0.7) 100%);
    }

    .image-buttons__bottom-flex .image-button__hover::before {
        display: none;
    }

    .image-button--sm .image-button__hover::before {
        height: 186px;
    }

    .image-button--lg .image-button__hover::before {
        height: 322px;
    }

    .image-button--md .image-button__hover::before {
        height: 251px;
    }

    .image-button--xxs .image-button__hover::before {
        height: 106px;
    }

    .image-buttons__bottom-flex .image-button__hover {
        top: 0;
    }

    .image-buttons__bottom-flex .image-button:hover .image-button__hover {
        top: unset;
    }

    .image-buttons__bottom-flex .image-button:hover .image-button__details {
        bottom: unset;
        padding: 30px 25px 0 25px;
    }

    .image-buttons__bottom-flex .image-button__hover::before {
        transition: all 0.3s ease-in-out;
        top: 0;
        background: linear-gradient(to bottom,  rgba(39,39,47,0.8) 0%,rgba(39,39,47,0.8) 100%);
    }

    .image-button:hover .image-button__details,
    .image-button:hover .image-button__cta {
        opacity: 1;
    }

    .image-button:hover .image-button__hover h3 {
        transition: all 0.3s ease-in-out;
        opacity: 0;
    }

    .image-button:hover .image-button__hover h3.two-line {
        margin-bottom: 0;
    }

    .image-button--sm:hover .image-button__hover::before {
        height: 330px;
    }

    .image-button--lg:hover .image-button__hover::before {
        height: 466px;
    }

    .image-button--md:hover .image-button__hover::before {
        height: 395px;
    }

    .image-button--xxs:hover .image-button__hover::before {
        height: 250px;
    }

    .image-buttons__bottom-flex .image-button__details {
        padding: 0 30px 10px 25px;
        bottom: 0;
    }

    .image-button:hover .image-button__hover::before {
        background: linear-gradient(to bottom,  rgba(39,39,47,0.8) 0%,rgba(39,39,47,0.8) 100%);
    }

    .image-buttons__bottom-flex .image-button:hover .image-button__hover::before {
        top: 0;
        background: linear-gradient(to bottom,  rgba(39,39,47,0.8) 0%,rgba(39,39,47,0.8) 100%);
    }

    .image-buttons__bottom-flex .image-button:hover::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
        top: 0;
        left: 0;
        z-index: 1;
        background: linear-gradient(to bottom,  rgba(39,39,47,0.8) 0%,rgba(39,39,47,0.8) 100%);
    }

    .image-button__hover::after { 
        right: 12px;
    }

    .image-button-line-left {
        left: 75px;
    }

    .image-button-line-right img {
        max-width: 100%;
        width: 150px;
        height: 160px;
        object-fit: contain;
    }

    .image-button-btn {
        margin-top: 40px;
    }

}

