/* Header layout */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    background-color: #222;
    color: white;
    padding: 40px;
}

/* Profile image */
.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

/* Name text */
.header-text h1 {
    margin: 0;
    font-size: 36px;
}

.header-text p {
    margin-top: 5px;
    font-size: 18px;
}

/* General page styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

header h1 {
    margin: 0;
    font-size: 40px;
}

header p {
    margin-top: 10px;
    font-size: 18px;
}

/* Navigation bar */
nav {
    background-color: #444;
    text-align: center;
    padding: 12px;
}

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

nav a:hover {
    color: #00bfff;
}

/* Main sections */
section {
    max-width: 900px;
    margin: auto;
    padding: 50px 20px;
}

/* Section headings */
h2 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

/* Project cards */
.project {
    background-color: white;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/*.project h3 {
    margin-top: 0;
}*/

.project-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    align-items: center;
}

.project-text {
    flex: 1;
    text-align: justify;
}

.image-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-image {
    flex: 1;
    text-align: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Publication list */
ul {
    line-height: 1.8;
}

/* Links */
a {
    color: #0077cc;
}

a:hover {
    text-decoration: underline;
}

/* Contact section */
#contact p {
    font-size: 16px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {

    header h1 {
        font-size: 28px;
    }

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

    section {
        padding: 30px 15px;
    }
}

