.video-carousel {
    position: absolute;
    width: 700px;
    height: 700px;
    overflow: hidden;
    right: 12%;
    top: 10%;
    z-index: -1;
}

.video-carousel video {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 190%;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.video-carousel video.fade-out {
    opacity: .5;
}

.video-thumbnails {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    position: absolute;
    top: 62%;
    left: 36%;
}

.video-thumbnails img {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.5s ease-in-out, transform .5s;
    transform: rotate(-25deg);
}

.video-thumbnails img.active {
    opacity: 1;
    background: #ffc6db;
    padding: 2px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px grey;
    transform: rotate(0deg);
    animation: movingRotation 5s ease-in-out infinite;
}

.video-carousel-container {
    display: flex;
    flex-direction: column;
}

.video-text-container {
    transform: skewY(-6deg);
    line-height: 0px;
    position: absolute;
    top: 32%;
    left: 18%;
}

.video-text-container .param {
    color: #182149;
    text-transform: uppercase;
    font-size: 70px;
    font-weight: 600;
    line-height: .8;
    text-align: left;
}

/* animation */
.bounce {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
}

@-webkit-keyframes bounce {
    from,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes bounce {
    from,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}