.news-container {
    position: relative;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

.news-container .title {
    position: absolute;
    background: #df2020;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px;
    color: white;
    font-weight: bold;
    z-index: 200;
}

.news-container ul {
    display: flex;
    list-style: none;
    margin: 0;
    animation: scroll 85s infinite linear;
}

.news-container ul:hover {
    animation-play-state: paused;
}

.news-container ul li {
    white-space: nowrap;
    padding: 6px 48px;
    color: #494949;
    position: relative;
}

.news-container ul li::after {
    content:"";
    width: 0.5px;
    height: 100%;
    background: #b8b8b8;
    position: absolute;
    top: 0;
    right: 0;
}

.news-container ul li:last-child::after {
    display: none;
}

@keyframes scroll {
    from {
        transform: translateX(45%);
    }

    to {
        transform: translateX(-3483px);

    }
}