/* Reset & Base */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
    background-color: antiquewhite;
}

/* Header */
header {
    width: 100%;
    min-height: 250px;
    background-color: #333;
}
.name{
    margin-top: 1px;
}
.custom-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.profile {
    width: 120px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.main-info {
    color: white;
    max-width: 600px;
    text-align: center;
}

.header-diamond-list, .main-diamond-list {
    list-style: none;
    padding-left: 0;
}

.header-diamond-list li::before,
.main-diamond-list li::before {
    content: '❖';
    margin-right: 5px;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.social-media a {
    font-size: 20px;
    color: white;
    text-decoration: none;
}

/* Main content */
main {
    padding: 20px;
}

.content,
.bio,
.eu-projects,
.publications {
    margin: 0 auto;
    max-width: 900px;
}

.project {
    font-weight: bold;
}

.date {
    font-size: 12px;
    color: #333;
}

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

/* Year buttons */
.year-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.year-buttons-container p {
    margin: 0;
    font-weight: bold;
}

.year-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #008080;
    cursor: pointer;
    font-weight: bold;
    background-color: #fff;
    transition: all 0.2s;
}

.year-btn:hover {
    background-color: #008080;
    color: #fff;
}

.year-btn.active {
    background-color: #008080;
    color: #fff;
}

/* Publications cards */
.publications-cards {
    display: grid;
    gap: 20px;
}

.publication-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.publication-card h3 {
    margin-top: 0;
    font-size: 16px;
}

.publication-card p {
    margin: 5px 0;
    font-size: 14px;
}

/* Responsive grid */
@media (min-width: 768px) {
    .publications-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .custom-header { gap: 15px; }
    .profile { width: 100px; }
    .main-info { text-align: center; }
}
