\LoadClass[14pt,a4paper,oneside]{extarticle}

\RequirePackage[utf8]{inputenc}
\RequirePackage[T2A]{fontenc}
\RequirePackage[english,russian]{babel}

\usepackage[
  a4paper, mag=1000,
  left=2.5cm, right=1.5cm,
  top=2.7cm, bottom=2cm,
]{geometry}

\RequirePackage[hidelinks,colorlinks=false]{hyperref}
\RequirePackage{url}
\RequirePackage{indentfirst}

\RequirePackage{fancyhdr}
\pagestyle{fancy}
\fancyfoot{}
\fancyhead{}
\fancyhead[L]{\rightmark}
\fancyhead[C]{}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0.7pt}

\RequirePackage{setspace}
\singlespacing

% --- TITLE PAGE --- %
\renewcommand{\maketitle}
{
\afterpage{
\newgeometry{
  left=2cm, right=1.5cm,
  top=2cm, bottom=2cm
}

% Suppresses displaying the page number on the title page and the subsequent page counts as page 1
\begin{titlepage}
  % Defines a new command for horizontal lines, change thickness here
  \newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
  \center

  % --- Headings --- %
  \textsc{\Large Саратовский Государственный Университет}\\[0.2cm]
  \textsc{\normalsize Факультет Компьютерных Наук и Информационных Технологий}\\[0.5cm]

  % --- Title --- %
  \HRule\\[0.6cm]
  {\LARGE \bfseries\textsc \@title}\\[0.3cm]
  \HRule\\[1.5cm]

  % --- Author(s) --- %
  {\large\textit{Законспектировано:}}\\
  \textsc{\@author}

  % --- Date --- %
  % Position the date 3/4 down the remaining page
  \vfill\vfill\vfill\vfill\vfill\vfill
  {\large\@date}
  % Push the date up 1/4 of the remaining page
  \vfill
\end{titlepage}

\clearpage
\restoregeometry
}
}
