\begin{titlepage}

\begin{center}
~
\vspace{1cm}

\makeatletter
\@author
\makeatother

\vspace{1cm}


%% Print the title
{\makeatletter
\color{aauprimary}\fontsize{26}{26}\selectfont\@title
\makeatother}\\
\vspace{0.5cm}
%% Print the subtitle
{\makeatletter
\color{aausecondary}\ifdefvoid{\@subtitle}{}{\bigskip\fontsize{16}{16}\selectfont\@subtitle}
\makeatother}
\vspace{1cm}
\bigskip
\bigskip
~\\~\\
\makeatletter
{\fontsize{14}{14}\selectfont \@thesistype}
\makeatother \\
\bigskip
\bigskip
submitted in fulfilment of the requirements for the degree of\\
\makeatletter \@degreename \makeatother\\
\bigskip
\bigskip
Programme\\
\makeatletter \@subject \makeatother\\
%Double Degree\\

\bigskip


\makeatletter
\@affiliation \\
\iftoggle{doubledegree}{\@affiliationtwo}~\\
\makeatother
\bigskip

%% Insert the AAU logo at the bottom of the page
\begin{tikzpicture}[remember picture, overlay]
    \node[above=80mm] at (current page.south) {%
         \includegraphics[width=0.4\linewidth]{figures/SIEGEL.PNG}
    };
\end{tikzpicture}

\bigskip
\bigskip


\vfill
\vspace{0.5cm}
%% Print some more information at the bottom
\begin{tabular}{ll}
Supervisor\iftoggle{doubledegree}{s} 
 
 : & \makeatletter\@supervisor \iftoggle{doubledegree}{ \\ &  \@cosupervisor}\makeatother \\ 
Universit\iftoggle{doubledegree}{ies}{y}

: & \makeatletter \@affiliation \iftoggle{doubledegree}{ \\&
\@affiliationtwo } \makeatother \\
Department\iftoggle{doubledegree}{s}

: & \makeatletter \@department \iftoggle{doubledegree}{ \\&  \@departmenttwo} \makeatother \\ 
\end{tabular}
\bigskip
\bigskip

\begin{flushright}
{\makeatletter\itshape
    {\makeatletter 
    \@location \makeatother }, \monthname{} \the\year{}
\makeatother}
\end{flushright}

\end{center}



\end{titlepage}
