\RequirePackage{fix-cm}
\documentclass[
    fontsize=11pt,
    paper=a4,
    pagesize,
    bibliography=totoc,
    headings=big,
    captions=tableheading,
    chapterprefix=true,% like in standard class "report"
    BCOR=1cm,
    DIV=12,
    headsepline=true,
    footsepline=true,
]{scrbook}

\usepackage{listings}
\usepackage{config}
\usepackage{listing-config}
\usepackage{commands}

\begin{document}
\let\rawref\ref%
\renewcommand{\ref}[1]{\rawref{#1} (page~\pageref{#1})}

\frontmatter

\listoftodos{}

\vspace{2cm}

\copied{}
\noindent Text copied from other articles will be in this color

\fresh{}
\noindent Text that was freshly written will be in this color

\resetstyle{}
\quad\\
This version was compiled on \today{} at \currenttime{}.

\begin{titlepage}
    \begin{tikzpicture}[overlay,remember picture,line width=5pt]
        \node at (current page.center) {\includegraphics[width=\pagewidth]{assets/background.png}};
        \node at (12, -22) [%
            inner sep=15pt,
            ultra thick,
            draw=MidnightBlue,
            fill=black,
            font=\sffamily\bfseries\Huge,
            align=left,
            fill opacity=0.7,
            text opacity=1,
        ] {\color{white}\thetitle\\\color{white}\LARGE\theauthor};
    \end{tikzpicture}
\end{titlepage}

\tableofcontents

\input{plan}

\bibliography{src/bib.bib}

\end{document}
