body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: #212121;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

#logo {
    padding-left: 20px;
    max-height: 50px;
}
#projekte {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1em;
}

.project-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1em 0;

    padding: 1em;
    box-sizing: border-box;
    justify-content: space-between;
    /* Neuer Code */
    width: 100%;

    overflow: hidden;
}

.mainContainer {
    max-width: 700px;
    margin: auto;
}

.description p {
    text-align: left;
}


.carousel {
    float: right;
    justify-content: center;
    height: 100%;
    align-content: center;
    display: flex;
}

.carousel-item {

    align-items: center;
    object-fit: contain;
    height: 100%;
}

.carousel img,
.carousel video {

    object-fit: contain;
    height: 100%;
}

.carousel-caption {
    color: black;
    bottom: -20px;
}


/* Dropdown-Container */
.dropdown {
    position: relative;
    float: right;
    display: inline-block;
    padding-right: 5px;
}

/* Dropdown-Button */
.dropbtn {
    background-color: #555;
    color: white;
    padding: 10px 16px;
    border: none;
    cursor: pointer;
}

/* Dropdown-Inhalt (Standardmäßig verborgen) */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    /* Platziert den Inhalt rechtsbündig mit dem Button */
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Dropdown-Links */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Hover-Effekt für Dropdown-Links */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Zeigt den Dropdown-Inhalt beim Hover an */
.dropdown:hover .dropdown-content {
    display: block;
}

#mediaContainer {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: solid black 5px;
    background-color: white;
    z-index: 20;
    border-radius: 5px;
}

#imageContainer {
    align-items: center;
    object-fit: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#imageContainer img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#mediaCloseButton {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;

}

.caption {
    color: white;
    background-color: rgba(44, 44, 44, 0.438);
}

.hidden {
    display: none;
}

.carouselHolder {

    width: 100%;
    aspect-ratio: 1.77;
    margin-bottom: 30px;
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 100px;
    width: 100px;
    outline: black;
    background-size: 100%, 100%;
    opacity: 1;
    background-image: none;
    text-shadow: 0 0 15px #fff;
}

.carousel-control-next-icon:after {
    content: '▶';
    font-size: 40px;
    color: rgb(0, 0, 0);
}

.carousel-control-prev-icon:after {
    content: '◀';
    font-size: 40px;
    color: rgb(0, 0, 0);
}

.videoPlayButton {
    position: absolute;
    top: 0;
    width: 50%;
    opacity: 0.2;
    left: 25%;
    right: 25%;
}