body {
    background-color: whitesmoke;
    margin: 0;
    font-family: Arial, sans-serif;
    color: black;
}

.navbar {
    display: flex;
    justify-content: space-between;
    background-color: rgb(136, 8, 8);
    padding: 1rem;
}

.navbar a {
    color: whitesmoke;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.navbar .nav-link.active {
    color: white; /* Ensure active link has white text */
}

.navbar-links a:hover {
    background-color: #555;
}


footer {
    font-size: 0.9em;
    color: #666;
}

.container {
    max-width: 100%;
    padding: 0 1rem;
    
}

.custom-card {
    margin: 10px;
    background-color: #800000;
    border-radius: 10px;
    display: block; /* Ensure cards follow block-level behavior */
    height: 100%; /* Make cards consistent in height */
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* Full card height */
}

.card-icon {
    width: 100%;
    height: auto;
    margin-bottom: 15px; /* Add spacing below the icon */
}

/* Adjustments for card title */


.a .card-title{
    color: inherit;       /* Inherit the color of the parent */
    text-decoration: none; /* Remove underline from entire link */
}

.product-card {
    margin: 10px;
    background-color: white;
    border-radius: 10px;
    display: block; /* Ensure cards follow block-level behavior */
    height: 100%; /* Make cards consistent in height */
    
}

.product-card {
    margin: 10px;
    background-color: white;
    border-radius: 10px;
    display: block;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden; /* Evită overflow-ul cardului */
}

.nutritional-table {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow-x: auto; /* Adaugă scroll orizontal dacă tabelul depășește lățimea cardului */
}


.btn-link{
    color: #800000;
    text-decoration: none;
}

.btn-link:hover {
    color: #800000;
    text-decoration: underline;
}