:root {
    --primary-color: #e0e5ec;
    --secondary-color: #8e9eab;
    --text-color: #333;
    --shadow-light: #ffffff;
    --shadow-dark: #a3b1c6;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.neumorphic {
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.neumorphic:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

header {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.logo {
    font-size: 2rem;
    font-weight: 600;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.food-category, .food-item, .toggle-btn {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.food-category:hover, .food-item:hover, .toggle-btn:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

.toggle-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.macro-circle {
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.macro-circle svg path:last-child {
    stroke: var(--secondary-color);
}

#desired-calories {
    background: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
    color: var(--text-color);
    font-size: 16px;
}

.nutrient-table {
    background: var(--primary-color);
    border-radius: 15px;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    overflow: hidden;
}

.nutrient-table th, .nutrient-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--shadow-dark);
}

.nutrient-table th {
    background: var(--secondary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .food-category, .food-item, .toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }

    .macro-circle {
        width: 80px;
        height: 80px;
    }
}

.centered-text {
    text-align: center;
}

.nutrient-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.nutrient-table th,
.nutrient-table td {
    padding: 10px;
    text-align: center;
}

.progress-bar {
    position: relative;
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 20px;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-weight: bold;
}

.contributors {
    font-size: 0.9em;
}

/* Style for buttons */
button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4a90e2;
}

/* Center buttons container */
.buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sliders-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.slider-wrapper {
    width: 80%;
    max-width: 300px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--primary-color);
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: -100vw 0 0 100vw var(--secondary-color);
}

.category-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 40px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.slider-arrow:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.slider-arrow:first-child {
    left: 0;
}

.slider-arrow:last-child {
    right: 0;
}

.category-button-container {
    display: flex;
    gap: 10px;
}

.nutrient-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nutrient-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .nutrient-circle {
        width: 80px;
        height: 80px;
    }
}

.nutrient-circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 120px, 120px, 60px);
}

.nutrient-circle-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 60px, 120px, 0);
    background: var(--secondary-color);
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.nutrient-circle-label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
}

.nutrient-circle-value {
    font-size: 12px;
    z-index: 1;
    text-align: center;
    margin-bottom: 5px;
}

.nutrient-circle-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    z-index: 1;
}

.nutrient-circle-contributors {
    font-size: 10px;
    margin-top: 5px;
    z-index: 1;
    text-align: center;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nutrient-circle-label {
        font-size: 12px;
    }
    .nutrient-circle-value {
        font-size: 10px;
    }
    .nutrient-circle-percentage {
        font-size: 16px;
    }
    .nutrient-circle-contributors {
        font-size: 8px;
    }
}

.portion-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.portion-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.portion-buttons {
    display: flex;
    align-items: center;
}

.portion-buttons button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portion-buttons button:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.portion-value {
    font-size: 14px;
    margin-top: 5px;
}

.portion-emoji {
    font-size: 24px;
    margin-bottom: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.support-button, .website-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.support-button:hover, .website-button:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
}

.support-button {
    background-color: #3b7bbf;
}

.website-button {
    background-color: #2ecc71;
}

.nutrient-category {
:root {
    --primary-color: #e0e5ec;
    --secondary-color: #8e9eab;
    --text-color: #333;
    --shadow-light: #ffffff;
    --shadow-dark: #a3b1c6;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.neumorphic {
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.neumorphic:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

header {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.logo {
    font-size: 2rem;
    font-weight: 600;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.food-category, .food-item, .toggle-btn {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.food-category:hover, .food-item:hover, .toggle-btn:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

.toggle-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.macro-circle {
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.macro-circle svg path:last-child {
    stroke: var(--secondary-color);
}

#desired-calories {
    background: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
    color: var(--text-color);
    font-size: 16px;
}

.nutrient-table {
    background: var(--primary-color);
    border-radius: 15px;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    overflow: hidden;
}

.nutrient-table th, .nutrient-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--shadow-dark);
}

.nutrient-table th {
    background: var(--secondary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .food-category, .food-item, .toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }

    .macro-circle {
        width: 80px;
        height: 80px;
    }
}

.centered-text {
    text-align: center;
}

.nutrient-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.nutrient-table th,
.nutrient-table td {
    padding: 10px;
    text-align: center;
}

.progress-bar {
    position: relative;
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 20px;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-weight: bold;
}

.contributors {
    font-size: 0.9em;
}

/* Style for buttons */
button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4a90e2;
}

/* Center buttons container */
.buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sliders-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.slider-wrapper {
    width: 80%;
    max-width: 300px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--primary-color);
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: -100vw 0 0 100vw var(--secondary-color);
}

.category-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 40px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.slider-arrow:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.slider-arrow:first-child {
    left: 0;
}

.slider-arrow:last-child {
    right: 0;
}

.category-button-container {
    display: flex;
    gap: 10px;
}

.nutrient-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nutrient-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .nutrient-circle {
        width: 80px;
        height: 80px;
    }
}

