@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  margin: 2px;
  background-color: #f5f5f5;
  border-radius: 8px;
} 

.product {
  display: flex;
  background-color: #fff;
  box-shadow: 2px 2px 10px #00000064;
  border-radius: 20px;
  margin: 20px;
}

.product-img img {
  display: flex;
  border-radius: 20px;
  padding: 15px;
  margin: 100px 30px;
  width: 500px;
  cursor: pointer;
}

.product__information {
  display: block;
  margin: auto;
  padding: 10px;
}

.product__information-name {
  text-transform: uppercase;
  color: #f3a302;
}

.product__information-price {
  font-weight: bolder;
  font-size: 20px;
  color: #1eaed1;
}

.product__information-amount b,
.product__information-materials b,
.product__information-description b {
  display: block;
}

.materials-img img {
  display: block;
  border-radius: 20px;
  width: 380px;
  margin: 10px 0;
  cursor: pointer;
}

/* Productos de abajo */

.container-card {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 10px;
}

.card {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff77;
  box-shadow: 2px 2px 10px #0000006b;
  width: 230px;
  padding: 30px;
  border-radius: 20px;
  border: none;
  margin: 20px;
}

.card h1 {
  display: flex;
  margin: auto;
  font-size: 18px;
  font-weight: bold;
}

.card img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  width: 150px;
  cursor: pointer;
  transition: all 0.5s;
}

.card img:hover {
  transform: scale(1.03);
  margin-top: 6px;
}

@media screen and (max-width: 950px) {
  .product-img img {
    width: 400px;
  }

  .materials-img img {
    width: 300px;
  }
  .product__information {
    width: 270px;
    margin: 0;
    text-align: center;
  }

  .btn {
    margin: 10px 0;
  }
} 

@media screen and (max-width: 850px) {
  .product {
    display: block;
    margin: 10px auto;
  }

  .product__information {
    display: block;
    margin: auto;
    width: 400px;
    text-align: center;
  }

  .product-img img {
    display: block;
    margin: auto;
    margin-top: 20px;
  }

  .materials-img img {
    display: block;
    margin: auto;
    width: 400px;
  }
}

@media screen and (max-width: 780px) {
  .product {
    display: block;
    margin: auto;
  }

  .product-img img {
    display: block;
    width: 350px;
    margin: 30px auto;
  }

  .product__information {
    display: block;
  }

  .materials-img img {
    display: block;
    width: 300px;
  }

  .button {
    display: block;
    margin: auto;
  }
}

@media screen and (max-width: 460px) {
  .product {
    margin: 10px;
  }

  .product__information {
    display: block;
    margin: auto;
    width: auto;
  }

  .product-img img {
    width: 300px;
  }

  .materials-img img {
    display: block;
    width: 250px;
  }
}

@media screen and (max-width: 300px) {
  .product {
    display: block;
    margin: auto;
    width: auto;
  }

  .product__information {
    width: auto;
  }

  .product-img img {
    width: auto;
  }

  .materials-img img {
    width: auto;
  }
}

@media screen and (max-width: 281px) {
  .product {
    display: block;
    margin: auto;
    width: 200px;
  }

  .product__information {
    margin: 30px;
  }

  .btn {
    display: block;
    margin: 20px auto;
    width: 10;
  }

  .materials-img img {
    text-align: center;
    width: 100px;
    margin: auto;
  }

  .product-img img {
    display: block;
    padding: 20px;
    margin: auto;
    width: 150px;
  }
}