.container-slide-cert {
    width: 100%;
    height: 900px;
    background-color: #fff;
    padding: 50px 80px;
}

    .container-slide-cert .title-and-text .title {
        font-family: GuardianSansBold;
        font-size: 26px;
        line-height: 30px;
        display: flex;
        align-items: center;
        color: #3B2B16;
        border-left: 8px solid #A7CB19;
        padding-left: 8px;
    }

    .container-slide-cert .title-and-text .text {
        font-family: GuardianSansRegular;
        font-size: 17px;
        line-height: 24px;
        color: #464749;
    }

    .container-slide-cert .card-stack {
        width: 100%;
        position: absolute;
        margin: 20px auto;
    }

        .container-slide-cert .card-stack .card-list {
            width: 100%;
        }

            .container-slide-cert .card-stack .card-list li {
                cursor: pointer;
                display: flex;
                transition: all 100ms ease-in-out;
                border-radius: 0;
                position: absolute;
                list-style: none;
                left: 0;
                right: 0;
                box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
                width: calc(100% - (60px * 5));
            }

                .container-slide-cert .card-stack .card-list li:nth-last-child(3) {
                    top: 0px;
                    left: 170px;
                }

                .container-slide-cert .card-stack .card-list li:nth-last-child(2) {
                    top: 92px;
                    left: 95px;
                }

                .container-slide-cert .card-stack .card-list li:nth-last-child(1) {
                    top: 184px;
                    left: 20px;
                    background: #fff;
                    cursor: default;
                }

                .container-slide-cert .card-stack .card-list li.bg-green {
                    background-color: #cae075;
                }

                .container-slide-cert .card-stack .card-list li.bg-image {
                    background-color: #A7CB19;
                    background-image: url('../images/trainning-programmes.png');
                    background-repeat: no-repeat;
                    background-position: center;
                }

                .container-slide-cert .card-stack .card-list li > .row {
                    height: 100%;
                }

                .container-slide-cert .card-stack .card-list li .content-left {
                    padding: 60px 45px;
                    text-align: left;
                }

                    .container-slide-cert .card-stack .card-list li .content-left .title {
                        font-family: GuardianSansBold;
                        font-size: 18px;
                        line-height: 24px;
                        color: #464749;
                    }

                    .container-slide-cert .card-stack .card-list li .content-left .content {
                        font-family: GuardianSansRegular;
                        font-size: 17px;
                        line-height: 24px;
                        color: #464749;
                    }
                    .container-slide-cert .card-stack .card-list li .content-left a {
                        font-family: GuardianSansRegular;
                        font-size: 17px;
                        line-height: 24px;
                        color: #464749;
                    }

                    .container-slide-cert .card-stack .card-list li .content-left button {
                        font-family: GuardianSansMedium;
                        font-size: 17px;
                        line-height: 24px;
                        display: flex;
                        align-items: center;
                        text-align: center;
                        color: #271C0E;
                        background: #D3DE46;
                        border: 1px solid #D3DE46;
                        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
                        padding: 13px;
                    }

                .container-slide-cert .card-stack .card-list li .text {
                    align-items: center;
                    height: 100%;
                    display: flex;
                }

                    .container-slide-cert .card-stack .card-list li .text img {
                        max-width: 100%;
                        height: auto;
                    }

.transformThis {
    animation: scaleDown 500ms;
}

.transformPrev {
    animation: scaleUp 100ms;
    display: none;
}

@keyframes scaleUp {
    0% {
        transform: scale(1.2) translateY(50px);
        opacity: 0;
    }

    20% {
        transform: scale(1.15) translateY(40px);
        opacity: 0.1;
    }

    40% {
        transform: scale(1.1) translateY(30px);
        opacity: 0.2;
    }

    60% {
        transform: scale(1.05) translateY(20px);
        opacity: 0.4;
    }

    80% {
        transform: scale(1.01) translateY(10px);
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes scaleDown {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    20% {
        transform: scale(1.01) translateY(20px);
        opacity: 0.8;
    }

    40% {
        transform: scale(1.05) translateY(40px);
        opacity: 0.4;
    }

    60% {
        transform: scale(1.1) translateY(60px);
        opacity: 0.2;
    }

    80% {
        transform: scale(1.15) translateY(80px);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.2) translateY(100px);
        opacity: 0;
    }
}

@keyframes scaleCard {
    0% {
        top: 5px;
    }

    100% {
        top: 24px;
    }
}

@keyframes bounceInLeft {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes bounceInRight {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }

    100% {
        transform: translateX(0);
    }
}

@media (min-width: 576px) {
    .container-slide-cert .card-stack {
        max-width: 510px;
    }
}

@media (min-width: 768px) {
    .container-slide-cert .card-stack {
        max-width: 690px;
    }
}

@media (min-width: 992px) {
    .container-slide-cert .card-stack {
        max-width: 930px;
    }

        .container-slide-cert .card-stack .card-list li:nth-last-child(3) {
            top: 0px;
            left: 210px;
        }

        .container-slide-cert .card-stack .card-list li:nth-last-child(2) {
            top: 92px;
            left: 135px;
        }

        .container-slide-cert .card-stack .card-list li:nth-last-child(1) {
            top: 184px;
            left: 60px;
        }
}

@media (min-width: 1200px) {
    .container-slide-cert .card-stack {
        max-width: 1110px;
    }
}

@media (min-width: 1920px) {
    .container-slide-cert .card-stack {
        max-width: 1570px;
    }
}

@media screen and (max-width: 767px) {
    .container-slide-cert {
        padding: 0;
        height: unset !important;
    }

        .container-slide-cert .card-stack {
            position: unset;
        }

            .container-slide-cert .card-stack .card-list {
                padding: 0;
            }

                .container-slide-cert .card-stack .card-list li {
                    width: 100%;
                    position: unset;
                    height: unset;
                    margin: 15px 0px;
                }

                    .container-slide-cert .card-stack .card-list li .content-left {
                        padding: 15px 45px;
                    }

                        .container-slide-cert .card-stack .card-list li .content-left .d-flex {
                            justify-content: start !important;
                        }

                    .container-slide-cert .card-stack .card-list li .text {
                        display: unset;
                        height: unset;
                    }
}
