@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap');

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background-color: var(--bg-main-color);
	background-repeat: no-repeat;

}

header {
	display: flex;
	width: 100%;
	justify-content: flex-start;
	background-color: white;
}

.productos_per {
	width: 60%;
	margin-left: 20%;
	display: inline-block;
	text-align: center;
	justify-content: center;
	padding: 3% 3%;
}

.productos_per>h1 {
	font-size: 35px;
	font-family: 'PT Sans Narrow';
	font-weight: 200;
}

.productos_per>p {
	font-size: 15px;
	font-family: 'PT Sans Narrow';
}

.div_grande {
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin-left: 5%;
	margin-bottom: 100px;
}

.div_foto {
	width: 24%;
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin-bottom: 1%;
}

.div_foto_img {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.div_foto_img_hover {
	opacity: 0.2;

}

.div_foto_titulo {
	width: 100%;
	z-index: 100;
	text-align: center;
	color: white;
	font-size: 35px;
	padding-top: 30%;
}

.div_foto_descripcion {
	width: 100%;
	z-index: 100;
	text-align: center;
	padding: 10%;
	color: white;
	font-size: 25px;
}

.div_foto:hover>.div_foto_titulo,
.div_foto:hover>.div_foto_descripcion {
	color: black;
}

.div_foto:hover>img {
	opacity: 0.4;
}

.efecto-zoom {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
	transition: all 1s ease-in-out;
	-webkit-transition: all 1s ease-in-out;
	/** Chrome & Safari **/
	-moz-transition: all 1s ease-in-out;
	/** Firefox **/
	-o-transition: all 1s ease-in-out;
	/** Opera **/
}

@media screen and (max-width: 1500px) {
	.div_foto {
		width: 32.5%;
		transition: 0.2s ease-in-out;
	}
}

@media screen and (max-width: 1100px) {
	.div_foto {
		width: 49%;
		transition: 0.2s ease-in-out;
	}
}

@media screen and (max-width: 700px) {
	.div_foto {
		width: 65%;
		transition: 0.2s ease-in-out;
	}
}

@media screen and (max-width: 600px) {
	.div_foto {
		width: 80%;
		transition: 0.2s ease-in-out;
	}
}

@media screen and (max-width: 400px) {
	.div_foto {
		width: 95%;
		transition: 0.2s ease-in-out;
	}
}