\documentclass[12pt,letterpaper]{moderncv}

\usepackage{fontspec}
\usepackage{fontawesome5}
\usepackage[inline]{enumitem}

%% ModernCV themes
\moderncvstyle{fancy}
\moderncvcolor{blue}
\nopagenumbers{}

\usepackage[utf8]{inputenc}
\usepackage[scale=0.75,right=.45in,left=.45in,top=.4in,bottom=.4in]{geometry}

% Change email icon
\providecommand*{\emailsymbol}{}
\renewcommand*{\emailsymbol}{{\small\faEnvelope}~}

% Workaround to show gitlab icon in social
\providecommand*{\gitlabsocialsymbol}{}
\renewcommand*{\gitlabsocialsymbol}{{\small\faGitlab}~}

%% Personal data
\firstname{$name$}
\familyname{$lastname$}
\title{$about$}
\email{$email$}
\social[gitlab][gitlab.com/$gitlab$]{$gitlab$}
\photo[64pt][0.4pt]{assets/photo.png}

\setlength{\hintscolumnwidth}{1.7in}

\newenvironment{tightitems}
               {\noindent\ignorespaces\vspace{-15pt}
                 \begin{itemize}[topsep=0pt,partopsep=0pt,itemsep=0pt,parsep=0pt]}
               {\end{itemize}\vspace{-10pt}}
\newenvironment{lesstightitems}
               {\noindent\ignorespaces
                 \begin{itemize}[topsep=0pt,partopsep=0pt,itemsep=0pt,parsep=0pt]}
               {\end{itemize}\vspace{-10pt}}

\begin{document}
\setmainfont[
  BoldFont = * Bold
]{Cormorant Garamond}
\makecvtitle{}


\ifthenelse{\equal{$lang$}{en}}
    {\section{Education}}
    {\section{Educación}}
$for(education)$
  \cventry{$education.years.start$ \textendash{} $education.years.end$}{$education.degree$}{$education.focus$}{$education.institution$}{}{}
$endfor$


\ifthenelse{\equal{$lang$}{en}}
    {\section{Technologies}}
    {\section{Tecnologías}}
\cvline{Programming languages}{
$for(technologies.programming)$
\begin{itemize*}[label=, itemjoin={{,}}]
    \item{$technologies.programming$}
\end{itemize*}
$endfor$}

\cvline{Tools}{
$for(technologies.tools)$
\begin{itemize*}[label=, itemjoin={{,}}]
    \item{$technologies.tools$}
\end{itemize*}
$endfor$}

\cvline{Platforms}{
$for(technologies.platforms)$
\begin{itemize*}[label=, itemjoin={{,}}]
    \item{$technologies.platforms$}
\end{itemize*}
$endfor$}


\ifthenelse{\equal{$lang$}{en}}
    {\section{Work Experience}}
    {\section{Experiencia laboral}}
$for(experience)$
\cventry{$experience.years.start$ \textendash{} $experience.years.end$}{$experience.position$}{$experience.company$}{$experience.location$}{}{
  \begin{tightitems}
    $for(experience.description)$
      \item $experience.description$
    $endfor$
  \end{tightitems}}
$endfor$


\ifthenelse{\equal{$lang$}{en}}
    {\section{Personal Projects}}
    {\section{Proyectos personales}}
    \cvitem{}{
      \begin{tightitems}
        $for(projects)$
          \item $projects$
        $endfor$
      \end{tightitems}
    }

\ifthenelse{\equal{$lang$}{en}}
    {\section{Languages}}
    {\section{Idiomas}}
$for(languages)$
  \cvlanguage{$languages.language$}{
    $languages.proficiency$
  }{}
$endfor$

\end{document}
