@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";*{box-sizing:border-box}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#39b54a;text-decoration:inherit}a:hover{color:#39b54a}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#39b54a}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#39b54a}button{background-color:#f9f9f9}}.home{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100vw;height:70vh;font-family:Poppins;text-align:center}.home h1{font-size:2.5rem;font-weight:700;margin-bottom:2px;font-family:Poppins}.home p{font-size:1.5rem;margin-bottom:30px;font-family:Poppins}.home-button{padding:12px 24px;width:80%;background-color:#39b54a;color:#fff;border-width:2px;border-style:solid;border-radius:8px;font-size:1rem;cursor:pointer;transition:background-color .2s}.home-button:hover{background-color:#256d2f;border:#256d2f;border-width:2px;border-style:solid}.scan{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100vw;height:100vh;font-family:Poppins;text-align:center}.scan h1{font-size:2.5rem;margin-bottom:20px;font-weight:700}.scan p{font-size:1.25rem;margin-top:10px;color:#000}.product{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100vw;min-height:100vh;font-family:Poppins;text-align:center;padding:20px;overflow-x:hidden}.product h1{font-size:1.25rem;margin-bottom:5px;font-weight:700;color:#39b54a}.product p{font-size:1.25rem;margin-top:10px;color:#000}.error{color:red;font-weight:700}.product-details h2{font-size:2rem;margin-bottom:30px}.product-button{padding:12px 24px;margin-top:20px;width:80%;color:#000;border:2px solid #39b54a;border-radius:8px;font-size:1rem;cursor:pointer;transition:background-color .2s;margin-bottom:3rem}.product-button:hover{background-color:#39b54a}.toggle-button,.toggle-button.small{width:100%;text-align:left;border:none;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .3s ease;padding:.6rem 1rem;box-sizing:border-box}.toggle-button{background-color:#39b54a;color:#fff;font-size:1rem}.toggle-button:hover{background-color:#256d2f}.toggle-button.small{background-color:#e94f4f;color:#fff;font-size:.95rem;padding:.4rem .8rem}.toggle-button.small:hover{background-color:#c0392b}.dropdown-container{width:80%;margin:0 auto}.dropdown-container>*:not(:last-child){margin-bottom:1.5rem}.ingredients-text,.nutrition-info,.warning-text{padding:.75rem 1rem;border-radius:0 0 8px 8px;margin-top:-.5rem;border-top:none;max-width:100%;width:100%;box-sizing:border-box;overflow-wrap:break-word;overflow-x:hidden}.ingredients-text{font-style:italic;line-height:1.5}.nutrition-info{line-height:1.6}.warning-text{border-left:4px solid red;font-size:.95rem;line-height:1.4}.ingredient-warning{margin-bottom:.75rem}.nutrient-value.good{color:green}.nutrient-value.ok{color:#daa520}.nutrient-value.bad{color:orange}.nutrient-value.terrible{color:red}.product-image{max-width:300px;width:80%;border-radius:12px;margin-bottom:20px;object-fit:contain;box-shadow:0 2px 6px #0000001a}.better-alternatives{margin-top:2rem;width:80%;margin-left:auto;margin-right:auto;text-align:left}.alternative-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem;margin-top:1rem}.alternative-card{border:3px solid #39b54a;border-width:3;border-radius:8px;padding:.75rem;text-align:center;box-shadow:0 1px 3px #0000000d;transition:transform .2s ease;cursor:pointer}.alternative-card:hover{transform:translateY(-4px)}.alternative-card img{max-width:100%;height:auto;border-radius:6px;margin-bottom:.5rem}#ingredients-list-button{margin-bottom:1.2rem}#check-new-item-button{margin-top:3em;margin-bottom:4rem;background-color:#39b54a;color:#fff}#check-new-item-button:hover{color:#000;border:3px solid #39b54a}#product-information{color:#000;margin-bottom:1.2rem}.better-alternatives{margin-top:2rem}.better-alternatives h3{font-size:1.25rem;margin-bottom:1rem}.alternative-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.alternative-card{background-color:#f9f9f9;border:1px solid #ddd;border-radius:10px;padding:1rem;text-align:center;transition:transform .2s ease,box-shadow .2s ease}.alternative-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.alternative-card img{width:100%;max-height:120px;object-fit:contain;margin-bottom:.5rem;border-radius:6px}.nutrition-preview{margin-top:.5rem;font-size:.85rem;display:grid;grid-template-columns:1fr;gap:.25rem}.nutrient{display:flex;align-items:center;gap:6px}.nutrient-dot{display:inline-block;width:10px;height:10px;border-radius:50%}.nutrient-dot.good{background-color:#28a745}.nutrient-dot.ok{background-color:#ffc107}.nutrient-dot.bad{background-color:#fd7e14}.nutrient-dot.terrible{background-color:#dc3545}.navbar{width:100%;padding:1rem 2rem;position:sticky;top:0;z-index:100;display:flex;align-items:center;background-color:#fff}.navbar-logo{height:10vh;width:auto;object-fit:contain;display:block}.navbar-logo-link{display:flex;align-items:center;text-decoration:none}
