.kunstwerk-loop{
    display:flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
 .kunstwerk{
     position: relative;
     width: 30%;
     min-width: 250px;
     height: fit-content;
     margin-top: 25px;
     background-color: whitesmoke;
    }
    .kunstwerk .beschreibung{
        position: absolute;
        top:0;
        bottom: 0;
        left: 0;
        right: 0;
        }
    .kunstwerk .titel{
        opacity: 0;
        padding: 20px;
        margin: 0;
        width: 0;
        transition: all 2s ease-in-out;
        overflow: hidden;
        white-space: nowrap;
    }
    .kunstwerk .meta-daten{
        position: absolute;
        padding: 20px;
        margin:0;
        bottom: 0;
        right: 0;
        width: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 2s ease-in-out;
        height: 64px;
        overflow: hidden;
        white-space: nowrap;
        text-align: right;
    }
    .kunstwerk img{
        opacity: 1;
        transition: opacity 1s ease-in-out;
    }
    .kunstwerk .expand-button{
        position: absolute;
        cursor: pointer;
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 40px;
        transition: all 2s ease-in-out;
        zoom: 1;
    }
    .kunstwerk:hover .meta-daten,
    .kunstwerk:hover .titel{
        opacity: 1;
        width: 100%;
    }
    .kunstwerk:hover img{
        opacity: 0.4;
    }
    .kunstwerk:hover .expand-button{
        opacity: 1;
    }
    .expand-button:hover{
        zoom: 1.2;
    }


/* Fullscreen effect */
.kunstwerk-loop .kunstwerk.fullscreen{
    position: fixed;
    z-index: 100000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: unset;
    height: unset;
    margin: 0;
    background-color: rgba(50, 50, 50, .95);
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}

.kunstwerk-loop .kunstwerk.fullscreen img{
    position: relative;
    width: auto;
    height: auto;
    margin: 40px auto;
}
.kunstwerk-loop .kunstwerk.fullscreen .beschreibung{
    position: relative;
}
    .kunstwerk.fullscreen:hover img{
        opacity: 1;
    }
    .kunstwerk.fullscreen h3{
        width: 100%;
        opacity: 1;
        text-align: center;
        color: whitesmoke;
    }
    .kunstwerk.fullscreen .meta-daten{
        position: relative;
        width: 100%;
        opacity: 1;
        text-align: center;
        color: whitesmoke;
    }

    .kunstwerk.kunstwerk.fullscreen .expand-button{
        display: none;
    }

