\usepackage[margin=1in]{geometry}
\usepackage{raleway}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{ulem}
\usepackage{wrapfig}
\usepackage{graphicx,tabularx,booktabs}
\usepackage{paracol}
\usepackage[dvipsnames]{xcolor}
\usepackage{enumitem,amssymb}
\usepackage[colorlinks=true,urlcolor=blue,linkcolor=MidnightBlue]{hyperref}
\graphicspath{{./img/}}

\usepackage{enumitem,amssymb}
\newlist{todolist}{itemize}{2}
\setlist[todolist]{noitemsep, topsep=0pt,label=$\square$}

\usepackage{pifont}
\usepackage{amssymb}

\usepackage[most]{tcolorbox}
\tcbuselibrary{listings, skins, breakable}

\lstdefinestyle{mystyle}{
    basicstyle=\ttfamily\footnotesize,
    breakatwhitespace=false,         
    breaklines=true,                 
    captionpos=b,                    
    keepspaces=true,                 
    numbers=left,                    
    numbersep=5pt,                  
    showspaces=false,                
    showstringspaces=false,
    showtabs=false,                  
    tabsize=2,
    commentstyle=\color{gray},
    keywordstyle=\color{MidnightBlue}\bfseries,
    stringstyle=\color{ForestGreen}
}

\newtcblisting{codeblock}[2][]{
    enhanced,
    breakable,
    colback=gray!2!white,
    colframe=gray!20!black,
    attach boxed title to top left={yshift*=-\tcboxedtitleheight/2, xshift=4mm},
    boxed title style={
        colback=gray!20!black,
        outer arc=0pt,
        arc=0pt,
        top=1pt,
        bottom=1pt,
    },
    fonttitle=\bfseries\ttfamily\footnotesize,
    title={#2},
    listing only,
    listing options={
        style=mystyle,
        language=#1,
    }
}

\setlength{\parskip}{1em}%
\setlength{\parindent}{0em}%

