#gallery_container {  
position: relative;
margin: 1em 0;
-webkit-column-count: 3; 
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 1em;
-moz-column-gap: 1em;
column-gap: 1em;
-webkit-column-width: 33.33%;
-moz-column-width: 33.33%;
column-width: 33.33%;
}
.tile { 
-webkit-transform: scale(0);
transform: scale(0);
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.tile span {
position: absolute;    
bottom: 0;
left: 50%;
transform: translate(-50%, -50%);
background-color: #333;
color: #fff;
padding: 1em;
margin: auto;
width: 100%;
opacity: 0.5;
vertical-align: baseline;
}
.scaleit {
transform: scale(1);
display: block;
}
.tile img {
max-width: 100%;
width: 100%;
height: auto;
margin-bottom: 1rem;
opacity: 0.7;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.tile img:hover {
opacity: 1;
}
.btns {
text-align: center;
}
.btn {
font-size: 1em;
padding: 1em 1em;
text-decoration: none;
cursor: pointer;    
margin: 0.05em;
border: 1px solid;
vertical-align: middle;
color: #333;
background-color: rgba(0, 0, 0, 0);
}
.btn:hover {
background-color: #333;
color: #fff;
}
@media all and (max-width:1000px){
#gallery_container {  
position: relative;
margin: 1em 0;
-webkit-column-count: 2; 
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 1em;
-moz-column-gap: 1em;
column-gap: 1em;
-webkit-column-width: 50%;
-moz-column-width: 50%;
column-width: 50%;
}
}
@media all and (max-width:760px){
#gallery_container {  
position: relative;
margin: 1em 0;
-webkit-column-count: 1; 
-moz-column-count: 1;
column-count: 1;
-webkit-column-gap: 1em;
-moz-column-gap: 1em;
column-gap: 1em;
-webkit-column-width: 100%;
-moz-column-width: 100%;
column-width: 100%;
}
}