* {
    box-sizing: border-box;
}

.photo-gallery-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.photo-gallery-column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.photo-gallery-column img {
    margin-top: 8px;
    vertical-align: middle;
}

@media (max-width: 800px) {
    .photo-gallery-column {
        flex: 50%;
        max-width: 50%;
    }
}

@media (max-width: 600px) {
    .photo-gallery-column {
        flex: 100%;
        max-width: 100%;
    }
}

.big-photo {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.big-photo h1 {
    color: white;
    float: right;
    padding-right: 25px;
    cursor: pointer;
}

.image-container {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
    align-content: center;
    justify-content: center;
}

.image-container img {
    animation:animatezoom 0.6s;
}

@keyframes animatezoom{
    from {
        transform:scale(0);
    } to {
        transform:scale(1);
    }
}
