@font-face {
  font-family: 'Poppins';
  src: local('Poppins'), url('/fonts/Poppins-Regular.ttf') format('truetype');
}

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif !important;
}

/* Rest of the CSS code remains the same */


/* Style for cards */
.card-columns {
  margin: 5px;
}

@media (min-width:992px) and (max-width: 1330px) {

  .product-info-text {
    font-size: 10px !important;
    margin-left: 3px !important;

  }

  .product-info-item {
    padding: .2rem !important;
    margin: 0px !important;
  }

  .product-info-item i {
    margin: 3px !important;
    font-size: 10px !important;
  }
}

/* Media query for three cards on desktop and laptop devices */
@media (min-width: 992px) {
  .card-columns {
    column-count: 3;
  }

  .product-info-text {
    font-size: 12px;
    padding: 0px;
    margin: 0px;
  }
}

/* Media query for two cards on tablet devices */
@media (min-width: 768px) and (max-width: 991.98px) {
  .card {
    margin: 10px !important;
  }

  .card-columns {
    column-count: 2;
  }

  .product-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0px;
    color: black;
  }

  .product-info-text {
    font-size: 10px !important;
    margin: 2px !important;

  }

  .icons {
    font-size: 10px;
    margin: 10px;
    color: black !important;
  }
  .icons img{
    width: 10px !important;
  }

  .product-info-item img {
    font-size: 8px !important;
    width: 5px !important;
  }



  .product-desc {
    font-size: 12px;
  }
}

/* Media query for one card on mobile devices */
@media (max-width: 767.98px) {

  .card {
    margin: 10px !important;
  }

  .card-columns {
    column-count: 1;
  }

  .product-title {
    font-size: 18px;
    font-weight: 900;
    margin: 0px;
  }

  .product-info-text {
    font-size: 10px;
    margin: 0px;
  }

  .icons {
    font-size: 10px;
    margin: 10px;
  }

  .product-desc {
    font-size: 12px;
    text-align: center;
  }
}

/* Media query for one card on mobile devices */
@media (min-width:320px) and (max-width: 430px) {

  .card {
    margin: 15px !important;
  }

  .card-columns {
    column-count: 1;
  }

  .product-title {
    font-size: 18px;
    font-weight: 900;
    margin: 0px;
  }

  .product-info {
    padding: 0px;
  }

  .product-info-text {
    font-size: 10px !important;
    margin: 0px !important;
  }

  .icons {
    font-size: 10px !important;
  }

  .product-desc {
    font-size: 12px;
    text-align: center;
  }

  .product-info-item {
    margin: 2px !important;
    padding: 1px !important;

  }

  .product-info-item i {
    padding: 2px !important;
    margin: 0px;
    font-size: 8px;
  }

}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  width: 80%;
  max-width: 400px;
  font-family: 'Poppins', sans-serif;
  border-radius: 10px;
  overflow: hidden;
  margin: 0px;
  /* background-color: #fcecd442; */
  background-color: #fff;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1),
    -4px -4px 8px rgba(0, 0, 0, 0.1),
    4px -4px 8px rgba(0, 0, 0, 0.1),
    -4px 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all ease-in .5s !important;
  text-decoration: none !important;  
  
}

.card:hover .product-desc {
  opacity: 1;
  visibility: visible;
  transform: scale(1.1) !important;
}

.product-img {
  width: 100%;
  height: auto;
}

.product-details {
  align-items:center;
  padding: 20px;
}

.product-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  color: black;
  text-align: start;  
}

.product-info-item i {
  color: grey !important;

}

.icons i {
  color: grey !important;
}

.icons {
  display: flex;
  align-items: center;
  margin: 10px;
  font-size: 10px;
  color: black;
}

.fa-chalkboard-teacher {
  margin-right: 10px;
  color: grey !important;

}

.desc {
  justify-content: center !important;
  justify-self: center !important;
  justify-items: center !important;
  vertical-align: middle !important;

}

.product-desc {
  font-size: 12px;
  line-height: 1.5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  padding: 1.5rem !important;
  box-sizing: border-box;
  text-align: center;
  justify-content: center !important;
  justify-self: center !important;
  justify-items: center !important;
  vertical-align: middle;
}
.product-desc span{
  vertical-align: middle;
}



.product-info {
  display: flex;
  justify-content:space-around;
  margin-top: 5px;
  background-color: #FFFFFF;
  border: 1px solid #ddd;
  border-radius: .3em;
  padding: 2px;
  color: black;
}

.product-info-item {
  display: flex;
  align-items: center;
  padding: 4px !important;
}

.product-info-item i {
  margin-right: 2px;
}
.product-info-text {
  font-size: 14px;
  margin-left: 3px;
}