/* definicie farieb (TODO: themes) */
:root{
  --bg: #0B0F12;
  --fg: #2A3338;
  --accent: #d69957;
  --text-on-bg: #c7dee9;
  --muted-text: #7b96a1;
}

/* pouzite fonty (mozno tiez TODO: themes) */
@font-face {
  font-family: "Exo";
  src: url("/assets/exo-2-0.regular.otf") format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Exo";
  src: url("/assets/exo-2-0.bold.otf") format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}




/* samotny vyzor stranky, border-radius asi tiez ako themes
   hlavne rozdelenie stranky header / main / footer */

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  margin: 0;
  padding: 0;
  border: 0;
  background:var(--bg);
  color:var(--text-on-bg);
  font-family: "Exo", sans-serif;
}

a {
  font-weight: bold;
  color: var(--text-on-bg);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

header {
  width: 100%;
  height: 50px;
  margin: 0;
  border:0;
  padding: 0;

  display: flex;
  align-items: center;

  background:var(--fg);
  font-size: large;
  text-align: start;
}

/* pridame padding pre header takto, aby nam nerozhadzoval flex usporiadanie mimo obrazovku */
header::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
}

main {
  flex: 1 0 auto;
  margin: 0;
  padding: 30px;
  border: 0;

  text-align: center;
}

main span {
  display: block;
  padding-top: 50px;
  clear: both;
  font-size: 16pt;
}

footer {
  flex-shrink: 0;
  width: 100%;
  min-height: 100px;
  margin: 0;
  padding: 0;
  border: 0;

  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;

  background:var(--fg);
  color: var(--muted-text);
  font-size: 0;
}

footer > div {
  font-size: 1rem;
}

footer > div b {
  color: var(--text-on-bg);
}

