/* Gallery 2 */
.wrapper-gallery {
    text-align: center;
}
.polaroid-gallery {
    background: #fff;
    padding: 1rem;
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.2);
    display: block;
}
.caption-gallery {
     font-size: 20px;
     text-align: center;
    margin-top: 20px;
    margin-bottom: 1rem;
    font-weight:700;
    color: var(--blau);
    transition: all 0.35s;
    font-family: 'Nunito', Helvetica, Arial, sans-serif;
}
.item-gallery:hover .caption-gallery {
    color: var(--red);
    transform: scale(1.1);
    transition: all 0.35s;
}
.item-gallery .polaroid-gallery:before {
    content: '';
    position: absolute;
    z-index: -1;
    transition: all 0.35s;
}
.item-gallery:nth-of-type(4n+1) {
    transform: scale(0.9, 0.9) rotate(5deg);
    transition: all 0.35s;
}
.item-gallery:nth-of-type(4n+1) .polaroid-gallery:before {
    transform: rotate(6deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    right: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item-gallery:nth-of-type(4n+2) {
    transform: scale(0.9, 0.9) rotate(-5deg);
    transition: all 0.35s;
}
.item-gallery:nth-of-type(4n+2) .polaroid-gallery:before {
    transform: rotate(-6deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    left: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item-gallery:nth-of-type(4n+4) {
    transform: scale(0.9, 0.9) rotate(3deg);
    transition: all 0.35s;
}
.item-gallery:nth-of-type(4n+4) .polaroid-gallery:before {
    transform: rotate(4deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    right: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item-gallery:nth-of-type(4n+3) {
    transform: scale(0.9, 0.9) rotate(-3deg);
    transition: all 0.35s;
}
.item-gallery:nth-of-type(4n+3) .polaroid:before {
    transform: rotate(-4deg);
    height: 20%;
    width: 47%;
    bottom: 30px;
    left: 12px;
    box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item-gallery:hover {
    filter: none;
    transform: scale(1, 1) rotate(0deg) !important;
    transition: all 0.35s;
}
.item-gallery:hover .polaroid-gallery:before {
    content: '';
    position: absolute;
    z-index: -1;
    transform: rotate(0deg);
    height: 90%;
    width: 90%;
    bottom: 0%;
    right: 5%;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
    transition: all 0.35s;
}

