
#gallery {
	text-align: center;
	display:block;
	margin:auto;
	padding:0px 0px 60px 0px;
	display: grid; 
	margin:auto;
	grid-auto-flow: dense; 
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 20px;
	overflow:hidden;
	max-width:1220px; 
}

#gallery div{ 
	display:block;
	position:relative;
	overflow:hidden;
	height:30vh;
	background-size: cover !important;
	background-position: center !important;
	cursor:pointer;
}
#gallery div:hover{
	opacity:0.6;
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 820px) {
	#gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (max-width: 620px) {
	#gallery {
		grid-template-columns: repeat(1, 1fr);
	}
}
