Body
{
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	height: 100vh;
	background: #fff;
	display: grip;
	grid-column: 1fr;
	grid-row: 1fr;
	justify-items: center;
	align-items: center;
}
.container{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	justify-items: center;
	grid-gap: 10px;
}
@media.(max-width:991px){
	
.container{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
}
}

@media.(max-width:600px){
	
.container{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(4, 1fr);
}
}
	@media.(max-width:400spx){
	
.container{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-template-rows: repeat(5, 1fr);
}
}
	.box{
		position: relative;
		width: 300px;
		height: 300px;

	}
.box .imgbox{
	width: inherit;
	height: inherit;
	overflow: hidden;
}


.box .imgbox img{
	width: 100%;
	height: 100%;
    transition: 2s;
}
.box .content{
	position: absolute;
	top: 10px;
	left: 10px;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0,.8);
	color: #fff;
	text-align: center;
	padding: 15px;
	transition: transform .5s;
	transform: scale(0);
}
.box:hover .content{
	transform: scale(1);
}
 .box .content h2{
 	margin-top: 40px;
 	padding: 0;
 	font-size: 20px;
 	color: #ff0;
 }

.box .content h2{
	margin: 10px 0 0;
	padding: 0;

}




