#title {
    text-align: center;
}

#containerImage {
    display: flex;
    justify-content: center;
    padding: clamp(12px, 5vw, 36px);
}

#gruppenfoto {
    width: 75vw;
    aspect-ratio: 16/9;
}

@media only screen and (max-width: 767px) {
    .ok-member {
        max-width: 100%;
        word-wrap: break-word;
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 37.5vw 7vw 2vw 1vw;
        justify-content: center;
        align-content: center;
        place-items: center;
        row-gap: clamp(6px, 2vw, 22px);
        padding: clamp(6px, 2vw, 22px);
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    .ok-image {
        width: 26vw;
        max-width: 26vw;
        height: 37.5vw;
        aspect-ratio: 4/5;
        object-fit: cover;
    }
    #okMitglieder {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(8, auto);
        justify-content: space-around;
        align-content: space-between;
        gap: clamp(6px, 2vw, 22px);
        padding-right: clamp(6px, 2vw, 22px);
        padding-left: clamp(6px, 2vw, 22px);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    .ok-titel {
        white-space: nowrap;
        max-width: 30vw;
        padding-bottom: 5px;
    }

    .ok-departement {
        white-space: nowrap;
        max-width: 30vw;
        padding-bottom: 7px;
    }

    .ok-name {
        white-space: nowrap;
        max-width: 30vw;
    }

    .ok-mail {
        white-space: nowrap;
    }

    #aufgabe {
        line-height: 0.75;
    }
}

@media only screen and (min-width: 768px) {
    .ok-member {
        max-width: 100%;
        overflow: hidden;
        word-wrap: break-word;
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 20vw 5vw 2vw 1vw;
        justify-content: center;
        align-content: center;
        place-items: center;
        row-gap: clamp(6px, 2vw, 22px);
        padding: clamp(6px, 2vw, 22px);
        width: 100%;
        box-sizing: border-box;
    }
    .ok-image {
        width: 12vw;
        max-width: 12vw;
        height: 20vw;
        object-fit: cover;
        aspect-ratio: 4/5;
    }
    #okMitglieder {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(8, auto);
        justify-content: space-around;
        align-content: space-between;
        gap:1vw;
        padding-right: clamp(20px, 20vw, 20vw);
        padding-left: clamp(20px, 20vw, 20vw);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    .ok-titel {
        white-space: nowrap;
        max-width: 16vw;
    }

    .ok-departement {
        white-space: nowrap;
        max-width: 16vw;
    }

    .ok-name {
        white-space: nowrap;
        max-width: 16vw;
    }

    .ok-mail {
        white-space: nowrap;
    }

    #aufgabe {
        line-height: 1;
    }
}

a:hover {
    text-decoration: underline;
}

.invisible {
    display: none
}

#aufgabe {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    align-self: flex-start;
}

#fillerSpot {
    opacity: .5;
    display: flex;
    justify-content: center;
    align-items: center;
}
