@charset "utf-8";

:root {
  --bodyBg: #000000;
  --bodyColor: #f0f0f0;
  --contentBg: #1d1d21;
  --contentBg2: #20201f;
  --navBar: #333;
  --navBarA: #f2f2f2;
  --navBarHomeHoverBg: #221612;
  --navBarAHoverBg: #ddd;
  --navBarAHoverColor: #000;
  --navBarAActiveBg: #44331c;
  --navBarAActiveColor: #fff;
  --logoGold: #f9be5b;
  --textContentP: #fffaf1;
  --textGold: #cdba9a;
  --textQuote: #fff;
  --textFooter: #cdba9a;

  --citeBg: #2d2e2b;
  --citeColor: #f2edda;

  --brownBg: #6d3522;
}


@font-face {
  font-family: 'PTMono';
  src: url('/fonts/PTMono-Regular.ttf');
}

@font-face {
  font-family: 'OswaldRegular';
  src: url('/fonts/Oswald-Regular.ttf');
}

@font-face {
  font-family: "LoraMi";
  src: url('/fonts/Lora-MediumItalic.ttf');
}

* {
  box-sizing: border-box;
}

html {
  background-color: #1a130f;
  color: var(--bodyColor);
}


/* откл. фильтры, чтобы старые браузеры и MIUI не инвертировали цвета из-за "принудительной тёмной темы" */
img,
svg {
  filter: none !important;
}

body {
  font-family: 'PTMono', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 45rem;

  color: var(--bodyColor);
  font-size: 100%;
  font-size: 17px;
  overflow-x: hidden;
  overflow-y: scroll;

  outline: none;
}

.error-main {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  gap: 1rem;
}

.error-img1 {
  max-width: 15rem;
  display: block;
  margin: 0 auto 1rem auto;
}


h1,
h2 {
  font-family: 'OswaldRegular', 'Roboto Condensed', 'Source Sans Pro Condensed', 'Open Sans Condensed', sans-serif;

  font-weight: normal;
  text-align: center;
  font-size: 1.8rem;
  color: var(--textGold);
  padding: 1.5rem 0 0.5rem 0;
  margin: 0 auto;
  text-indent: 0;
  line-height: 1;
}

h2 {
  font-size: 1.6rem;
  margin: 1rem auto 1.2rem auto;
}

p {
  padding: 1rem;
  margin: 0 auto;
  text-align: center;

  hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
}

a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  text-decoration: none;
  font-size: 1.2rem;
  color: rgb(225, 169, 56);
}



/* -------------------======== [                       ]========--------------------- */
/* -------------------======== [ FOR LANDSCAPE SCREENS ]========--------------------- */
/* -------------------======== [                       ]========--------------------- */
/* @media screen and (orientation:landscape){ */
@media only screen and (min-aspect-ratio: 4/3) {}