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

nav, main {
    padding: 0px;
    margin: 0px;
    max-width: 100%;
}

header {
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("assets/campusfoto.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding-bottom: 6rem;
    padding-top: 6rem;
    margin: 0;
    padding: 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 0px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #333;
}

nav ul li a {
    background-color: #00669900;
    color: white;
    padding: 20px 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: larger;
    border-radius: 0px;
}

nav ul li a:hover {
    background-color: #6e7275;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.info-box {
    margin-bottom: 30px;
    background-color: #e8f0fe;
    padding: 15px;
    border-radius: 10px;
}

.info-box img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 5px;
}

footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
}


@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    main, footer {
        padding: 10px;
    }

    section {
        padding: 15px;
    }

    nav ul li a {
        width: 100%;
        text-align: center;
    }
}

.gebäude-section {
    display: flex;
    flex-direction: column;
}

.gebäude-inhalt {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.gebäude-liste {
    flex: 1;
}

.gebäude-bild {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gebäude-bild img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.bold {
    font-weight: bold;
}

dl {
    display: grid;
    grid-template-columns: max-content auto;
}

dt {
    font-weight: bold;
    grid-column-start: 1;
}

dd {
    grid-column-start: 2;
}

.navList {
    display: grid;
    justify-content: space-evenly;
}


@media (max-width: 600px) {
    .gebäude-inhalt {
        flex-direction: column;
    }

    .gebäude-bild img {
        width: 100%;
    }

}

.logo {
    object-fit: contain;
    border-radius: 1rem; /* (16px) */
    min-width: 40vw;
    height: min-content;
    background-color: rgba(73, 80, 87,0.8);
}

#map {
    width: 100%;
    height: 36rem;
    padding: 0px!important;
}

.infobox {
    display: none;
    border: 1px solid #ccc;
    background: #fafafa;
    padding: 10px;
    margin-top: 12px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.infobox.visible {
    display: block;
}
.infobox h3 {
    margin-top: 0;
    font-size: 1.1em;
    color: #005288;
}
.infobox p {
    margin: 0.5em 0 0;
}
  