/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 20px;
}

header {
    background-color: #343a40;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 8px;
}

header h1 {
    margin-bottom: 10px;
}

header p {
    font-style: italic;
    color: #adb5bd;
    margin-bottom: 15px;
}

header a {
    color: #ced4da;
    text-decoration: none;
}

header a:hover {
    color: #fff;
}

nav a {
    color: #e9ecef;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

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

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none;
}

h2 {
    color: #0056b3; /* A slightly professional blue */
    margin-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 5px;
}

h3 {
    color: #495057;
    margin-top: 15px;
    margin-bottom: 10px;
}

p, ul {
    margin-bottom: 15px;
}

ul {
    list-style: disc;
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 15px; /* Increased padding a bit */
    font-size: 0.9em;
    color: #6c757d;
    border-top: 1px solid #eee; /* Add a top border */
}

/* Remove footer H2 styling if it exists (or adjust if preferred) */
footer h2 {
   display: none; /* Hide the "Links" heading */
}

/* Style footer links */
footer ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    margin-bottom: 10px; /* Space before copyright */
}

footer li {
    display: inline-block; /* Display items side-by-side */
    margin: 0 10px; /* Add horizontal spacing between links */
}

/* Keep footer paragraph styling */
footer p {
    margin-bottom: 0;
}

/* Profile Picture Styling */
.profile-pic {
    float: right;
    margin: 0 0 15px 20px; /* Top, Right, Bottom, Left */
    max-width: 200px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        margin: 10px;
    }
    main {
        padding: 15px;
    }
    header {
        padding: 15px 0;
    }
    nav a {
        display: block;
        margin: 5px 0;
    }
}

/* Clearfix for floated elements like the profile picture */
section::after {
    content: "";
    display: table;
    clear: both;
} 