\usepackage[sfdefault,condensed,scaled=0.9]{roboto}
%\usepackage[T2A]{fontenc}
%\usepackage{inconsolata}
%\setmonofont[Scale=0.9]{Inconsolata}

\setlength\headheight{13.6pt}

\usepackage{
  amsmath, amssymb, mathtools, relsize,
  graphicx, xcolor,
  fancyhdr, hyperref, enumerate
}
\usepackage[shortlabels]{enumitem}
\usepackage{mathshit}

\flushbottom

\renewcommand{\baselinestretch}{1.1}

\usepackage{geometry}
\geometry{
    b5paper,
    left=0.4in, right=0.4in,
    top=0.5in, bottom=0.6in,
    headsep=.1in
}

\newenvironment{cframed}[1][gray]
{
    \def\FrameCommand{
        \fboxsep=\FrameSep\fcolorbox{#1}{white}
    }
    \MakeFramed{
        \advance\hsize-\width \FrameRestore
    }
}
{\endMakeFramed}

\newcommand{\question}[2]{
    \bigskip\bigskip
    \begin{cframed}
        \noindent \textbf{#1}
        #2
    \end{cframed}
}


\setlength\FrameSep{0.75em}
\setlength\OuterFrameSep{\partopsep}

\hypersetup{colorlinks=true, linkcolor=magenta}

% -- Left/right header text and footer (to appear on every page) --
\pagestyle{fancy}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\headrulewidth}{0.4pt}

\cfoot{}
\rfoot{\thepage}
