\documentclass[a4paper,11pt,pagesize, openany]{scrbook}

\KOMAoptions{
    numbers=noenddot,
    chapterprefix,
    parskip=half
}
\setlength{\footskip}{2.5em}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\usepackage{scrlayer-scrpage}

\usepackage[hidelinks]{hyperref}
\hypersetup{pdfpagelayout=TwoColumnRight,pdfstartview={XYZ null null 1.00}}

\usepackage[dvipsnames]{xcolor}

\usepackage[]{cleveref}

\usepackage{multicol}
\setlength{\columnsep}{0.75cm}
\raggedcolumns
\usepackage{blindtext}

% \usepackage[a4paper,bottom=2.2cm,hmarginratio=2:3,textwidth=10.5cm]{geometry}
\usepackage[a4paper,bottom=3.2cm,outer=2cm, inner=1.5cm, footskip=2.0cm]{geometry}

% \usepackage{setspace}
% % \onehalfspacing

% \usepackage[]{parskip}
% \usepackage{array}
\renewcommand{\arraystretch}{1.2}

\raggedbottom

% \renewcommand*\sfdefault{ugq}
\usepackage[scaled]{helvet}
% \usepackage{tgadventor}
\usepackage[]{scholax}

\usepackage{microtype}

\usepackage{anyfontsize}

% \addtokomafont{chapter}{\scshape}

\definecolor{chapterbrown}{RGB}{ 89, 25,  9}
\definecolor{sectionbrown}{RGB}{140, 39, 14}


\renewcommand{\chapterlineswithprefixformat}[3]{%
\color{chapterbrown}#2\MakeUppercase{#3}%
}

\addtokomafont{section}{\color{sectionbrown}}
\addtokomafont{subsection}{\color{sectionbrown}}
\addtokomafont{subsubsection}{\color{sectionbrown}}
\renewcommand*{\chapterheadmidvskip}{\par\nobreak\vspace{0em}}
\newcommand{\clearpart}[1]{\cleardoubleevenpage\part{#1}}

\addtokomafont{pagenumber}{\normalshape}

\renewcommand\chapterpagestyle{plain}
\renewcommand\partpagestyle{empty}
\setkomafont{pagehead}{\footnotesize\sffamily}
\ihead[]{}
% \ohead[]{}
\lehead[]{Adventurer's Guide to Kraain}
\cehead[]{}
\rohead[]{\leftmark}
% \ofoot[]{}
\ofoot[\pagemark]{\pagemark}

\title{Adventurer's Guide to Kraain}
\author{\texttt{HeNine}}
\date{2023}




\newcommand{\tochange}[1]{\textcolor{red}{#1}}

\newcommand{\dc}[1]{\textsc{\large d}#1}

\newcommand*{\stat}[1]{\textsc{\Large \MakeLowercase {#1}}}
% \newcommand*{\str}{\stat{stb}}
% \newcommand*{\dex}{\stat{stb}}
% \newcommand*{\con}{\stat{stb}}
% \newcommand*{\stb}{\stat{stb}}
% \newcommand*{\stb}{\stat{stb}}
% \newcommand*{\stb}{\stat{stb}}
% \newcommand*{\stb}{\stat{stb}}
% \newcommand*{\stb}{\stat{stb}}

\begin{document}
% \fontdimen2\font=1.25\fontdimen2\font

\pagestyle{scrheadings}


\frontmatter

\maketitle

\tableofcontents

\mainmatter


\include{game}

\include{character}

\include{items}

\include{encounters}

\end{document}
