.header-alert {
    position: relative;
    width: 100%;
    height: 40px;
    padding: 10px;
    background-color: #DC0032;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 120% */
    overflow: hidden;
}

.header-alert__text {
    position: absolute;
    animation: scrolling 25s linear infinite;
}

.header-alert__text p {
    white-space: nowrap;
}

@keyframes scrolling {
    0% {
        left: 100%;
    }

    100% {
        left: 0;
        transform: translateX(-100%);
    }
}

@media screen and (min-width: 1024px) {
    .header-alert__text {
        animation: scrolling 40s linear infinite;
    }
}