You can place your snippet in the following file.
It is not recommended to modify your theme files directly. You will lose your changes when the theme will be upgraded.
I will recommend to modify the theme via Child Theme. So, you can easily upgrade your theme and your changes will not be lost.