@import url('https://fonts.googleapis.com/css?family=Arvo');


.mainGridDiv
{
	 align-items: center;
	 position: relative;
	 width: 100%;
	 height: 100%;
	/* // background: #f5f4f4; */
	 font-size: 13px;
	 font-family: 'Arvo', monospace;
}
 
 .section {
	 display: block;
	 padding: 2rem;
}
 @media screen and (min-width: 768px) {
	 .section {
		 padding: 4rem;
	}
}

 h1 {
	 font-size: 2rem;
	 margin: 0 0 1.5em;
}
 .dy_grid {
	 display: grid;
	 grid-gap: 30px;
	 /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
	 grid-template-columns: repeat(3, 1fr);
	 grid-auto-rows: 25vh;
	 grid-auto-flow: row dense;
}
 .dy_item {
	 position: relative;
	 display: flex;
	 flex-direction: column;
	 justify-content: flex-end;
	 box-sizing: border-box;
	 /*background: #0c9a9a;*/
	 color: #fff;
	 /*background:  url('https://images.unsplash.com/photo-1470124182917-cc6e71b22ecc?dpr=2&auto=format&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb&crop=');*/
	 grid-column-start: auto;
	 grid-row-start: auto;
	 color: #fff;
	 background-size: cover;
	 background-position: center;
	 box-shadow: -2px 2px 10px 0px rgba(68, 68, 68, 0.4);
	 transition: transform 0.3s ease-in-out;
	 cursor: pointer;
	 counter-increment: item-counter;
}
 
 .dy_item:after {
	 content: '';
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 background-color: rgba(68, 68, 68, 0.5);
	 opacity: 0.2;
	 transition: opacity 0.3s ease-in-out;
}
 .dy_item:hover {
	 transform: scale(1.05);
}
 .dy_item:hover:after {
	 opacity: 0;
}
 .dy_item--medium {
	 grid-row-end: span 2;
}
 .dy_item--large {
	 grid-row-end: span 3;
}
 .dy_item--full {
	 grid-column-end: auto;
}
 @media screen and (min-width: 768px) {
	 .dy_item--full {
		 grid-column: -1;
		 grid-row-end: span 2;
	}
}
 .dy_item__details {
	 position: relative;
	 z-index: 1;
	 padding: 15px;
	 color: #444;
	 background: rgba(68, 68, 68, 0.4);
	 text-transform: lowercase;
	 letter-spacing: 1px;
	 color: #fff;
}
 .dy_item__details:before {
	 /*content: counter(item-counter);*/
	 font-weight: bold;
	 font-size: 1.1rem;
	 padding-right: 0.5em;
	 color: #444;
}
 
