/* Basic reset */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #222;
}

/* Keeps the content from stretching across the whole screen */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top section */
header {
    background-color: #111;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.8rem;
}

header p {
    margin-top: 10px;
    color: #d0d0d0;
}

/* Navigation */
nav {
    margin-top: 24px;
}

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

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

/* Main content */
main {
    padding: 40px 0;
}

section {
    background-color: white;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

h2 {
    margin-top: 0;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 10px;
}

/* Buttons */
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.black-button {
    background-color: #111;
    color: white;
}

.black-button:hover {
    background-color: #333;
}

.blue-button {
    background-color: #0066cc;
    color: white;
}

.blue-button:hover {
    background-color: #004f9e;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.project-card {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 18px;
    background-color: #fafafa;
}

.project-card h3 {
    margin-top: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 24px;
    background-color: #111;
    color: #ccc;
}

/* Mobile */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    section {
        padding: 20px;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }
}

.interest-card {
    padding: 18px 0;
    border-bottom: 1px solid #e5e5e5;
}

.interest-card:last-child {
    border-bottom: none;
}

.interest-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.social-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    color: #222222;
    text-decoration: none;
    font-weight: bold;
    background-color: #ffffff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-link img {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
.interest-image {
    width: 100%;
    max-width: 400px;
    margin-top: 12px;
    border-radius: 10px;
    display: block;
    margin: auto;
}