.nutrient-circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 120px, 120px, 60px);
}

.nutrient-circle-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 60px, 120px, 0);
    background: var(--secondary-color);
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.nutrient-circle-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
}

.nutrient-circle-value {
    font-size: 14px;
    z-index: 1;
    text-align: center;
    margin-bottom: 5px;
}

.nutrient-circle-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
}

.nutrient-circle-contributors {
    font-size: 12px;
    margin-top: 5px;
    z-index: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .nutrient-circle-label {
        font-size: 10px;
    }
    .nutrient-circle-value {
        font-size: 8px;
    }
    .nutrient-circle-percentage {
        font-size: 12px;
    }
    .nutrient-circle-contributors {
        font-size: 6px;
    }
}

.portion-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.portion-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.portion-buttons {
    display: flex;
    align-items: center;
}

.portion-buttons button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portion-buttons button:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.portion-value {
    font-size: 14px;
    margin-top: 5px;
}

.portion-emoji {
    font-size: 24px;
    margin-bottom: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.support-button, .website-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.support-button:hover, .website-button:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
}

.support-button {
    background-color: #3b7bbf;
}

.website-button {
    background-color: #2ecc71;
}

.nutrient-category {
    margin-bottom: 20px;
}

.nutrient-row {
    display: flex;
    justify-content: space-between;
}
:root {
    --primary-color: #e0e5ec;
    --secondary-color: #8e9eab;
    --text-color: #333;
    --shadow-light: #ffffff;
    --shadow-dark: #a3b1c6;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.neumorphic {
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.neumorphic:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

header {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.logo {
    font-size: 2rem;
    font-weight: 600;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.food-category, .food-item, .toggle-btn {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.food-category:hover, .food-item:hover, .toggle-btn:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

.toggle-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.macro-circle {
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.macro-circle svg path:last-child {
    stroke: var(--secondary-color);
}

#desired-calories {
    background: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
    color: var(--text-color);
    font-size: 16px;
}

.nutrient-table {
    background: var(--primary-color);
    border-radius: 15px;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    overflow: hidden;
}

.nutrient-table th, .nutrient-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--shadow-dark);
}

.nutrient-table th {
    background: var(--secondary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .food-category, .food-item, .toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }

    .macro-circle {
        width: 80px;
        height: 80px;
    }
}

.centered-text {
    text-align: center;
}

.nutrient-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.nutrient-table th,
.nutrient-table td {
    padding: 10px;
    text-align: center;
}

.progress-bar {
    position: relative;
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 20px;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-weight: bold;
}

.contributors {
    font-size: 0.9em;
}

/* Style for buttons */
button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4a90e2;
}

/* Center buttons container */
.buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sliders-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.slider-wrapper {
    width: 80%;
    max-width: 300px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--primary-color);
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: -100vw 0 0 100vw var(--secondary-color);
}

.category-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 40px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.slider-arrow:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.slider-arrow:first-child {
    left: 0;
}

.slider-arrow:last-child {
    right: 0;
}

.category-button-container {
    display: flex;
    gap: 10px;
}

.nutrient-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nutrient-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .nutrient-circle {
        width: 80px;
        height: 80px;
    }
}

.nutrient-circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 120px, 120px, 60px);
}

.nutrient-circle-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 60px, 120px, 0);
    background: var(--secondary-color);
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.nutrient-circle-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
}

.nutrient-circle-value {
    font-size: 14px;
    z-index: 1;
    text-align: center;
    margin-bottom: 5px;
}

.nutrient-circle-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
}

.nutrient-circle-contributors {
    font-size: 12px;
    margin-top: 10px;
    z-index: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .nutrient-circle-label {
        font-size: 10px;
    }
    .nutrient-circle-value {
        font-size: 8px;
    }
    .nutrient-circle-percentage {
        font-size: 12px;
    }
    .nutrient-circle-contributors {
        font-size: 6px;
    }
}

.portion-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.portion-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.portion-buttons {
    display: flex;
    align-items: center;
}

.portion-buttons button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portion-buttons button:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.portion-value {
    font-size: 14px;
    margin-top: 5px;
}

.portion-emoji {
    font-size: 24px;
    margin-bottom: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.support-button, .website-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.support-button:hover, .website-button:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
}

.support-button {
    background-color: #3b7bbf;
}

.website-button {
    background-color: #2ecc71;
}

.nutrient-category {
    margin-bottom: 20px;
}

