You should use Walker to make it easier. Please read more detail to know it and try to research again 😀
Link: https://codex.wordpress.org/Class_Reference/Walker
Tut: https://www.ibenic.com/how-to-create-wordpress-custom-menu-walker-nav-menu-class/
And this is my website, I completed it using Menu Walker. The link below 😀