/* style.css */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #bb86fc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    background-color: #1f1f1f;
    padding: 20px;
    text-align: center;
}

nav a {
    margin: 0 10px;
}

.main-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-card {
    background-color: #1f1f1f;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    transition: background 0.2s;
}

.article-card:hover {
    background-color: #2c2c2c;
}

h1, h2, h3 {
    color: #ffffff;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #1f1f1f;
    margin-top: 40px;
}

img {
    max-width: 100%;       /* prevents images from overflowing the container */
    height: auto;          /* maintains aspect ratio */
    display: block;        /* removes inline spacing issues */
    margin: 20px auto;     /* centers the image and adds vertical spacing */
    border-radius: 6px;    /* subtle rounding for a modern look */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* gentle shadow for depth */
}

footer .badges {
    margin-top: 10px;
    display: flex;           /* makes children line up in a row */
    justify-content: center; /* centers them horizontally */
    gap: 5px;                /* space between badges */
    flex-wrap: wrap;         /* optional: lets badges wrap if the screen is too narrow */
}

footer .badges img {
    vertical-align: middle;  /* keep them aligned nicely */
}


