* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--purple-dark: #170312;
	--purple-medium: #33032d;
    --purple-light: #531253;
    --gray-light: #eaeaea;
    --white: #f4fffd;
    --green-dark:#22e2b2;
    --green-medium:#53f8cf;
    --green-light:#53f3cb;
}

body {
	background:
    radial-gradient(#e2dedf 3px, transparent 2px),
    radial-gradient(#e2dedf 3px, transparent 2px),
    linear-gradient(#fff 4px, transparent 0),
    linear-gradient(45deg, transparent 74px, transparent 75px, #e2dedf 75px, #e2dedf 76px, transparent 77px, transparent 109px),
    linear-gradient(-45deg, transparent 75px, transparent 76px, #e2dedf 76px, #e2dedf 77px, transparent 78px, transparent 109px),
    #fff;
    background-size: 109px 109px, 109px 109px,100% 6px, 109px 109px, 109px 109px;
    background-position: 54px 55px, 0px 0px, 0px 0px, 0px 0px, 
	font-size: 20px;
	font-family: 'Montserrat Alternates', sans-serif;
font-family: 'Poiret One', cursive;
}

a4 {
	font-family:'Poiret One';
	color:#059ae7;
	
	}

.ir-arriba {
	display:none;
	padding:10px;
	
	font-size:40px;
	color:#7b7677;
	cursor:pointer;
	position: fixed;
	bottom:10px;
	right:10px;
	border-radius: 60px;
	z-index:999;
}


a {
	text-decoration: none;
}

.logo1 {
	width:90%;
	max-width: 800px;
	margin:auto;
}

.logo1 img {
	width: 65%;
	padding-bottom: 20px;
}

.contenedor {
	width: 90%;
	max-width: 800px;
	margin: auto;
	text-align: center;
}

.contenido-header2 {
	width: 100%;
	max-width: 2738px;
	height: 100vh; /*con vh se establezce que tenga el alto del dipositivo móvil.*/
	background-image: url(../img/mariposatapalpa.jpg);
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
    
}

.contenido-header2 .fondo {
	width: 0%;
	height: 100%;
	max-width: 100%;
	
}

.contenido-header2 .texto {
	width: calc(100vw - 20px);
	height: 100vh;
	font-size: 90px;
	font-weight: 400;
	font-family: 'Poiret One', cursive;
	font-style: italic;
color:#1c67b0;

	display: flex;
	align-items: center;
	justify-content: center;
	
	
	mix-blend-mode: screen;
}



.mainmovil2 {
	display: none;
	background-image: url(../img/mariposamobil2.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;

width: 100%;
height: 90vh;
max-width: 600px;
margin: auto;
text-align: center;
}

.mainmovil2 h1 {
	display:none;
	color:#f6ef84;
	
	font-size: 65px;
	padding-top: 260px;
	mix-blend-mode: color-dodge;
}


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

header {
	padding: 0px 0;
}

header .logo {
	text-align: center;
	margin-bottom: 40px;
}

header .logo p {
	color: #531253;
}

header .logo i {
	font-size: 30px;
	color:var(--purple-light);
}

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 solid var(--purple-light);
	text-align: center;
	font-size: 16px;
}

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

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

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



 .contenedor .enlace {
	display: inline-block;
	margin-top: 40px;
	color: var(--purple-light);
	font-weight: 700;
	border: 1px solid var(--purple-light);
	transition: .3s ease all;
	font-size: 25px;
	font-family: 'Poiret One', serif;
	padding: 5px;
	
}

.contenedor .enlace:hover {
	color:#fff;
	background-color: var(--purple-light);
	text-decoration: none;
	letter-spacing: 3px;
	
}

.contenedor .nosotros i {
	font-size: 30px;
	color:var(--purple-light);
}

.click p {
	font-size: 22px;
	color:var(--purple-light);
	font-family: 'Poiret One', serif;
}

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

.grid {
	position: relative;
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s linear 1s;


}

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

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

.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;
	text-align: center;
	justify-content: center;
	flex-direction: column;
	z-index: 1000;
}

.overlay.activo {
	display: flex;
}

.overlay img {
	max-width:70%;

}

.overlay .descripcion {
	display: block;
	color: var(--purple-light);
	background: #fff;
	padding: 20px;
	text-align: center;
	margin-top: 5px;
	border-radius: 10px;
	max-width: 50%;
}

.contenedor-img {
	position: relative;
}

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

.vacio {
	padding: 20px;
}

/* ------------------------- */
/* Footer */
/* ------------------------- */



.direccion {

	width: 80%;
	max-width: 1500px;
	
	color:var(--purple-light);
	margin:auto;
	padding: 10px;
	text-align: center;
	border-top: 5px solid:#531253;
	border-bottom: 5px solid:#531253;
}

.direccion i {
	font-size: 30px;
}

.direccion p {
	font-size: 25px;
}

.callchat i {
	color:#fff;
	font-size: 20px;
	background-color:var(--purple-light);
	padding: 10px;
}

.callchat i:hover {
	color:var(--purple-light);
	background-color: transparent;
	border:1px solid var(--purple-light);
}

.callchat a {
	padding: 3px;
font-size: 20px;
}


.redes-sociales {
	
	padding: 10px;
	background-color: var(--purple-light);
}

.redes-sociales img {
	padding: 5px;
	border-radius: 100%;
	width: 50px;
	transition: .3s ease all;
}

.redes-sociales img:hover {
	transform: scale(1.2);
}

.redes-sociales a {
	color: #b8b5b4;
}
/* ------------------------- */
/* Mediaqueries */
/* ------------------------- */
@media screen and (max-width: 600px) {
	.grid .item {
		width: calc(50% - 20px);
	}

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

	.menu a {
		padding: 5px;
		font-size: 25px;
	}

	.overlay img {
	max-width:90%;

}

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

.contenido-header2 {
	display:none;
	
    
}

.logo1 img {
	width:100%;
}
.contenido-header2 .texto {
		display:none;

	}

	.mainmovil2 {
		display:block;
	}

	.productos p {
	font-size: 22px;
}

.mainmovil2 h1 {
		display:block;
	}

	.direccion {
		width:95%;
	}

	.direccion p {
	font-size: 26px;
}

.callchat i {
	font-size:26px;
}

.callchat a {
	font-size:26px;
}

	

	
}