/* ------------------- */
/* CSS Reset & Globals */
/* ------------------- */
:root {
    --primary-bg: #121212;
    --secondary-bg: #1e1e1e;
    --primary-text: #e0e0e0;
    --accent-color: #bb86fc;
    --link-bg: #333;
    --link-bg-hover: #444;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ------------------- */
/* Main Layout & Content */
/* ------------------- */
.content-container {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.8s ease-in-out;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* This new rule will apply to all images */
img {
    border-radius: 8px; /* Adjust this value as you see fit */
    max-width: 100%; /* Ensures images are responsive and don't overflow their container */
    height: auto;
}

/* ------------------- */
/* Navigation Links    */
/* ------------------- */
nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

nav .link {
    display: inline-block;
    background-color: var(--link-bg);
    color: var(--primary-text);
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav .link:hover {
    background-color: var(--link-bg-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ------------------- */
/* Footer              */
/* ------------------- */
footer {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    background-color: var(--secondary-bg);
}

footer a {
    color: #aaa;
    font-weight: bold;
}

/* ------------------- */
/* Animations          */
/* ------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------- */
/* Responsive Design   */
/* ------------------- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    nav .link {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .content-container {
        padding: 1.5rem;
    }
}

