%-----------------------------------------------------------------------------------------------------------------------------------------------%
%	The MIT License (MIT)
%
%	Copyright (c) 2014 Jan Küster
%
%	Permission is hereby granted, free of charge, to any person obtaining a copy
%	of this software and associated documentation files (the "Software"), to deal
%	in the Software without restriction, including without limitation the rights
%	to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
%	copies of the Software, and to permit persons to whom the Software is
%	furnished to do so, subject to the following conditions:
%	
%	The above copyright notice and this permission notice shall be included in
%	all copies or substantial portions of the Software.
%	
%	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
%	IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
%	FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
%	AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
%	LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
%	OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
%	THE SOFTWARE.
%	
%
%
%-----------------------------------------------------------------------------------------------------------------------------------------------%


%============================================================================%
%
%	DOCUMENT DEFINITION
%
%============================================================================%

%we use article class because we want to fully customize the page 
%and dont use a cv template
\documentclass[11pt,A4]{article}	

\usepackage{multicol}


%----------------------------------------------------------------------------------------
%	ENCODING
%----------------------------------------------------------------------------------------

%we use utf8 since we want to build from any machine
\usepackage[utf8]{inputenc}

%----------------------------------------------------------------------------------------
%	FONT
%----------------------------------------------------------------------------------------
% some tex-live fonts - choose your own

%\usepackage[defaultsans]{droidsans}
%\usepackage[default]{comfortaa}
%\usepackage{cmbright}
\usepackage[default]{raleway}
%\usepackage{fetamont}
%\usepackage[default]{gillius}
%\usepackage[light,math]{iwona}

\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be typewriter style
\usepackage[T1]{fontenc}

%\usepackage[thin]{roboto} 

\usepackage{moresize}


%----------------------------------------------------------------------------------------
%	PAGE LAYOUT  DEFINITIONS
%----------------------------------------------------------------------------------------

%\usepackage{showframe}			%debug


\usepackage[a4paper]{geometry}		%define page styles using geometry
\geometry{margin=2cm} 			% for example, change the margins to 2 inches all round



\usepackage{fancyhdr}				%customize header
\pagestyle{fancy}
\setlength{\headheight}{-5pt}		%less space between header and content

\lhead{}
\chead{ \small{Jan Küster $\cdot$ Kissinger Str. 31  $\cdot$ 28215, Bremen, Germany  $\cdot$ contact@jankuester.com  $\cdot$ +49 176 313 877 34}}
\rhead{}



%----------------------------------------------------------------------------------------
%	GRAPHICS DEFINITIONS
%---------------------------------------------------------------------------------------- 
\usepackage{graphicx}
\usepackage{tikz}


%----------------------------------------------------------------------------------------
%	Color DEFINITIONS
%---------------------------------------------------------------------------------------- 
\usepackage{color}

\definecolor{sectcol}{RGB}{255,127,0}

%============================================================================%
%
%	OVERRIDES
%
%============================================================================%

% --------------- HEADER -----------------%
\renewcommand{\headrulewidth}{0pt} % remove top header line
\renewcommand{\footrulewidth}{0pt}	  %remove botttom header line
\renewcommand{\thepage}{}	%remove pagenum


%----------------- SECTION ----------------%
\renewcommand{\thesection}{}		%remove section num


\newcommand{\larrow}
{\begin{tikzpicture}[scale=0.7] % draw nodes (pgf/TikZ v2.00 manual sections 3.4, 3.7, 3.9)
 \filldraw[fill=sectcol!100,draw=sectcol!100!black] (0,0) -- (0.2,0) -- (0.3,0.2) -- (0.2,0.4) -- (0,0.4) -- (0.1,0.2) -- cycle;
 \end{tikzpicture}
}

\newcommand{\rarrow}
{\begin{tikzpicture}[scale=0.7]  % draw nodes (pgf/TikZ v2.00 manual sections 3.4, 3.7, 3.9)
 \filldraw[fill=sectcol!100,draw=sectcol!100!black] (0,0.2) -- (0.1,0) -- (0.3,0) -- (0.2,0.2) -- (0.3,0.4) -- (0.1,0.4) -- cycle;
 \end{tikzpicture}
}

%custom section command
\newcommand{\cvsection}[1]
{
\noindent
%\textcolor{sectcol}{\hrulefill}
\mbox{
\larrow
\larrow
\hspace{\stretch{1}}
\normalsize{\textcolor{sectcol}{#1}}
\hspace{\stretch{1}}
\rarrow
\rarrow
}
\newline
\vspace{-6pt}

}


%--------------  STRUT -------------------------%

\newcommand{\mystrut}{\rule[-.3\baselineskip]{0pt}{\baselineskip}}

%--------------  LOREM IPSUM -------------------------%
\newcommand{\lorem}
{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur.}

%============================================================================%
%
%	DOCUMENT CONTENT
%
%============================================================================%

\begin{document}
\pagestyle{fancy}

%----------------------------------------------------------------------------------------
%	HEADER IMAGE
%----------------------------------------------------------------------------------------
\begin{figure}[htbp]
    \begin{center}
            \includegraphics[trim=0 200 0 200,clip,width=\paperwidth]{4436.png}	%trimming relative to image size!
    \end{center}
\end{figure}
\vspace{-20pt}
\begin{flushright}
\mbox{\HUGE{\textcolor{sectcol}{Jan Küster} } \textcolor{sectcol}{\rule[-1mm]{4mm}{0.9cm}} \HUGE{ \textcolor{sectcol}{CV}}}
\end{flushright}


\normalsize

\begin{multicols}{2} 
\cvsection{Work and Projects}
\lorem\\
\lorem\\

\cvsection{Education}
\lorem\\
\lorem\\

\cvsection{Skills}
\lorem\\
\lorem\\

\cvsection{Activities}
\lorem\\
\lorem\\

\end{multicols}

\end{document}