%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% INNER THEME - The meat and potatoes of your slides
% Defines: title page, blocks, itemized lists
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\mode<presentation>

%%%% TEXT THINGS
    %Itemized Lists / Enumerated Lists
    \setbeamertemplate{items}[square]

    %Blocks
    \setbeamertemplate{blocks}[shadow=true]

%%%% TITLE PAGE
\defbeamertemplate*{title page}{dane}[1][]{
    \begin{beamercolorbox}[wd = \paperwidth, ht = \paperheight]{title page}
        \begin{tikzpicture}
            \useasboundingbox (0,0) rectangle(\paperwidth,\paperheight);

            %title
            \node(title)[anchor = north west] at (0,11.75) {\parbox[t]{16cm}{\raggedright\LARGE\textbf\inserttitle}};

            %Title Image
            \node(title_image)[anchor = center] at (11,5) {\includegraphics[width = 8cm]{images/title.png}};

            %Author Block
            \node(author)[anchor = west] at (0,6) {\parbox[c]{5cm}{\raggedright\insertauthor}};

            \node(institute)[anchor = north, below = 0.1cm of author] {\parbox[c]{5cm}{\raggedright\small\insertinstitute}};

            \node(date)[anchor = north, below = 0.25cm of institute] {\parbox[c]{5cm}{\raggedright\small\insertdate}};

            %logo
            \node(logo)[anchor = south west] at (0,.75) {\includegraphics[width = 3cm]{images/logo.png}};

            %Surrounding Structure
            \fill[secondary] (0,0) rectangle(\paperwidth, 0.5);
        \end{tikzpicture}
    \end{beamercolorbox}
}

\mode<all>
