body{
	background-color: white;
}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.galeria{
	font-family: open sans;
}

.galeria h1{
	text-align: center;
	margin: 20px 0 15px 0;
	font-weight: 300;
}

.linea{
	border-top: 5px solid #3B791E;
	margin-bottom: 40px;
}

.contenedor-imagenes{
	display:flex;
	width: 70%;
	margin: auto;
	justify-content: space-around;
	flex-wrap: wrap;
	border-radius:4px;
}

.contenedor-imagenes .imagen{
	width: 30%;
	position: relative;
	height: 200px;
	margin-bottom:13px;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75);
}

.imagen img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.overlay{
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(59, 121, 30, 0.637);
	width:100%;
	height: 0;
	overflow: hidden;
	transition: .5s ease;
}

.overlay h2{
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
	transform: translate(-50%, -50%);
}


.imagen:hover .overlay{
	height: 100%;
	cursor: pointer;
}

@media screen and (max-width:1000px){
	.contenedor-imagenes{
		width: 95%;
	}
}

@media screen and (max-width:700px){
	.contenedor-imagenes{
		width: 90%;
	}
	.contenedor-imagenes .imagen{
		width: 48%;
	}
}

@media screen and (max-width:450px){
	h1{
		font-size: 22px;
	}
	.contenedor-imagenes{
		width: 98%;
	}
	.contenedor-imagenes .imagen{
		width: 80%;
	}
}
footer{
    background-color:white;
}