.carousel {
    position: relative;
    width: 100vw;
    height: 320px;
    cursor: none;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    white-space: nowrap;
    transform: translateX(0);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.carousel:hover .carousel-track {
    animation-play-state: paused;
}

.card {
    flex: 0 0 auto;
    width: 400px;
    height: 250px;
    margin: 0 20px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.cutomCursor {
    position: fixed;
    width: 0px;
    height: 0px;
    background: #b278f050;
    backdrop-filter: sepia(80%) invert(80%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    user-select: none;
    transform: translate(-50%, -50%);

    transition: width .15s ease, height .15s ease, opacity .15s ease;
}

.carousel:hover+.cutomCursor,
.cutomCursor.active {
    opacity: 1;
    width: 25px;
    height: 25px;

}