Why tabs don't behave like normal elements with flex box

why tabs don’t behave the way it should with flex box. I provided a read-only link. I countered similar problem with grid. if it is because of some pre-set css properties, how can I turn them off?


Here is my site Read-Only: LINK
(how to share your site Read-Only link)