/* Styling for the overall products list */
.product-list {
    display: flex;            /* lay products out one after another */
    flex-wrap: wrap;          /* allow wraparound */
    gap: 1.5em;               /* leave space between each */
    justify-content: center;  /* center on each row whatever will fit */
    margin-top: 2em;          /* leave a gap at the top */
    margin-bottom: 2em;       /* leave a gap at the bottom */
}

/* General settings for each product */
.product {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px; /* slightly rounded */
    padding: 1em; /* a little bit of padding around the inside */
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}

/* Settings for the products */
.product img {
    max-width: 150px;
    height: auto;
    border-radius: 20px; /* rounded corners */
}

/* Header above the product image */
.product h3 {
    margin: 0.5em 0;
    color: #003366;
}

/* Text below the product image */
.product p {
    font-size: 0.95em;
    color: #555;
}

/* Cause the product to lift up a bit when hovering over it */
.product:hover {
    transform: translateY(-10px);
}

