.gallery-wrapper {	
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-box-pack: inherit;
    -ms-flex-pack: inherit;
    justify-content: inherit;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.gallery-card {
    width: auto;
    min-width: 30%;
    min-height: 292px;
    border-radius: 5px;
    background-color: #FAFBFB;
    box-shadow: 0 6px 9px 0 rgba(0,0,0,0.1);
    text-decoration: none !important;
    margin-bottom: 1em;
    margin: 1%;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1
}

.gallery-image {
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
  height: 66.67%; 
   width: 100%;
   flex-grow: 1;
   background-size: cover;
}
   
.gallery-card p {
 	color: rgba(0,0,0,0.75);	
   font-family: Roboto;	
   font-size: 1em;	
   line-height: 24px;
   margin: 1em;
}
@media screen and (max-width: 1023px) {
   .gallery-card {
      min-width: 48%;
   }
}

@media screen and (max-width: 599px) {
   .gallery-card {
      min-width: 100%;
   }
}
