Personalize elements distribution through code

Hello I’m new to Omeka S and I want to try to modify a theme to make my own distribution of texts and grafic elements. Im familiar with Omeka Classic and conventional web design, so i would like to know where in the themes i can find the code where the visual sructure of the web is generated.