@keyframes carousel-slide {
    from {
        left: 0;
    }
    to {
        left: -10%;
    }
}
@keyframes carousel-zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(2);
    }
}
@keyframes carousel-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes carousel-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes carousel-width {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}
.carousel {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    z-index: 0;
}
.carousel .carousel-element {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.carousel .carousel-element img, .carousel .carousel-element video {
    position: absolute;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-name: carousel-slide;
    transform: scale(1.2);
}
.carousel .carousel-indicators {
    position: absolute;
    bottom: 1em;
    width: 100%;
    text-align: center;
}
.carousel .carousel-indicator {
    display: inline-block;
    box-sizing: border-box;
    width: 1em;
    height: 1em;
    border-color: #ffffff;
    border-style: solid;
    border-width: 0.2em;
    border-radius: 0.5em;
    cursor: pointer;
    background-color: rgba(255,255,255,0);
    transition: background-color 500ms ease 0s;
}
.carousel .carousel-indicator.active {
    background-color: rgba(255,255,255,1);
}
.carousel .carousel-start {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: carousel-fade-in 1000ms linear 0s 1 both,
    carousel-fade-out 500ms linear 1000ms 1 forwards;
}
.carousel .carousel-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 1em;
    background-color: #00ff00;
    animation: carousel-width 1000ms linear 0s 1 both;
}
.carousel .carousel-front {
    position: absolute;
    left: 0;
    bottom: 0;
    display: none;
}