.newsBannerSection{
    margin: auto;
    background-color: rgb(255, 251, 255);
}
.newsContainer {
    margin: auto;
    position: relative;
    /* width: 70%; */
    overflow: hidden;
    /* font-family: "Roboto", sans-serif; */
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.3);
}

.newsContainer .title {
    position: absolute;
    background: #df2020;
    /* height: 10%; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: white;
    font-weight: bold;
    z-index: 200;
}

.newsContainer ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scrolly 35s infinite linear;
    width: fit-content;
    overflow: hidden;
    cursor: pointer;
}
.newsContainer ul:hover {
    animation-play-state: paused;
}
.newsContainer ul li {
    
    padding: 5px 24px;
    /* color: #494949; */
    position: relative;
}
.newsContainer ul li::after {
    content:"";
    width: 100%;
    height: 1px;
    background: #b8b8b8;
    position: absolute;
    top: 0;
    right: 0;
}


@keyframes scrolly {
    0% {
        transform: translateY(var(--start-transformY));
    }
    100% {
        transform: translateY(-90%);
    }
}

@keyframes scrollx {
    0% {
        transform: translateX(var(--start-transformX));
    }
    100% {
        transform: translateX(-100%);
    }
}
