\documentclass{beamer}
\usetheme[faculty=wi]{fibeamer}
\usepackage[utf8]{inputenc}
\usepackage[slovak,shorthands=off]{babel}
\usepackage{palatino} %font type
\usefonttheme{metropolis} %Type of slides
\usefonttheme[onlymath]{serif} %font type Mathematical expressions
\usetheme[progressbar=frametitle,titleformat frame=smallcaps, numbering=counter]{metropolis} %This adds a bar at the beginning of each section.
\useoutertheme[subsection=false]{miniframes} %Circles in the top of each frame, showing the slide of each section you are at

\usepackage{xcolor}
\definecolor{white}{RGB}{255,255,255}
\definecolor{orange}{RGB}{244,119,35}
\definecolor{schaeffler}{RGB}{8,149,76}
\definecolor{fri}{RGB}{255, 184, 28}
\definecolor{beige}{RGB}{238,245,219}
\definecolor{pearl}{RGB}{214,209,177}
\definecolor{Red}{RGB}{192,70,70}
\definecolor{ultramarine}{RGB}{0,32,96}
\definecolor{CPBlue}{RGB}{108,173,223}
\definecolor{White}{RGB}{245,255,235}
\definecolor{Black}{RGB}{0,0,0}

\usepackage{appendixnumberbeamer}
\setbeamercolor{title separator}{fg=white} %This is the line colour in the title slide
\setbeamercolor{structure}{fg=black} %Colour of the text of structure, numbers, items, blah. Not the big text.
\setbeamercolor{progress bar}{fg=fri} %These are the colours of the progress bar. Notice that the names used are the svgnames
\setbeamercolor{normal text}{fg=black} %Colour of normal text
%\setbeamercolor{alerted text}{fg=Black} %Color of the alert box
\setbeamercolor{example text}{fg=black} %Colour of the Example block text

\setbeamercolor{palette primary}{bg=beige, fg=black} %These are the colours of the background. Being this the main combination and so one. 
%\setbeamercolor{palette secondary}{bg=DARK, fg=CPBlue}
\setbeamercolor{palette tertiary}{bg=white, fg=CPBlue}
%\setbeamercolor{section in toc}{fg=Black} %Color of the text in the table of contents (toc)

\usepackage{siunitx}
\usepackage{indentfirst}
\usepackage{multirow}
%\usepackage[table,xcdraw]{xcolor}
\usepackage{graphicx}
\usepackage{svg}
\usepackage[european]{circuitikz}
\usepackage{gensymb}
\usepackage{textgreek}
\usepackage{textcomp}
\usepackage{siunitx}
\AtBeginDocument{\RenewCommandCopy\qty\SI}
\usepackage{amsmath,amssymb}
\usepackage{slashed}
\usepackage{cite}
\usepackage{relsize}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{multicol}
\usepackage{booktabs}
\usepackage{physics}
\usepackage[scale=2]{ccicons}
%\usepackage{pgfplots}
%\usepgfplotslibrary{dateplot}
\usepackage{geometry}
\usepackage{xspace}
%\newcommand{\themename}{\textbf{\textsc{bluetemp}\xspace}}%metropolis}}\xspace}
\usepackage{ragged2e}  % `\justifying` text
\usepackage{booktabs}  
\usepackage{tabularx}
\usepackage{tikz}      
\usetikzlibrary{calc, shapes, backgrounds}
\usepackage{amsmath, amssymb}
\usepackage{url}       
\usepackage{listings, listings-rust}
\usepackage{eurosym}
\usepackage{adjustbox}
\usepackage[absolute,overlay]{textpos}
\usetikzlibrary{arrows.meta, calc, shapes.geometric, positioning, fit, backgrounds}
\usepackage{amsmath}

% Custom style definitions
\usepackage{float}
\usepackage{tabu}
\usepackage{caption}
\newfloat{graph}{htbp}{grp}
\floatname{graph}{Graf}
\newfloat{tabulka}{htbp}{tbl}
\floatname{tabulka}{Tabulka}
\frenchspacing

\DeclareCaptionLabelFormat{graph}{Graf #2}
\captionsetup[graph]{labelformat=graph}


\setbeamercolor{background canvas}{bg=white}
\setbeamerfont{title}{size=\huge}
\date{}
\setbeamertemplate{title separator}{}

\setbeamertemplate{/foot}[totalframenumber]
\setbeamercolor{/foot}{fg=white}
\setbeamertemplate{footline}{
    \leavevmode
    \hbox{
    \colorbox{fri}{
        \begin{beamercolorbox}[wd=0.5\paperwidth,ht=1cm,left]{foot}
            \hspace{1cm}
            \vspace{0.4cm}
            \usebeamerfont{/foot}\footnotesize\color{black}\insertframenumber
        \end{beamercolorbox}

        \begin{beamercolorbox}[wd=0.5\paperwidth,ht=1cm,right]{foot}
            \vspace{0.15cm}
            \includesvg[height=0.7cm]{obrazky/logo.svg}\hspace{1.7cm}
        \end{beamercolorbox}
    }
  }
  \vskip0pt
}
\usepackage{pdfpages}
\begin{document}

\input{titulka}
\input{2.tex}
    
 %\hspace{5cm}
 %\vspace{8cm}test znova


\setbeamercolor{background canvas}{bg=white}
\transdissolve
\begin{frame}[label=zdroje]{Zdroj}
  \begin{thebibliography}{9}
    \bibitem{james2023islpython}
    \color{black}
    Gareth James, Daniela Witten, Trevor Hastie, Robert Tibshirani a Jonathan Taylor.  
    \textit{An Introduction to Statistical Learning with Applications in Python.}, 2023.  
    Kap. 6.2.2, s.~241--250.
  \end{thebibliography}
\end{frame}

\end{document}
