.news-section {
    padding: 10px;
        }

.news-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the items in the row */
}

.news-item {
    flex: 0 1 18%;
    background-color: #f9f9f9;
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 350px; /* Set a maximum width to keep items from getting too large */
}

.news-item img {
    width: 100%;
    height: 130px;
}

.news-item p {
    font-size: 18px;
    margin: 10px 0;
    font-weight: bold;
}

.news-item button {
    background-color: #056c1d;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 20px;
}


/* Responsive Design */
@media (max-width: 1200px) {
    .news-item {
        flex: 0 1 30%; /* Adjust size to fit more items */
    }
}

@media (max-width: 768px) {
    .news-item {
        flex: 0 1 90%; /* Use more of the available width on smaller screens */
    }
}

@media (max-width: 480px) {
    .news-item {
        flex: 0 1 100%; /* Full width on very small screens */
    }
}









.animated-body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.animated-button a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
}

.animated-button a:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.animated-button a img {
    margin-right: 10px;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.animated-button a:hover img {
    transform: scale(1.1);
}

.animated-button a span {
    font-size: 1.2em;
}
