:root{
    --white: #FFFFFF;
    --black: #000000;
    --dark: #232830;
    --very-light-pink: #C7C7C7;
    --text-input-field: #F7F7F7;
    --hospital-green: #ACD9B2;
    --card-pink: #c9adc9;
    --ninios-purple: #9e4b9b;
    --font-purple: #2d1434;
    --sm: 14px;
    --md: 16px;
    --lg: 18px;
}
body{
    font-family: 'Quicksand', sans-serif;
}
.cards-container {
    display:grid;
    grid-template-columns: repeat(auto-fill, 240px); /*repeat(2,1fr)*/
    gap: 24px;
    place-content: center;
}
.product-card {
    width: 240px;
    background-color: var(--card-pink);
    border-radius: 10px;
    border: 1px solid var(--card-pink);
}
.product-card:hover {
    box-shadow: 6px 6px 6px 0 #0c0c0e47;
    border-color: var(--font-purple);
}
.product-card img {
    width: 240px;
    height: 240px;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}
.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px;
}
.product-card figure {
    margin: 0;
}
.product-info figure img {
    width: 35px;
    height: 35px;
}
.product-info div p:nth-child(1) {
    font-weight: bold;
    font-size: var(--md);
    margin-top: 0;
    margin-bottom: 4px;
}
.product-info div p:nth-child(2) {
    font-size: var(--sd);
    margin-top: 0;
    margin-bottom: 0;
    color: var(--font-purple);
}
@media (max-width:640px) {
    .cards-container {
        grid-template-columns: repeat(auto-fill, 140px);
    }
    .product-card {
    width: 140px;
    }
    .product-card img {
        width: 140px;
        height: 140px;
    }
}

/* Si se quiere crear tarjetas transparentes con CSS 
body{
    background-image: url('');
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card {
    position: relative;
    margin: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.4);
    height: 350px;
    width: 250px;
}*/