% Packages
\RequirePackage[left=4cm, right=3cm, top=2cm, bottom=3cm]{geometry}
\RequirePackage{fontawesome}
\RequirePackage{xcolor}
\usepackage{float}
\usepackage[frenchb]{babel}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{pdfpages}
\usepackage{titlesec}
\usepackage{soul}
\usepackage[
    labelfont={small,bf,color=LightGrey},
    textfont={small,color=SlateGrey}
]{caption}
\renewcommand{\FrenchLabelItem}{\textbullet}
\pagestyle{fancy}

\renewcommand{\headrulewidth}{0pt}

% OPTIONS

% Graphx
\graphicspath{ {./images/} }

% Colors and fonts
\definecolor{ElectricMagenta}{HTML}{F268B3}
\definecolor{ElectricGreen}{HTML}{1CD180}
\definecolor{SlateGrey}{HTML}{2E2E2E}
\definecolor{LightGrey}{HTML}{CCCCCC}
\definecolor{Black}{HTML}{000000}
\setulcolor{ElectricMagenta}

% Fonts
\setmainfont{Lato}
\newfontfamily\quotefont{Linux Libertine}
\newcommand*\openquote{\makebox(15,-30){\scalebox{3}{\flqq{}}}}
\newcommand*\closequote{\makebox(30,0){\scalebox{3}{\frqq{}}}}

% Quote
\AtBeginEnvironment{quote}{\color{LightGrey}\large\quotefont\openquote\color{SlateGrey}}
\AtEndEnvironment{quote}{\color{LightGrey}\closequote}

% figures

%\AtBeginEnvironment{figure}{
%    \color{ElectricMagenta}\noindent\rule{\textwidth}{0.4pt}\vspace{-15pt}
%}
\AtEndEnvironment{figure}{%
    \color{ElectricMagenta}\noindent\rule{\textwidth}{0.4pt}
}

% Hyperlink
\usepackage{hyperref}

\newcommand{\link}[2]{
    \href{#1}{\ul{{\color{ElectricGreen}\faLink} #2}}
}

% Paragraph ...
\parindent=0em
\renewcommand{\baselinestretch}{1.2}


\fancyhead[LE]{\color{SlateGrey}Yorick Barbanneau}
\fancyhead[RO]{\color{SlateGrey}Centres d'animation de Bordeaux}
\fancyhead[LO]{}
\fancyhead[RE]{}
