@marmot concerning to
your last update I am aware that you have made a big effort to reproduce what I want. I would like to know if the source code is much more complex if it is possible to vertically center the subjects that are not elective. For example, in Level 1 of your answer they are aligned at the top, not the center. This happens with the rest of subjects