/* ===============================
   Базовые светлые стили + transition
   =============================== */

html, body {
  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 {
  background-color: #000;
}

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);
}





html, body {
  min-height: 100%;
  overflow-x: hidden;
  background-color: #fff;
  color: #000;
  transition: background-color 0.6s ease, color 0.6s ease;
}
body.inverted,
html.inverted {
  background-color: #000;
}

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

.content > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.content img:last-of-type {
  background-color: inherit;
  display: block;
}

.footer {
  background-color: inherit;
  color: inherit;
  padding: 1em;
  text-align: left;
} 




html, body {
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}
