html { 
    font-family: "Questrial", sans-serif;
    font-size: 75%;
}

body {
    margin: 0;
    padding: 0;
}

.index {
    position: fixed;
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background-color: #000;
    color: #fff !important;
    font-size: 2.4em;
    overflow: hidden;
}

/* The marquee container */
.index_marquee {
    position: absolute;
    right: 0;
    transform: translateX(100%);
    animation: scroll-left 60s linear infinite; /* ← infinite loop */
    animation-play-state: running;
}

/* Smooth infinite scroll */
@keyframes scroll-left {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Fade animations (unchanged) */
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.index .index_marquee a {
    opacity: 1;
    text-decoration: none;
    color: inherit !important;
}

.reportagelink a:hover {
    text-shadow: silver 0 0 1px;
    text-decoration: underline !important;
}

/* Pause on hover */
.index :is(.index_marquee:hover, .index_marquee:focus) {
    opacity: .5;
    transition: 1.5s;
    animation-play-state: paused;
}

.news_link {
    text-decoration: underline;
    font-weight: 750;
    display: inline-block;
    color: silver;
}

.text-margin {
    margin: 0 128px;
}

/* Mobile: slower scroll */
@media screen and (max-width: 999px) {
    .index_marquee {    
        animation: scroll-left 60s linear infinite;
    }
}
