/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    font-size: 16px; /* Default font size */
}

/* Header and Banner */
header {
    text-align: center;
}

.banner img {
    width: 100%;
    height: auto;
}

.profile-container {
    padding: 20px;
    background: #f4f4f4;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

h1 {
    margin-top: 10px;
    font-size: 2.5em; /* Larger font size */
}

/* Navigation Menu */
nav {
    background: #333; /* Dark background for the menu */
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #fff; /* White text color */
    font-weight: bold;
    font-size: 1.2em; /* Larger font size for nav links */
    padding: 10px 20px;
    background: #007bff; /* Beautiful blue background color */
    border-radius: 25px; /* Rounded corners */
    transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background: #0056b3; /* Darker blue on hover */
    color: #fff; /* Keep text color white on hover */
}

/* Main Content */
main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

section {
    margin-bottom: 20px;
}

section h2 {
    margin-bottom: 10px;
    font-size: 2em; /* Larger font size for section titles */
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background: #333;
    color: #fff;
}

.title {
    font-style: italic;
    font-size: 1.5em; /* Adjust size if needed */
    color: #333; /* Adjust color if needed */
}
#publications {
    margin: 20px 0; /* Add some margin to the section */
}

#publications h2 {
    font-size: 1.8em; /* Adjust the font size for the section title */
    margin-bottom: 10px; /* Space between the title and the first publication */
}

.publication-item {
    margin-bottom: 15px; /* Space between each publication item */
    padding: 10px;
    border-left: 4px solid #4CAF50; /* Add a colored border to the left */
    background-color: #f9f9f9; /* Light background color for the publication item */
}

.publication-item p {
    margin: 0; /* Remove default margin */
    font-size: 1em; /* Adjust the font size of the publication text */
    line-height: 1.5; /* Increase line spacing for readability */
}
/* Portfolio section on the main page */
#portfolio {
    margin: 20px 0;
    text-align: left;
}

.portfolio-links {
    margin-top: 10px;
}

.portfolio-button, .portfolio-download {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

.portfolio-button:hover, .portfolio-download:hover {
    background-color: #45a049;
}

/* Portfolio page styles */
header {
    text-align: center;
    margin-bottom: 30px;
}

section {
    margin: 20px;
}

.project {
    margin-bottom: 20px;
}

.project h3 {
    margin-top: 0;
}

.portfolio-download img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.image-container {
    width: 512px; /* Fixed width */
    height: 284px; /* Fixed height */
    overflow: hidden; /* Hide any overflow of the image */
    position: relative; /* Position relative to control absolute positioning of the image */
}

.image-container img {
    position: absolute; /* Position absolutely within the container */
    top: 0;
    left: 0;
    width: 100%; /* Stretch to fill the container width */
    height: 100%; /* Stretch to fill the container height */
    object-fit: contain; /* Ensure the image covers the container without distortion */
}