/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
  gap: 20px;
  margin-bottom: 40px;
}

.product {
  text-align: center;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.product img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.4); 
}
  
  .modal-content {
    background-color: #1c1c1c;
    margin: 10% auto; /* Adjust top/bottom margin */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 800px; /* Set max-width to 800px */
    text-align: center;
    border-radius: 10px;
  }
  
  .close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
  
  .close-modal:hover,
  .close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-image {
    max-width: 100%; /* Image will scale to fit the container width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px;
    border-radius: 10px;
}

.credit-icon {
    margin-right: 5px; /* Add spacing between the icon and text */
    width: 15px; /* Adjust the icon height as needed */
    vertical-align: middle; /* Align the icon vertically with the text */
    margin: 0px 0px 5px 5px;
  }
