#hc_instagramfeed{
  margin-top: 40px;
}

#instafeed{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  row-gap: 20px;
  column-gap: 20px;
  margin-top: 20px;
}

#instafeed a{
  transition: 0.3s all;
}

#instafeed a:hover{
  opacity: 0.7;
  transform: scale(0.9);
  transition: 0.3s all;
}

#instafeed a img{
  max-width: 100%;
}

.instagramfeed-header{
  background: none;
  border-top: medium none;
  color: #303030;
  font-family: "bodoni_antiquaregular";
  font-size: 30px;
  font-weight: normal;
  text-align: center;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  padding: 25px 0;
  margin: 0;
  display: block;
  width: 100%;
}

.instagramfeed-header:before{
  border-top: 1px solid #dbdbdb;
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: 1;
  margin-top: -2px;
}

.instagramfeed-header span{
  background-color: #FFF;
  text-align: center;
  display: inline-block;
  margin: auto auto;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
  padding: 0 22px;
  font-size: 30px;
}


@media only screen and (max-width: 1200px) {
  #instafeed{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (max-width: 992px) {
  #instafeed{
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 768px) {
  #instafeed{
    grid-template-columns: 1fr;
  }
}
