*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Quicksand', sans-serif;
}
.red{
	outline: 3px dashed red;
}
.green{
	outline: 3px dashed green;
}
.blue{
	outline: 3px dashed blue;
}
.black{
	outline: 3px dashed black;
}
.yellow{
	outline: 3px dashed yellow;
}
.cyan{
	outline: 3px dashed cyan;
}
h1{
	text-align: center;
}
section{
	height: 100vh;
	width: 100vw;
	/*border:1px solid red;*/
	display: flex;
	justify-content: center;

}
.box {
	width: 98%;
	height: 90vh;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
}
.imgg{
	flex-basis: 24%;
	/*border:1px solid green;*/
	height: 170px;
	overflow: hidden;
	position: relative;
}
img{
	width: 100%;
	/*width: auto;*/
	height: 100%;
	transition: 0.2s;
}
h2{
	position: absolute;
	width: 100%;
	left: 0%;
	bottom: 0;
	text-align: center;
	transform: translateY(100%);
	background-color: rgba(0, 0, 0,0.5);
	transition: 0.4s;
	color: white;
	font-size: 1.1rem;
}
.imgg:hover h2{
	transform: translateY(0);
	transition: 0.2s;
}
.imgg:hover img{
	transform: scale(1.2);
	transform-origin: bottom;
}
@media(max-width: 980px)
{
	section{
		height: auto;
	}
	.box{
		height: auto;
	}
	.imgg{
		flex-basis: 33%;
		margin-top: 0.5%;
	}
	h2{
		transform: translateY(0%);
	}
	img{
		transform: scale(1.2);
		transform-origin: bottom;
	}
}
@media(max-width: 720px)
{
	.imgg{
		flex-basis: 49%;
		height: 200px;
		margin-top: 2%;
	}
	h2{
		font-size: 1.3rem;
	}
}
@media(max-width: 480px)
{
	.imgg{
		flex-basis: 100%;
		height: 300px;
	}
	img{
		transform: scale(1.0);
	}
}