/* 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: dark;
  --primary: #bf0068;
  --primary-hover: #ff008c;
  --primary-active: #bf0068;
  --body-background: #0c0c0c;
  --body-color: #fefefe;
  --body-color-medium: #777;
  --body-color-dark: white;
  --link: #0fff4f;
  --select-color: black;
  --select-bg-color: white;
  --transition: all ease-in-out 320ms;
}

.light {
  color-scheme: light;
  --primary: #bf0068;
  --primary-hover: #e42d86;
  --primary-active: #bf0068;
  --body-background: #fefefe;
  --body-color: #454549;
  --body-color-medium: #777;
  --body-color-dark: #2e3438;
  --link: #0fff4f;
  --select-color: white;
  --select-bg-color: black;
  --transition: all ease-in-out 420ms;
}

:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #12ee21;
  --bs-teal: #0085A1;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0085A1;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  /* --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
  --bs-font-sans-serif: "Terminus", monospace;
  /* --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; */
  --bs-font-monospace: "Terminus", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  /* --bs-body-font-family: Lora, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; */
  --bs-body-font-family: "Terminus", monospace;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
}