\begin{titlepage}
    \makeatletter
	\begin{center}
	
    	% ------- Main logo --------
    	\null\vspace{1.1cm}
    	\includegraphics[width=.65\linewidth]{\@mainlogo}\\[2cm]
    
        % ------ Project type ------
    	\ifdefined \@field {\large \@field}\\[0.2\baselineskip] \fi
    	\ifdefined \@project {\large \@project}\\ \fi
    	\vspace{.65cm}
    	
    	% ------- Top rule --------
    	\hrule width \hsize height .5mm % Thick horizontal rule
    	\vspace{.035\textheight} % White space between the top rule and title
    
    	% --------- Title ----------
    	\begin{minipage}{.85\textwidth}
        	\bfseries\Huge\centering
        	\textcolor{black}{\@title}
    	\end{minipage}
    	
    	% ------ Bottom rule ------
    	\vspace{.035\textheight} % White space between the bottom rule and title
    	\hrule width \hsize height 0.5mm % Thick horizontal rule
    	
    	\vspace{.065\textheight}
    	
    	% --------- Author ---------
    	\textsc{
    	    \Large
            \begin{tabular}[t]{c}
                \@author % Author name (array)
            \end{tabular}
    	}
    	
    	\vspace{.02\textheight} % White space between the author name and date

    	\vfill % White space between the date and publisher
    	
	\end{center}
	
	% ---------- Bottom of the page ----------
    {\large\textsc{\@date}}\hfill % Date of publishing
	
    \makeatother
\end{titlepage}