html {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: none;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;

  background-color: #fff;
  color: #000;

  transition:
    background-color 0.6s ease,
    color 0.6s ease;
}

.content,
.sidebar {
  background-color: #fff;
  transition:
    background-color 0.6s ease,
    color 0.6s ease;
}

.sidebar a,
.sidebar p.class2 {
  color: #000;
  text-decoration: none;
  transition: color 0.4s ease;
}


/* Тёмная тема */

body.inverted,
html.inverted {
  background-color: #000;
  color: #fff;
}

body.inverted .content,
body.inverted .sidebar {
  background-color: #000;
}

body.inverted .sidebar a {
  color: #fff;
}

body.inverted .sidebar a.active,
body.inverted .sidebar a:hover {
  color: #928CF6;
}

body.inverted .sidebar p.class2 {
  color: #fff;
}

body.inverted .sidebar p.class2:hover {
  color: #928CF6;
}


/* Изображения */

.content img {
  transition: filter 0.6s ease;
}

body.inverted .content img {
  filter: brightness(0.9) contrast(1.1);
}


/* ===============================
   Контент
   =============================== */

.content {
  min-height: 100vh;
  background-color: #fff;
  transition: background-color 0.6s ease;
}