:root {
    --posts-size: 180px;
}
.main-wrap {
    display: grid;
    justify-items: center;
    background-color: black;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 100px;
}
.a{
    width: var(--posts-size);
    height: var(--posts-size);
}
.ig-post-element{
    width: var(--posts-size);
    height: var(--posts-size);
    background-size: cover;
    background-position: center;
    justify-self: center;
    align-self: center;
	border-radius: 100%;
    object-fit: cover;
}   
#ig-posts-container{
    display: grid;
    grid-template-columns: repeat( 6, var(--posts-size) );
    grid-gap: 15px;
    justify-items: center;
    align-items: center;
}

.instagram-feed-title{
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.ig-feed-hashtag {
    color: #0fa;
}

.ig-feed-link {
    color: #fff;
    margin-bottom: 20px;
}

@media only screen and (max-width: 1200px) {
    .a{
        width: var(--posts-size);
        height: var(--posts-size);
    }
    .ig-post-element{
        width: var(--posts-size);
        height: var(--posts-size);
    }   
    #ig-posts-container{
        grid-template-columns: repeat( 3, var(--posts-size) ); 
    }
}

@media only screen and (max-width: 768px) {
    .a{
        width: var(--posts-size);
        height: var(--posts-size);
    }
    .ig-post-element{
        width: var(--posts-size);
        height: var(--posts-size);
    }   
    #ig-posts-container{
        grid-template-columns: repeat( 2, var(--posts-size) ); 
    }
    :root {
    --posts-size: 150px;
    }

}

@media only screen and (max-width: 359px) {
        :root {
    --posts-size: 120px;
    }
}