.nutrient-row {
    display: flex;
    justify-content: space-between;
:root {
    --primary-color: #e0e5ec;
    --secondary-color: #8e9eab;
    --text-color: #333;
    --shadow-light: #ffffff;
    --shadow-dark: #a3b1c6;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.neumorphic {
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.neumorphic:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

header {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.logo {
    font-size: 2rem;
    font-weight: 600;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.food-category, .food-item, .toggle-btn {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.food-category:hover, .food-item:hover, .toggle-btn:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

.toggle-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.macro-circle {
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.macro-circle svg path:last-child {
    stroke: var(--secondary-color);
}

#desired-calories {
    background: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
    color: var(--text-color);
    font-size: 16px;
}

.nutrient-table {
    background: var(--primary-color);
    border-radius: 15px;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    overflow: hidden;
}

.nutrient-table th, .nutrient-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--shadow-dark);
}

.nutrient-table th {
    background: var(--secondary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .food-category, .food-item, .toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }

    .macro-circle {
        width: 80px;
        height: 80px;
    }
}

.centered-text {
    text-align: center;
}

.nutrient-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.nutrient-table th,
.nutrient-table td {
    padding: 10px;
    text-align: center;
}

.progress-bar {
    position: relative;
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 20px;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-weight: bold;
}

.contributors {
    font-size: 0.9em;
}

/* Style for buttons */
button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4a90e2;
}

/* Center buttons container */
.buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sliders-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.slider-wrapper {
    width: 80%;
    max-width: 300px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--primary-color);
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: -100vw 0 0 100vw var(--secondary-color);
}

.category-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 40px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.slider-arrow:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.slider-arrow:first-child {
    left: 0;
}

.slider-arrow:last-child {
    right: 0;
}

.category-button-container {
    display: flex;
    gap: 10px;
}

.nutrient-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nutrient-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .nutrient-circle {
        width: 80px;
        height: 80px;
    }
}

.nutrient-circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 120px, 120px, 60px);
}

.nutrient-circle-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 60px, 120px, 0);
    background: var(--secondary-color);
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.nutrient-circle-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
}

.nutrient-circle-value {
    font-size: 14px;
    z-index: 1;
    text-align: center;
    margin-bottom: 5px;
}

.nutrient-circle-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
}

.nutrient-circle-contributors {
    font-size: 12px;
    margin-top: 10px;
    z-index: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .nutrient-circle-label {
        font-size: 10px;
    }
    .nutrient-circle-value {
        font-size: 8px;
    }
    .nutrient-circle-percentage {
        font-size: 12px;
    }
    .nutrient-circle-contributors {
        font-size: 6px;
    }
}

.portion-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.portion-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.portion-buttons {
    display: flex;
    align-items: center;
}

.portion-buttons button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portion-buttons button:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.portion-value {
    font-size: 14px;
    margin-top: 5px;
}

.portion-emoji {
    font-size: 24px;
    margin-bottom: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.support-button, .website-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.support-button:hover, .website-button:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
}

.support-button {
    background-color: #3b7bbf;
}

.website-button {
    background-color: #2ecc71;
}

.nutrient-category {
    margin-bottom: 30px;
}

.nutrient-category h3 {
    text-align: center;
:root {
    --primary-color: #e0e5ec;
    --secondary-color: #8e9eab;
    --text-color: #333;
    --shadow-light: #ffffff;
    --shadow-dark: #a3b1c6;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.neumorphic {
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.neumorphic:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

header {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.logo {
    font-size: 2rem;
    font-weight: 600;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.food-category, .food-item, .toggle-btn {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.food-category:hover, .food-item:hover, .toggle-btn:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

.toggle-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.macro-circle {
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.macro-circle svg path:last-child {
    stroke: var(--secondary-color);
}

#desired-calories {
    background: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
    color: var(--text-color);
    font-size: 16px;
}

.nutrient-table {
    background: var(--primary-color);
    border-radius: 15px;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    overflow: hidden;
}

.nutrient-table th, .nutrient-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--shadow-dark);
}

.nutrient-table th {
    background: var(--secondary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .food-category, .food-item, .toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }

    .macro-circle {
        width: 80px;
        height: 80px;
    }
}

.centered-text {
    text-align: center;
}

.nutrient-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.nutrient-table th,
.nutrient-table td {
    padding: 10px;
    text-align: center;
}

.progress-bar {
    position: relative;
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 20px;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-weight: bold;
}

.contributors {
    font-size: 0.9em;
}

/* Style for buttons */
button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4a90e2;
}

/* Center buttons container */
.buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sliders-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.slider-wrapper {
    width: 80%;
    max-width: 300px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--primary-color);
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: -100vw 0 0 100vw var(--secondary-color);
}

.category-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 40px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.slider-arrow:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.slider-arrow:first-child {
    left: 0;
}

.slider-arrow:last-child {
    right: 0;
}

.category-button-container {
    display: flex;
    gap: 10px;
}

.nutrient-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nutrient-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .nutrient-circle {
        width: 80px;
        height: 80px;
    }
}

