Menu fade out and in when scrolling

Hello! I am trying to make the menu fade out when scrolling down and fade in when scrolling up (like in the example website I attached). Is this possible without using code? Thank you!

https://www.kevincraftdesign.com/