Focus state on text field in a form

I am trying to put a focus state on a text field in my form. I want to change the opacity of the line and text “Email” when we click on the text field that is just above the line. For now only the text field changes.
How can I affect changes also on the text and line ?

Here is my public share link: LINK
(how to access public share link)