@font-face {
  font-family: "Goldman";
  src: url(../recursos/fonts/GoldmanSans.ttf);

  font-family: "Goldman-italica";
  src: url(../recursos/fonts/GoldmanSans_italic.ttf);

  font-family: "Poppins";
  src: url(../recursos/fonts/Poppins-Medium.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #e2e2e2;
  font-size: 16px;
  line-height: 2;
  font-family: "Poppins";
}

/*------------------------------*/

/*--------------------WHATSAPP------------------------*/

.floating-wpp {
  z-index: 98;
  position: fixed;
  bottom: 15px;
  left: 15px;
  font-size: 14px;
  transition: bottom 0.2s;
}
.floating-wpp .floating-wpp-button {
  z-index: 98;
  position: relative;
  border-radius: 50%;
  box-shadow: 1px 1px 4px rgba(60, 60, 60, 0.4);
  transition: box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
}
.floating-wpp .floating-wpp-button img,
.floating-wpp .floating-wpp-button svg {
  z-index: 98;
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
}
.floating-wpp:hover {
  bottom: 17px;
}
.floating-wpp:hover .floating-wpp-button {
  box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.4);
}
.floating-wpp .floating-wpp-popup {
  z-index: 98;
  border-radius: 6px;
  background-color: #e5ddd5;
  position: absolute;
  overflow: hidden;
  padding: 0;
  box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.25);
  width: 0;
  height: 0;
  bottom: 0;
  opacity: 0;
  transition: bottom 0.1s ease-out, opacity 0.2s ease-out;
  transform-origin: bottom;
}
.floating-wpp .floating-wpp-popup.active {
  z-index: 98;
  padding: 0 12px 12px;
  width: 260px;
  height: auto;
  bottom: 82px;
  opacity: 1;
}
.floating-wpp .floating-wpp-popup .floating-wpp-message {
  z-index: 98;
  background-color: #fff;
  padding: 8px;
  border-radius: 0 5px 5px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.floating-wpp .floating-wpp-popup.active .floating-wpp-message {
  opacity: 1;
  transition-delay: 0.2s;
}
.floating-wpp .floating-wpp-popup .floating-wpp-head {
  z-index: 98;
  text-align: right;
  color: #fff;
  margin: 0 -15px 10px;
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.floating-wpp .floating-wpp-input-message {
  z-index: 98;
  background-color: #fff;
  margin: 10px -15px -15px;
  padding: 0 15px;
  display: flex;
  align-items: center;
}
.floating-wpp .floating-wpp-input-message textarea {
  z-index: 98;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: none;
  padding: 8px;
  margin: 10px 0;
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-size: inherit;
  resize: none;
}
.floating-wpp .floating-wpp-btn-send {
  z-index: 98;
  margin-left: 12px;
  font-size: 0;
  cursor: pointer;
}

/*-------------------Cátalogo de productos---------------------*/


/*Portada*/

/*----------*/

.encabezado-mayusculas {
  font-family: "Poppins";
}

#header {
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  background-image: url("../recursos/images/liquid-cheese.png");
  height: auto;
  padding: 100px 100px;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

h1 {
  color: white;
  text-align: center;
}
a#download {
  display: block;
  text-align: center;
  width: 150px;
  margin: 0px auto;
  padding: 20px;
  color: white;
  text-transform: uppercase;
  font-family: Arial;
  border: 1px solid #fff;
  text-decoration: none;
  border-radius: 10px;
}


/*Contenedor de categorias*/

input[type="radio"]{
  display: none;
}

.container-category{
  width: 100%;
  margin: auto;
  flex-wrap: wrap;
  margin-top: 20px;
}

.container-category label{
  padding: 2px 10px;
  margin: 10px;
  font-size: 20px;
  background: #e2e2e2;
  border-radius: 5px;
  cursor: pointer;
}

.container-category label:hover{
  opacity: 0.8;
}



/*Post - Publicaciones*/

.container-post{
  max-width: 1200px;
  margin: auto;
  text-align: center;
  margin-bottom: 0;
}

.posts{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;

  margin-top: 20px;
  padding: 10px;
}

.posts .post{
  background: #fff;
  box-shadow: 0 0 20px -20px black;
  border-radius: 6px;
  overflow: hidden;
  padding-bottom: 0;
}

.post .ctn-img{
  width: 100%;
}

.post .ctn-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post h2{
  font-size: 18px;
  margin-top: 20px;
  padding: 0px 20px;
}

.post span{
  display: block;
  margin-top: 10px;
  padding: 0px 20px;
}

.ctn-tag{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-left: 16px;
  margin-top: 10px;
}

.ctn-tag li{
  list-style: none;
  font-size: 14px;
  margin: 4px;
  padding: 6px 10px;
  background: #e8e8e8;
  cursor: default;
}


.post button{
  margin-top: 20px;
  margin-left: 20px;
  padding: 10px 50px;
  font-size: 16px;
  background: #46a2fd;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.post button:hover{
  opacity: 0.9;
}


/*sistema de filtrado*/

[value="TODOS"]:checked ~ .posts .post[data-category]{
  display: block;
}

[value="FLEJES"]:checked ~ .posts .post:not([data-category~="FLEJES"]),
[value="SELLOS"]:checked ~ .posts .post:not([data-category~="SELLOS"]),
[value="CARTÓN"]:checked ~ .posts .post:not([data-category~="CARTÓN"]),
[value="CINTAS"]:checked ~ .posts .post:not([data-category~="CINTAS"]),
[value="HERRAMIENTAS"]:checked ~ .posts .post:not([data-category~="HERRAMIENTAS"]),
[value="EMPLAYE"]:checked ~ .posts .post:not([data-category~="EMPLAYE"]),
[value="BURBUJA"]:checked ~ .posts .post:not([data-category~="BURBUJA"]),
[value="POLYFOAM"]:checked ~ .posts .post:not([data-category~="POLYFOAM"]){
  display: none;
}

[value="TODOS"]:checked ~ .container-category [for="TODOS"],
[value="FLEJES"]:checked ~ .container-category [for="FLEJES"],
[value="SELLOS"]:checked ~ .container-category [for="SELLOS"],
[value="CARTÓN"]:checked ~ .container-category [for="CARTÓN"],
[value="CINTAS"]:checked ~ .container-category [for="CINTAS"],
[value="HERRAMIENTAS"]:checked ~ .container-category [for="HERRAMIENTAS"],
[value="EMPLAYE"]:checked ~ .container-category [for="EMPLAYE"],
[value="BURBUJA"]:checked ~ .container-category [for="BURBUJA"],
[value="POLYFOAM"]:checked ~ .container-category [for="POLYFOAM"]{
  background: #46a2fd;
  color: #fff;
}

@media screen and (max-width: 1200px){
  .posts{
      grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 900px){
  .posts{
      grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 580px){
  .posts{
      grid-template-columns: repeat(1, 1fr);
  }
}


/*---------------FORMATO CUADRADO-----------------*/


.wrap{
	max-width: 1100px;
	width: 90%;
	margin: auto;
}

.wrap > h1{
	color: #494B4D;
	font-weight: 400;
	display: flex;
	flex-direction: column;
	text-align: center;
	margin: 15px 0px;
}

.wrap > h1:after{
	content: '';
	width: 100%;
	height: 1px;
	background: #C7C7C7;
	margin: 20px 0;
}

.store-wrapper{
	display: flex;
	flex-wrap: wrap;
}

.category_list{
	display: flex;
	flex-direction: column;
	width: 18%;
}

.category_list .category_item{
	display: block;
	width: 90%;
	padding: 15px 0;
	margin-bottom: 20px;
	background: #E84C3D;

	text-align: center;
	text-decoration: none;
	color: #fff;
}

.category_list .ct_item-active{
	background: #2D3E50;
}

/* PRODUCTOS ============*/

.products-list{
	width: 82%;
	display: flex;
	flex-wrap: wrap;
}


.products-list .product-item{
	width: 22%;
	margin-left: 3%;
	margin-bottom: 25px;
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.22);

	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: flex-start;

	transition: all .4s;
}

.post .product-item img{
	width: 100%;
}

.post .product-item a{
	display: block;
	width: 100%;
	padding: 8px 0;
	background: #2D3E50;

	color: #fff;
	text-align: center;
	text-decoration: none;
}

/* RESPONSIVE */

@media screen and (max-width: 1100px){
	.post .product-item{
		width: 30.3%;
	}
}

@media screen and (max-width: 900px){
	.category_list,
	.post{
		width: 100%;
	}

	.category_list{
		flex-direction: row;
		justify-content: space-between;
	}

	.category_list .category_item{
		align-self: flex-start;
		width: 15%;
		font-size: 14px;
	}

	.post .product-item{
		margin-left: 4.5%;
	}

	.post .product-item:nth-child(3n+1){
		margin-left: 0px;
	}
}

@media screen and (max-width: 700px){
	.category_list{
		flex-direction: column;
	}
	.category_list .category_item{
		width: 100%;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 600px){

	.post .product-item{
		width: 47.5%;
	}

	.post .product-item:nth-child(3n+1){
		margin-left: 4.5%;
	}

	.post .product-item:nth-child(2n+1){
		margin-left: 0px;
	}

}

@media screen and (max-width: 350px){
	.post .product_item{
		width: 100%;
		margin-left: 0px;
	}
}


/*---------------TEXTOS------------------*/

.text
{
  position: relative;
  z-index: 10;
}
 
.text h2
{
  font-size: 4em;
  font-weight: 800;
  color: #111;;
  line-height: 1em;
  text-transform: uppercase;
}
.text h3
{
  font-size: 3em;
  font-weight: 700;
  color:#111;
  line-height: 1em;
  text-transform: uppercase;
}
.text p
{
  font-size: 1em;
  color: #111;
  margin: 20px 0;
  font-weight: 400;
  max-width: 700px;
}
.text a
{
  display: inline-block;
  font-size: 1em;
  background: #111;;
  padding: 10px 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
}
.text a:hover
{
  letter-spacing: 6px;
}







