@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
}

body {
	background: rgb(4, 202, 252);
	font-family: 'Open Sans', sans-serif;
}



.body-catalogo1{
	background-image: none;
	background-color: #ffffff;
}

.body-catalogo2{
	background-image: none;
	background-color: #ffffff;
}

.body-catalogo3{
	background-image: none;
	background-color: #ffffff;
}

.body-catalogo4{
	background-image: none;
	background-color: #ffffff;
}


body{
    min-height: 100vh;
    background-image:url(../image/350.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body:before{
    content:"";
    width: 100%;
    min-height: 100vh;
    position: absolute;
    top:0;
    left:0;
    
   
    opacity: 0.5;

}

a {
	text-decoration: none;
	color: white !important;
}

.btn{
	border: none;
	background-color: transparent;
	color: white;
	font-size: 1em;
	cursor:  pointer !important;
}

header .img-banner{
	background-color: red;
	height: 40vh;
}

.contenedor {
	width: 90%;
	max-width: 1200px;
	margin: auto;
}

/* ------------------------- */
/* HEADER */
/* ------------------------- */

header {
	padding: 40px 0;
}

header .logo {
	max-width: 30% !important;
    height: auto;
}
header .logo h1 {
	color: #ff6900;
}
header .logo p {
	color: #fff;
}

header form {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

header .barra-busqueda {
	width: 70%;
	height: 40px;
	line-height: 40px;
	background: #fff;
	padding: 0 20px;
	border-radius: 100px;
	border: 1px #000 solid;
	text-align: center;
	font-size: 16px;
	position: relative;
}

header .categorias {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

header .categorias a {
	color: #9B9B9B;
	margin: 10px 20px;
	font-size: 18px;
	font-weight: 700;
}

header .categorias a.activo {
	color: #ff6900;
}

/* ------------------------- */
/* Grid */
/* ------------------------- */

.grid {
	position: relative;
	width: 100%;
	opacity: 0;
	height: 100vh;

	transition: opacity 0.5s linear 1s;
}

.grid.imagenes-cargadas {
	opacity: 1;
}

.grid .item {
	position: absolute;
	display: block;
	height: 350px;
	padding: 0;
	margin: 10px;
	width: calc(33.333333% - 40px);
}

.grid .item-contenido {
	position: relative;
}

.grid .item img {
	width: 100%;
	cursor: pointer;
	vertical-align: top;
}

/* ------------------------- */
/* Overlay */
/* ------------------------- */
.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,.9);
	width: 100%;
	height: 100vh;
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.overlay.activo {
	display: flex;
}

.overlay img {
	max-width: 100%;
}

.overlay .color-bg-1{
	display: block;
	background: rgb(3, 3, 3);
	color:white;
	width: 100%;
	padding: 20px;
	text-align: center;
	margin-top: 5px;
	border-end-end-radius: 20px;
	border-end-start-radius: 20px;
	max-width: 50%;
}

.overlay .color-bg-2{
	display: block;
	background: rgb(224,60,49);
	color:white;
	width: 100%;
	padding: 20px;
	text-align: center;
	margin-top: 5px;
	border-end-end-radius: 20px;
	border-end-start-radius: 20px;
	max-width: 50%;
}

.overlay .color-bg-3{
	display: block;
	background: rgb(36,52,102);
	color:white;
	width: 100%;
	padding: 20px;
	text-align: center;
	margin-top: 5px;
	border-end-end-radius: 20px;
	border-end-start-radius: 20px;
	max-width: 50%;
}

.overlay .color-bg-4{
	display: block;
	background: rgb(197,30,37);
	color:white;
	width: 100%;
	padding: 20px;
	text-align: center;
	margin-top: 5px;
	border-end-end-radius: 20px;
	border-end-start-radius: 20px;
	max-width: 50%;
}

.contenedor-img {
	position: relative;
}

.overlay #btn-cerrar-popup {
	background: none;
	font-size: 20px;
	color: #fff;
	border: none;
	cursor: pointer;
	position: absolute;
	right: -20px;
	top: -20px;
}

/* ------------------------- */
/* Footer */
/* ------------------------- */
footer .redes-sociales {
	display: flex;
	align-content: center;
	justify-content: center;
	padding: 20px;
	flex-wrap: wrap;
}

footer .redes-sociales a {
	display: block;
	width: 60px;
	height: 60px;
	background: #000;
	color: #fff;
	margin: 20px;
	text-align: center;
	border-radius: 100px;
	transition: .3s ease all;
}

footer .redes-sociales .whatsapp{background: #45a803;}
footer .redes-sociales .facebook {background: #3b5998;}
footer .redes-sociales .instagram {background: #c13584;}

footer .redes-sociales a i {
	font-size: 20px;
	line-height: 60px;
}

footer .contenedor-icono:hover a {
	animation: icono .5s ease;
}

.grid .item-contenido {
    position: relative;
    width: 100%;
    /* background-color: white; */
}

.div-img-articulo {
    width: 73%;
    margin-left: 50px;
}
.item-title-referencia1 {
    /* width: 0%; */
    padding: 15px;
    background-color: rgb(28,30,27);
    color: white;
    font-weight: bold;
    text-align: center;
}

.item-title-referencia2{
/* width: 0%; */
	padding: 15px;
	background-color: rgb(224,60,49);
	color: white;
	border-end-end-radius: 22px;
	border-start-start-radius: 22px;
	font-weight: bold;
	text-align: center;
}

.item-title-referencia3{
	/* width: 0%; */
		padding: 15px;
		background-color: rgb(36,52,102);
		color: white;
		border-end-end-radius: 22px;
		border-start-start-radius: 22px;
		font-weight: bold;
		text-align: center;
	}

	.item-title-referencia4{
		/* width: 0%; */
			padding: 15px;
			background-color: rgb(197,30,37);
			color: white;
			border-end-end-radius: 22px;
			border-start-start-radius: 22px;
			font-weight: bold;
			text-align: center;
		}


@keyframes icono {
	from {
		transform: rotate3d(0,0,0,0);
	}
	to {
		transform: rotate3d(0,1,0, 360deg);
	}
}

footer .creado-por {
	margin-bottom: 40px;
	text-align: center;
	font-size: 14px;
	color: rgb(12, 12, 12);
}

footer .creado-por a {color: #ff6900;}
footer .creado-por a:hover {text-decoration: underline;}

/* ------------------------- */
/* Mediaqueries */
/* ------------------------- */
@media screen and (max-width: 700px) {
	.grid .item {
		width: 90%;
		transform: none !important;
		position:relative !important;
	}

	.div-img-articulo {
		width: 100%;
		margin-left: 0;
	}

	.grid .item img{
		height: 33vh;
	}

	header .barra-busqueda {
		width: 100%;
	}

	
}