/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.center {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Header Image */
header img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Section Styles */
section {
    margin-bottom: 20px;
}

.text-content {
    margin-top: 20px;
}

.text-content h2 {
    color: #0056b3;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.text-content p {
    margin-bottom: 15px;
}

.text-content ul {
    margin: 10px 0 20px 20px;
    padding: 0;
    list-style: disc;
}

.text-content ul li {
    margin-bottom: 10px;
}

.text-content a {
    color: #0056b3;
    text-decoration: none;
    border-bottom: 1px dotted #0056b3;
    transition: color 0.2s, border-color 0.2s;
}

.text-content a:hover {
    color: #003d80;
    border-color: #003d80;
}

/* Images within Sections */
section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

/* Footer Links (if applicable) */
/* Footer Styles */
footer {
    background-color: #0056b3;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-logos img {
    max-height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.footer-logos img:hover {
    transform: scale(1.1);
}

.footer-credit {
    font-size: 0.85em;
    margin-top: 10px;
    color: #d6e4ff;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-logos {
        gap: 10px;
    }
}


.impressum {
    margin-top: 40px;
    padding: 20px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.impressum h2 {
    color: #0056b3;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.impressum p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.impressum a {
    color: #0056b3;
    text-decoration: none;
}

.impressum a:hover {
    text-decoration: underline;
}

/* General Navigation Styles */
.navbar {
    background-color: #0056b3;
    color: #fff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav-logo:hover {
    color: #ffcc00;
}

/* Menu Styles */
.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 1em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffcc00;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
}

.nav-toggle-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        background-color: #0056b3;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
        gap: 15px;
        display: none;
        border-radius: 0 0 8px 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

/* Publications Section */
.publications {
    margin: 40px 0;
    padding: 20px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.publications h2 {
    font-size: 1.8em;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
}

.publication-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.publication-list li {
    margin-bottom: 20px;
    padding: 10px;
    background: #fff;
    border-left: 4px solid #0056b3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    line-height: 1.6;
}

.publication-list li strong {
    font-weight: bold;
    color: #333;
}

.publication-list li em {
    font-style: italic;
    color: #555;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .publications h2 {
        font-size: 1.5em;
    }

    .publication-list li {
        font-size: 0.95em;
    }
}

#news img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;       /* Makes the image a block-level element */
    margin-left: auto;    /* Automatically calculate the left margin */
    margin-right: auto;   /* Automatically calculate the right margin */
}

#partners .publication-list {
    display: flex;                /* Align items in a row */
    justify-content: center;      /* Center the logos horizontally */
    gap: 20px;                    /* Space between the logos */
    flex-wrap: wrap;              /* Allow logos to wrap to the next line on smaller screens */
    list-style: none;             /* Remove the default list styles */
    padding: 0;                   /* Remove any default padding */
    flex: 1;
}

#partners .publication-list li {
    display: flex;                /* Align items in a row */
    justify-content: space-evenly;      /* Center the logos horizontally */
    align-items: center;          /* Vertically center the logos */
    flex-wrap: wrap;              /* Allow items to wrap on small screens */
    gap: 10px;
}

#partners .publication-list a {
    display: block;               /* Makes the link block-level, so it can control the size of the image */
}

#partners .publication-list img {
    width: 180px;                 /* Set a fixed width for all images */
    height: auto;                 /* Maintain the aspect ratio */
    transition: transform 0.3s;   /* Add a smooth scaling transition */
}

#partners .publication-list img:hover {
    transform: scale(1.1);        /* Slight zoom effect on hover */
}



