@media screen and (max-width: 1429px)
{
    div.gallery {
        display:grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .picture-column {
        flex: 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 1429px)
{
    div.gallery {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        text-align: center;
    }
}

div.gallery-photo {
    margin: 100px;
    /*border: 1px solid #061995;*/
    width: 180px;
}

div.gallery-photo img {
    max-width: 200%;
    height: auto;
}

.pictures {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;

    text-align: center;
    /*align-items: center;*/
    justify-content: center;
}

.picture-column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.picture-column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%
}

.slideshow {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.slides {
    display:none
}

.previous .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.photo-caption {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.slides {
    animation-name: fade;
    animation-duration: 1.5s;
}