> 40 && thirst <= 50) {
                    thirstElt.style.opacity = "0.4";
                    pourcentageElt.style.opacity = "0.9";
                }
                if (thirst > 20 && thirst <= 40) {
                    thirstElt.style.opacity = "0.6";
                    pourcentageElt.style.opacity = "0.9";
                }
                if (thirst > 10 && thirst <= 20) {
                    thirstElt.style.opacity = "0.8";
                    pourcentageElt.style.opacity = "0.9";
                }