body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #121212;       /* dark background */
    color: #e0e0e0;            /* light text */
}

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

a {
    color: #1e90ff;            /* link color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;  /* space above footer */
    position: static;  /* default, not fixed */
}

.project-card a {
    display: inline-block;
    margin: 8px 5px 0 5px;   /* small space between buttons */
    padding: 6px 12px;
    background: #444;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.project-card a:hover {
    background: #666;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s ease-in-out;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #444;
}

.project-card h3 {
    margin: 10px 0 5px;
    color: #f4f4f4;
}

.project-card p {
    color: #ccc;
    font-size: 0.9em;
}

.project-card a {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #444;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.project-card a:hover {
    background: #666;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.project-links a {
    padding: 6px 12px;
    background: #444;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.project-links a:hover {
    background: #666;
}
