div.instagramFeed {

}
div.instagramFeed.scroller .feed ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}
div.instagramFeed:not(.scroller) div ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(240px, 0.25fr));
    justify-items: center;
    align-items: center;
}
div.instagramFeed ul li {
    margin: 0;
    padding: 0;
    overflow: hidden;
    grid-column: span 1;
    grid-row: span 1;
}
/* profile */
div.instagramFeed div.profile {
    overflow: hidden;
}
div.instagramFeed div.profile img {
    float: left;
    padding: 1em;
}
/* feed */
div.instagramFeed .feed > ul li > a > div {
    position: absolute;
    left: 0.25em;
    right: 0.25em;
    top: 0.25em;
    bottom: 0.25em;
    background-color: rgba(0,0,0,0.25);
    display: none;
    pointer-events: none;
    padding: 1em;
    color: white;
    word-break: break-all;
    font-size: 12px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

div.instagramFeed .feed > ul li:hover > a > div {
    display: block;
    pointer-events: none;
}
div.instagramFeed .feed ul li a {
    margin: 0;
    overflow: hidden;
    position: relative;
    background-color: white;
    display: flex;
}
div.instagramFeed.scroller .feed li a img {
    margin: 0.25em;
}
div.instagramFeed .feed li a img {
    width: 100%;
    display: block;
}

/* scroller */
div.instagramFeed.scroller {
    overflow: hidden;
}
div.instagramFeed.scroller .feed {
    overflow: hidden;
}
div.instagramFeed.scroller .feed > ul {
    display: flex;
}
div.instagramFeed.scroller .feed > ul li {
    display: block;
    padding: 0em;
    position: relative;
}
div.instagramFeed.scroller .feed > ul li > a {
    display: block;
}
