html {
    scroll-behavior: smooth;
}

.news-list {
    background-color: #ffffff;
    padding: 5px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    font-size: 1em;
    position: fixed;
}

.news-title {
    font-size: 1.5em;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.news-item img, .row .img {
    width: 60%;
    height: auto;
    border-radius: 5%;
    margin-bottom: 5px;
    align-items: center;
}

.news-controls {
    margin-top: 20px;
    text-align: center;
}

.latest-news,
.archive {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.latest-news h3,
.archive h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.latest-news ul,
.archive ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.latest-news li,
.archive li {
    margin-bottom: 10px;
}

.latest-news li a,
.archive li a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    color: blue;
}

.latest-news li a img,
.archive li a img {
    margin-right: 10px;
    width: 50px;
    height: auto;
    border-radius: 5%;
}

.lead.my-3 {
    font-size: 1.2em;
    margin: 1rem 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .news-item img, .row .img {
        width: 70%;
    }
}

@media (max-width: 992px) {
    .news-item img, .row .img {
        width: 80%;
    }

    .news-title {
        font-size: 1.3em;
    }

    .latest-news h3,
    .archive h3 {
        font-size: 1.1em;
    }

    .latest-news li a img,
    .archive li a img {
        width: 45px;
    }
}

@media (max-width: 768px) {
    .news-list {
        padding: 5px;
        margin-bottom: 5px;
        font-size: 1em;
    }

    .news-item img, .row .img {
        width: 50%;
    }

    .news-title {
        font-size: 1.2em;
    }

    .latest-news,
    .archive {
        padding: 10px;
        margin-bottom: 15px;
    }

    .latest-news h3,
    .archive h3 {
        font-size: 1em;
    }

    .latest-news li a img,
    .archive li a img {
        width: 40px;
    }
}

@media (max-width: 576px) {
    .news-list {
        padding: 5px;
        margin-bottom: 10px;
        font-size: 0.9em;
    }

    .news-item img, .row .img {
        width: 100%;
    }

    .news-title {
        font-size: 1em;
    }

    .latest-news,
    .archive {
        padding: 5px;
        margin-bottom: 10px;
    }

    .latest-news h3,
    .archive h3 {
        font-size: 0.9em;
    }

    .latest-news li a img,
    .archive li a img {
        width: 35px;
    }
}
