.carousel {
    position: relative;
    display: block;

    width: 400px;
    height: 400px;

    z-index: -1;
    
    border: solid 2px var(--color-primary-01);
    list-style-type: none;
}

.carousel li {
    position: absolute;
    top: 0;

    display: block;

    width: 400px;
    height: 400px;

    opacity: 0;
    transition: .75s;

    text-align: center;
    overflow: hidden;
}

.carousel li.active {
    opacity: 1;
}

.carousel li .back {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);

    z-index: -1;

    min-width: 100%;
    min-height: 100%;

    filter: blur(20px);
    -webkit-filter: blur(20px);

    clip-path: inset(0 0 0 0);
}

.carousel li .front {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);

    width: 100%;
    height: 100%;

    object-fit: contain;
}

@media only screen and (max-width: 768px) {
    .carousel {
        width: 100%;
        height: 400px;
    }

    .carousel li {
        width: 100%;
        height: 400px;
    }
}