/* Dark Mode v. 1 see dark.js and sidebar.html.twig

:root {
    --primary: #f56a6a;
    --primary-hover: #f67878;
    --primary-active: #f45c5c;
    --body-background: #fefefe;
    --body-color: #454549;
    --body-color-dark: #2e3438;
    --sidebar: #f5f6f7;
    --sidebar-light: #eff1f2;
  }
  
[data-theme="dark"] {
    --primary: #f56a6a;
    --primary-hover: #f67878;
    --primary-active: #f45c5c;
    --body-background: #0c0c0c;
    --body-color: #fefefe;
    --body-color-dark: white;
    --sidebar: #222;
    --sidebar-light: #333;
}    

.theme-switch-wrapper {
  display: flex;
  align-items: center;
  line-height: 4rem;
  padding: 0 0 0 0 !important;
  margin: 0 0 0 0 !important;

  em {
    font-size: 34px;
  }
}
.theme-switch-wrapper label {
  margin: 0 0 0 0;
}

.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display:none;
}

.dark {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.dark:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

.theme-switch input:checked + .dark {
  background-color: #66bb6a;
}

.theme-switch input:checked + .dark:before {
  transform: translateX(26px);
}

.dark.round {
  border-radius: 34px;
}

.dark.round:before {
  border-radius: 50%;
}

.theme-switch-wrapper .sun {
  margin: 0 1rem 0 0;
}
.theme-switch-wrapper .moon {
  margin: 0 0 0 1rem;
}

*/

/* Dark mode v.2 */

:root {
  color-scheme: light;
  --primary: #f56a6a;
  --primary-hover: #f67878;
  --primary-active: #f45c5c;
  --body-background: #fefefe;
  --body-color: #454549;
  --body-color-dark: #2e3438;
  --sidebar: #f5f6f7;
  --sidebar-light: #eff1f2;
}

.dark {
  color-scheme: dark;
  --primary: #f56a6a;
  --primary-hover: #f67878;
  --primary-active: #f45c5c;
  --body-background: #0c0c0c;
  --body-color: #fefefe;
  --body-color-dark: white;
  --sidebar: #222;
  --sidebar-light: #333;
}