.trendy_moving_text {
    --fadecolor: rgba(0, 0, 0, 0.0);
    --fadesize: 100px;
}

.trendy_moving_text .trendyslidecontainer {
    display: flex;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

.trendyslidecontainer::before,
.trendyslidecontainer::after {
    content: '';
    display: block;
    width: var(--fadesize);
    height: 100%;
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    background: linear-gradient(to right, var(--fadecolor), rgba(0, 0, 0, 0.0));
    z-index: 10;
}

.trendyslidecontainer::after {
    right: 0;
    left: auto;
    background: linear-gradient(to left, var(--fadecolor), rgba(0, 0, 0, 0.0));
}

.trendy_moving_text .trendyslidetext {
    flex-shrink: 0;
    min-width: 100%;
    width: max-content;
    display: block;
    white-space: nowrap;
    animation: trendy_moving_text 10s linear infinite;
}

.trendyslidetext,
.trendyslidetext * {
    line-height: 1.3em;
}

.trendy_moving_text .trendyslidetext p:empty {
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@keyframes trendy_moving_text {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-100%)
    }

}
