.image-button {
    position: relative;
    z-index: 2;
    padding: 50px 0 80px;
    background-color: #F7F7F7;
    position: relative;
}

.image-button .container {
    position: relative;
    z-index: 7;
}

.image-button.element-before-footer {
    padding-bottom: 450px;
    margin-bottom: -450px;
}

.image-button.element-before-footer-without-cta {
    padding-bottom: 300px;
    margin-bottom: -450px;
}

.image-button:before,
.image-button:after {
    content: "";
    display: none;
    z-index: 6;
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: inherit;
    -webkit-transform: skewY(-3deg);
            transform: skewY(-3deg);
}

.image-button.top-angle-type-1:before,
.image-button.top-angle-type-2:before {
    display: block;
}

.image-button.bottom-angle-type-1:after,
.image-button.bottom-angle-type-2:after {
    display: block;
}

.image-button.top-angle-type-1:before,
.image-button.bottom-angle-type-1:after {
    -webkit-transform: skewY(3deg);
        transform: skewY(3deg);
}

.image-button.top-angle-type-2:before,
.image-button.bottom-angle-type-2:after {
    -webkit-transform: skewY(-3deg);
        transform: skewY(-3deg);
}

.image-button:before {
    top: -50px;
}

.image-button:after {
    bottom: -50px;
}

.image-button h1,
.image-button h2,
.image-button h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 34px;
}

.image-button h2 {
    text-align: center;
}

.image-button__link {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-button__item {
    margin-bottom: 53px;
    position: relative;
    z-index: 4;
}

.image-button__title {
    text-transform: uppercase;
    text-align: center;
    font-size: 30px;
    margin-top: 20px;
}

.image-button__description {
    margin: 20px 0;
}

.image-button__image {
    position: relative;
    flex: 1;
}

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

.image-button__link:hover .image-button__hover {
    opacity: 1;
}

.image-button__link:hover .image-button__hover p {
    top: 0;
    opacity: 1;
    transition-delay: 0.2s;
}

.image-button__link:hover .image-button__hover span {
    top: 0;
    opacity: 1;
    transition-delay: 0.3s;
}

.image-button__hover {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #FFF;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 36px 24px;
    text-align: center;
    background-color: rgba(4, 51, 100, 0.9);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease-in-out;
}

.image-button__hover p {
    font-size: 17px;
    font-weight: normal;
    line-height: 1.4;
    position: relative;
    top: -20px;
    opacity: 0;
    transition: top 0.3s ease-in-out,
                opacity 0.3s ease-in-out;
}

.image-button__hover span {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: bold;
    top: -20px;
    opacity: 0;
    transition: top 0.3s ease-in-out,
                opacity 0.3s ease-in-out;
}

.image-button__hover span:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 0;
    position: relative;
    top: -2px;
    margin-left: 8px;
    border-top: 7px solid transparent;
    border-right: 0;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #FFF;
}

/*
* Responsive
*/

@media (max-width: 1025px) {
    .image-button {
        padding: 40px 0 20px;
    }

    .image-button .container {
        position: relative;
        z-index: 6;
    }

    .image-button h1,
    .image-button h2,
    .image-button h3 {
        margin-bottom: 40px;
    }

    .image-button__hover p {
        font-size: 12px;
    }

    .image-button__hover span {
        margin-top: 2px;
    }

    .image-button__title {
        font-size: 18px;
    }

    .image-button__image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    .image-button h1,
    .image-button h2,
    .image-button h3 {
        font-size: 35px;
    }

    .image-button.element-before-footer {
        padding-bottom: 60px;
        margin-bottom: 0;
    }

    .image-button.element-before-footer-without-cta {
        margin-bottom: -150px;
       padding-bottom: 50px;
    }
}