.nutrient-circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 120px, 120px, 60px);
}

.nutrient-circle-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 60px, 120px, 0);
    background: var(--secondary-color);
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.nutrient-circle-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
}

.nutrient-circle-value {
    font-size: 14px;
    z-index: 1;
    text-align: center;
    margin-bottom: 5px;
}

.nutrient-circle-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
}

.nutrient-circle-contributors {
    font-size: 12px;
    margin-top: 10px;
    z-index: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .nutrient-circle-label {
        font-size: 10px;
    }
    .nutrient-circle-value {
        font-size: 8px;
    }
    .nutrient-circle-percentage {
        font-size: 12px;
    }
    .nutrient-circle-contributors {
        font-size: 6px;
    }
}

.portion-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.portion-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.portion-buttons {
    display: flex;
    align-items: center;
}

.portion-buttons button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portion-buttons button:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.portion-value {
    font-size: 14px;
    margin-top: 5px;
}

.portion-emoji {
    font-size: 24px;
    margin-bottom: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.support-button, .website-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.support-button:hover, .website-button:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
}

.support-button {
    background-color: #3b7bbf;
}

.website-button {
    background-color: #2ecc71;
}

.nutrient-category {
    margin-bottom: 30px;
}

.nutrient-category h3 {
    text-align: center;
:root {
    --primary-color: #e0e5ec;
    --secondary-color: #8e9eab;
    --text-color: #333;
    --shadow-light: #ffffff;
    --shadow-dark: #a3b1c6;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.neumorphic {
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.neumorphic:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

header {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.logo {
    font-size: 2rem;
    font-weight: 600;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.food-category, .food-item, .toggle-btn {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.food-category:hover, .food-item:hover, .toggle-btn:hover {
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

.toggle-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.macro-circle {
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.macro-circle svg path:last-child {
    stroke: var(--secondary-color);
}

#desired-calories {
    background: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
    color: var(--text-color);
    font-size: 16px;
}

.nutrient-table {
    background: var(--primary-color);
    border-radius: 15px;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    overflow: hidden;
}

.nutrient-table th, .nutrient-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--shadow-dark);
}

.nutrient-table th {
    background: var(--secondary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .food-category, .food-item, .toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }

    .macro-circle {
        width: 80px;
        height: 80px;
    }
}

.centered-text {
    text-align: center;
}

.nutrient-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.nutrient-table th,
.nutrient-table td {
    padding: 10px;
    text-align: center;
}

.progress-bar {
    position: relative;
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.progress {
    height: 20px;
    background: linear-gradient(to right, var(--secondary-color), #4a90e2);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
    font-weight: bold;
}

.contributors {
    font-size: 0.9em;
}

/* Style for buttons */
button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4a90e2;
}

/* Center buttons container */
.buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sliders-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.slider-wrapper {
    width: 80%;
    max-width: 300px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--primary-color);
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: -100vw 0 0 100vw var(--secondary-color);
}

.category-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 40px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.slider-arrow:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.slider-arrow:first-child {
    left: 0;
}

.slider-arrow:last-child {
    right: 0;
}

.category-button-container {
    display: flex;
    gap: 10px;
}

.nutrient-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nutrient-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .nutrient-circle {
        width: 80px;
        height: 80px;
    }
}

.nutrient-circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 120px, 120px, 60px);
}

.nutrient-circle-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 60px, 120px, 0);
    background: var(--secondary-color);
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.nutrient-circle-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    z-index: 1;
    text-align: center;
}

.nutrient-circle-value {
    font-size: 14px;
    z-index: 1;
    text-align: center;
    margin-bottom: 5px;
}

.nutrient-circle-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
}

.nutrient-circle-contributors {
    font-size: 12px;
    margin-top: 5px;
    z-index: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .nutrient-circle-label {
        font-size: 10px;
    }
    .nutrient-circle-value {
        font-size: 8px;
    }
    .nutrient-circle-percentage {
        font-size: 12px;
    }
    .nutrient-circle-contributors {
        font-size: 6px;
    }
}

.portion-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.portion-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.portion-buttons {
    display: flex;
    align-items: center;
}

.portion-buttons button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portion-buttons button:hover {
    box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.portion-value {
    font-size: 14px;
    margin-top: 5px;
}

.portion-emoji {
    font-size: 24px;
    margin-bottom: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.support-button, .website-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
}

.support-button:hover, .website-button:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
}

.support-button {
    background-color: #3b7bbf;
}

.website-button {
    background-color: #2ecc71;
}

.nutrient-category {
    margin-bottom: 20px;
}

.nutrient-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.nutrient-circle {
    margin: 5px;
}