@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700);

.igviewer {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: RGBA(29, 31, 32, 0.9);
}

.igviewer img {
    display: block;
    margin: 1rem auto;
    height: calc(100vh - 2rem);
    width: auto;
    box-shadow: 0px 10px 40px 10px rgba(0, 0, 0, 0.8);
}

.igviewer.hidden {
    display: none;
}

.instagram {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    overflow: hidden;

    margin: 0 auto;
}

.instagram .image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    width: 148px;
    height: 148px;
    margin: 4px;
    overflow: hidden;
    transition: all 200ms ease;
    position: relative;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}


@media (min-width: 768px) {
.instagram .image {
    width: 248px;
    height: 248px;
}
}


@media (min-width: 568px) {
    
.instagram .image {
    width: 200px;
    height: 200px;
}

}



.instagram .image .caption {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFF;
    padding: 1em;
    font-size:0.75rem;
}

.instagram .image:hover {
    background-size: 110%;
}

.instagram .image:hover .caption {
    display: block;
}