.container {
    width: 100%;
    background-color: #fff;
    position: relative;
}

.container .card-stack {
    width: 100%;
    height: 450px;
    position: absolute;
}

.container .card-stack .buttons {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    top: 45%;
    text-align: center;
    line-height: 35px;
    text-decoration: none;
    font-size: 22px;
    z-index: 100;
    outline: none;
    transition: all 0.2s ease;
}

.container .card-stack .fprev {
    left: 0;
    right: auto;
    background: url(../images/roll_left.png) no-repeat;
}

.container .card-stack .fnext {
    left: auto;
    right:20;
    background: url(../images/roll_right.png) no-repeat;
}

.container .card-stack .carousel .buttons:hover {
    color: #C01313;
    background: #fff;
}

.container .card-stack .card-list {
    width:100%
}

.container .card-stack .card-list__image {
    height: 450px;
}

.container .card-stack .card-list__text {
    color: #fff;
    height: 90px;
    line-height: 90px;
    text-align: center;
    width: 100%;
    position: absolute;
    left: 0;
    top: 270px;
    padding-top: 74px;
    background: url(/images/four_trans.png) no-repeat;
}

.container .card-stack .card-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 100ms ease-in-out;
    position: absolute;
    list-style: none;
    height: 450px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    -webkit-box-shadow: 0 2px 15px 1px rgba(225, 225, 225, 0.5);
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.container .card-stack .card-list li:nth-child(1) {

    animation: scaleCard 100ms;
}

.container .card-stack .card-list li:nth-child(2) {
    top: 8px;
    width: 96%;
}

.container .card-stack .card-list li:nth-child(3) {
    top: 0;
    width: 100%;
}

.container .card-stack .card-list li:nth-child(4) {
    top: 60px;
    width: 90%;
}

.container .card-stack .card-list li:nth-child(5) {
    top: 72px;
    width: 100%;
}

.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);
    }
}