.image-parallax,
.image-parallax img {
    width: 100%;
    height: auto;
    display: block;
}

.image-parallax {
    overflow: hidden;
    position: relative;
    opacity: 0;
    transition: all .3s cubic-bezier(.2,1,.22,1);
    -webkit-transition: all .3s cubic-bezier(.2,1,.22,1);
}

.image-parallax span {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 100%;
    transform: translateX(-50%);
}

.image-parallax span img {
    height: 100%;
    width: auto;
    left: 50%;
    top: 50%;
    max-width: initial;
    position: absolute;
    transform: translate(-50%, -50%);
}

.image-parallax img.original-image {
    opacity: 0;
}