:root {
  color-scheme: light;
  --bg: #fff;
  --text: #212121;
  --text-strong: black;
  --text-heading: #555;
  --text-muted: #777;
  --text-subtle: #888;
  --text-faint: #808080;
  --text-on-accent: white;
  --surface: #fefefe;
  --surface-menu: #f1f1f1;
  --surface-image-panel: #bbb;
  --surface-card: #ccc;
  --surface-card-hover: #ddd;
  --surface-card-active: #aaa;
  --surface-thumb: gray;
  --tile-placeholder: #e8e8e8;
  --chip: #ddd;
  --chip-selected: #555;
  --chip-text: #444;
  --chip-selected-text: #EEE;
  --input-bg: #fff;
  --footer-bg: #dadada;
  --section-alt-bg: #cacaca;
  --code-bg: #888;
  --border: #888;
  --border-input: gray;
  --border-input-light: #aaa;
  --border-chip-input: #CCC;
  --outline-strong: black;
  --accent: #1885f2;
  --accent-hover: #2c9cfc;
  --accent-text: #1885f2;
  --accent-soft-bg: #eef5fe;
  --link: #1a73e8;
  --orange: #f15a24;
  --orange-hover: #f76a2f;
  --header-hover: #444;
  --badge-bg: gray;
  --badge-text: white;
  --error-text: red;
  --error-bg: #ffcccc;
  --error-strong-text: #d8000c;
  --error-strong-bg: #ffbaba;
  --message-bg: pink;
  --success-bg: #efe;
  --stat-bg: #fee;
  --step-current-bg: #ddf;
  --check: #0f0;
  --scrollbar-thumb: #80c0ff;
  --scrollbar-thumb-border: #1585f2;
  --scrollbar-thumb-hover: #a1cef9;
  --scrollbar-thumb-hover-border: #46a0f9;
  --scrollbar-track: #e0e0e0;
  --overlay: rgba(0,0,0,0.4);
  --shadow: rgba(0,0,0,0.2);
  --shadow-strong: rgba(0,0,0,0.5);
}

:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #121212;
  --text: #e2e2e2;
  --text-strong: #ececec;
  --text-heading: #c4c4c4;
  --text-muted: #a3a3a3;
  --text-subtle: #9c9c9c;
  --text-faint: #9a9a9a;
  --text-on-accent: #f7f7f7;
  --surface: #1e1e1e;
  --surface-menu: #262626;
  --surface-image-panel: #1b1b1b;
  --surface-card: #2b2b2b;
  --surface-card-hover: #363636;
  --surface-card-active: #404040;
  --surface-thumb: #3a3a3a;
  --tile-placeholder: #2a2a2a;
  --chip: #3a3a3a;
  --chip-selected: #8c8c8c;
  --chip-text: #e6e6e6;
  --chip-selected-text: #121212;
  --input-bg: #1e1e1e;
  --footer-bg: #1a1a1a;
  --section-alt-bg: #262626;
  --code-bg: #333;
  --border: #5a5a5a;
  --border-input: #6b6b6b;
  --border-input-light: #5f5f5f;
  --border-chip-input: #555;
  --outline-strong: #d0d0d0;
  --accent: #1f6fbf;
  --accent-hover: #2a7ed1;
  --accent-text: #6aa9f0;
  --accent-soft-bg: #1c2a3a;
  --link: #8ab4f8;
  --orange: #c4461b;
  --orange-hover: #d4532a;
  --header-hover: #3a3a3a;
  --badge-bg: #555;
  --badge-text: #f0f0f0;
  --error-text: #ff8a80;
  --error-bg: #4a1f1f;
  --error-strong-text: #ff8a80;
  --error-strong-bg: #4a1f1f;
  --message-bg: #4a2433;
  --success-bg: #1d3a24;
  --stat-bg: #3a2a2a;
  --step-current-bg: #262b45;
  --check: #57d65b;
  --scrollbar-thumb: #2c5f95;
  --scrollbar-thumb-border: #1f4f84;
  --scrollbar-thumb-hover: #3a73ad;
  --scrollbar-thumb-hover-border: #2c6299;
  --scrollbar-track: #1b1b1b;
  --overlay: rgba(0,0,0,0.65);
  --shadow: rgba(0,0,0,0.6);
  --shadow-strong: rgba(0,0,0,0.8);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --bg: #121212;
    --text: #e2e2e2;
    --text-strong: #ececec;
    --text-heading: #c4c4c4;
    --text-muted: #a3a3a3;
    --text-subtle: #9c9c9c;
    --text-faint: #9a9a9a;
    --text-on-accent: #f7f7f7;
    --surface: #1e1e1e;
    --surface-menu: #262626;
    --surface-image-panel: #1b1b1b;
    --surface-card: #2b2b2b;
    --surface-card-hover: #363636;
    --surface-card-active: #404040;
    --surface-thumb: #3a3a3a;
    --tile-placeholder: #2a2a2a;
    --chip: #3a3a3a;
    --chip-selected: #8c8c8c;
    --chip-text: #e6e6e6;
    --chip-selected-text: #121212;
    --input-bg: #1e1e1e;
    --footer-bg: #1a1a1a;
    --section-alt-bg: #262626;
    --code-bg: #333;
    --border: #5a5a5a;
    --border-input: #6b6b6b;
    --border-input-light: #5f5f5f;
    --border-chip-input: #555;
    --outline-strong: #d0d0d0;
    --accent: #1f6fbf;
    --accent-hover: #2a7ed1;
    --accent-text: #6aa9f0;
    --accent-soft-bg: #1c2a3a;
    --link: #8ab4f8;
    --orange: #c4461b;
    --orange-hover: #d4532a;
    --header-hover: #3a3a3a;
    --badge-bg: #555;
    --badge-text: #f0f0f0;
    --error-text: #ff8a80;
    --error-bg: #4a1f1f;
    --error-strong-text: #ff8a80;
    --error-strong-bg: #4a1f1f;
    --message-bg: #4a2433;
    --success-bg: #1d3a24;
    --stat-bg: #3a2a2a;
    --step-current-bg: #262b45;
    --check: #57d65b;
    --scrollbar-thumb: #2c5f95;
    --scrollbar-thumb-border: #1f4f84;
    --scrollbar-thumb-hover: #3a73ad;
    --scrollbar-thumb-hover-border: #2c6299;
    --scrollbar-track: #1b1b1b;
    --overlay: rgba(0,0,0,0.65);
    --shadow: rgba(0,0,0,0.6);
    --shadow-strong: rgba(0,0,0,0.8);
  }
}
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

/* ==========================================
Single-colored icons can be modified like so:
.icon-name {
  font-size: 32px;
  color: red;
}
========================================== */
/*
.icon-circle-o {
  width: 0.857421875em;
}

.icon-plus {
  width: 0.7861328125em;
}

.icon-close4 {
  width: 0.7861328125em;
}
*/
/*.icon-eye {
  width: 0.7861328125em;
}*/
html {
  font-size: 16px;
}

html, * {
  font-family: "Lato", sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

* {
  font-size: 20px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

h1 {
  font-size: 32px;
  color: var(--text-heading);
}

h2 {
  font-size: 24px;
  color: var(--text-heading);
}

.babel-btn {
  border-radius: 15px;
  border: 0px;
  padding: 5px;
  margin: 2px;
  cursor: pointer;
  text-align: center;
  font-size: 24px;
  padding: 5px 20px;
}
.babel-btn:disabled {
  pointer-events: none;
  opacity: 0.35;
}
.babel-btn.disabled {
  pointer-events: none;
  opacity: 0.15;
}
.babel-btn.blue {
  background-color: var(--accent);
  color: var(--text-on-accent);
}
.babel-btn.orange {
  background: var(--orange);
  color: var(--text-on-accent);
}
.babel-btn.orange:hover {
  background: var(--orange-hover);
  transition: all 0.2s ease-in-out;
  transform: scale(1.025);
}
.babel-btn.transparent {
  background-color: transparent;
  color: var(--text-strong);
  border: 2px solid var(--outline-strong);
  border-radius: 30px;
  padding: 5px 20px;
}
.babel-btn.transparent:hover {
  background-color: var(--outline-strong);
  color: var(--bg);
}
.babel-btn.borderless {
  border: none;
}
.babel-btn.inline {
  display: inline-block;
  padding: 5px 0px;
}
.babel-btn.square {
  border-radius: 3px;
}
.babel-btn.full-width {
  display: block;
  width: 100%;
}

a.babel-btn {
  text-decoration: none;
}

.browser-icon {
  width: 64px;
  height: 64px;
}

.browser-extension-link {
  text-align: center;
  width: 100px;
  margin: 0 auto;
  padding: 20px;
  text-decoration: none;
  color: var(--text-strong);
}
.browser-extension-link:hover {
  border-radius: 10px;
  background: var(--section-alt-bg);
  transition: all 0.2s ease-in-out;
  transform: scale(1.05);
}

.babel-logo {
  border-radius: 15px;
  /*
    width: $header-inside-height;
  */
  height: 64px;
  min-width: 120px;
  min-height: 64px;
  position: relative;
  margin: 0px 16px;
  font-size: 24px;
}
.babel-logo::after {
  display: inline-block;
  width: 200px;
  height: 64px;
  background: url("/public/assets/NightVault-icon-002.svg") no-repeat;
  background-size: contain;
  content: " ";
}
.babel-logo {
  /*
    &:hover {
      transition: all .2s ease-in-out;
      transform: scale(1.1);
    }
  */
}

:root[data-theme=dark] .babel-logo::after {
  background-image: url("/public/assets/NightVault-icon-002-dark.svg");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .babel-logo::after {
    background-image: url("/public/assets/NightVault-icon-002-dark.svg");
  }
}
p {
  margin: 4px 0px 16px 0px;
}

/*
.header {
  display: flex;
  flex-direction: row;
  width: calc(100% - 40px);
  justify-content: space-between;
  padding: 20px;

  * {
    font-size: $small-font-size;
    color: var(--text-muted);
  }
}
*/
.header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  margin-top: 16px;
  place-items: center;
}
.header a {
  text-decoration: none;
  color: var(--text-strong);
}
.header a:hover {
  text-decoration: underline;
}

.header-spaced-out > * + * {
  margin-left: 20px;
}
.header-spaced-out {
  display: grid;
  grid-auto-flow: column;
  place-items: center;
}

.blurb {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 24px;
}
.blurb * {
  color: var(--text-muted);
  font-size: 24px;
  margin: 30px 0px;
}

.one-liners * {
  font-size: 24px;
}

.xxl-padding {
  margin-top: 120px;
  margin-bottom: 120px;
}

.btn-signup {
  cursor: pointer;
}
.btn-signup.big {
  padding: 16px 70px;
  border-radius: 48px;
}
.btn-signup {
  display: block;
  padding: 10px 50px;
  border-radius: 36px;
  background: var(--orange);
  transition: all 0.3s ease-in-out;
  color: var(--text-on-accent);
  text-decoration: none;
  font-size: 32px;
  /*
    margin: 30px 0px;
  */
  margin: 30px auto;
}
.btn-signup.large {
  padding: 30px 50px;
  border-radius: 50px;
  font-size: 32px;
}
.btn-signup:hover {
  background: var(--orange-hover);
  transition: all 0.2s ease-in-out;
  transform: scale(1.025);
}

.artwork-credits {
  display: block;
  align-self: flex-end;
  padding: 20px;
  color: var(--text-muted);
  /*
    width: 100%;
    text-align: right;
  */
}

#username,
#password {
  margin: 10px 0px;
}
#username div,
#password div {
  font-size: 20px;
}

.input-login {
  border: 2px var(--border-input-light) solid;
  border-radius: 4px;
  padding: 5px;
  font-size: 20px;
  margin: 5px 0px;
  min-width: 350px;
}
.input-login:focus {
  outline: none;
  border-color: var(--accent-text);
}

.forgot-password {
  display: block;
  color: var(--text-subtle);
  text-decoration: none;
  margin: 20px 0px 40px 0px;
  text-align: center;
  font-size: 20px;
}

.forgot-password:hover {
  text-decoration: underline;
}

#promo_img {
  max-width: 100%;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 200px;
  background-color: var(--footer-bg);
  box-shadow: 0 50vh 0 50vh var(--footer-bg);
}
.footer * {
  font-size: 20px;
  color: var(--text-muted);
}
.footer p {
  margin: 5px 0px;
}

.spaced-out > * + * {
  margin-left: 20px;
}

.code {
  background-color: var(--code-bg);
  border-radius: 10px;
  padding: 5px 10px;
  color: var(--text-on-accent);
}

ol > li {
  margin: 7px 0px;
}

/* Sign up */
/* FAQ */
.one-column-container {
  /*
    display: flex;
    flex-direction: column;
    align-self: center;
  */
  width: 800px;
  max-width: 800px;
  margin: auto;
}

.two-column-container {
  display: flex;
  flex-direction: row;
  padding: 0px 40px;
}

.toc {
  width: 30%;
}

.content {
  width: 70%;
  max-width: 800px;
}

.section > * {
  font-size: 24px;
  color: var(--text-muted);
}

.section {
  margin-bottom: 10px;
}

.question {
  font-weight: bold;
  margin-bottom: 5px;
}

.answer {
  margin-bottom: 32px;
}

.toc-section {
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
}

.toc-question {
  margin-left: 10px;
}

#arrow_right_icon {
  display: inline-flex;
  /*      width: 20px;
  */
  /*      margin: 0px 10px 0px 15px;
  */
  align-items: center;
  opacity: 0.25;
}

#eye_icon {
  display: inline-flex;
  width: 20px;
  margin: 0px 14px;
  align-items: center;
  /*
        color: white;
  */
}

.steps {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  margin-left: -10px;
}
.steps .step {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 10px;
  margin: 0px 10px;
  font-size: 20px;
}
.steps .step.current {
  background-color: var(--step-current-bg);
  font-weight: bold;
  /*      background-color: #6f6;
        text-decoration: underline;
  */
}
.steps .step:not(.current) {
  opacity: 0.25;
}

.error {
  color: var(--error-text);
  font-weight: bold;
  background: var(--error-bg);
  padding: 10px;
}

.hidden {
  display: none;
}

.signup-error-message {
  color: var(--error-strong-text);
  background: var(--error-strong-bg);
  padding: 20px;
}

.login-form {
  width: -webkit-fit-content;
  height: -webkit-fit-content;
  width: -moz-fit-content;
  height: -moz-fit-content;
}

.theme-form fieldset {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px 12px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.theme-form legend {
  color: var(--text-muted);
  padding: 0 6px;
}
.theme-form label {
  cursor: pointer;
}
.theme-form input {
  accent-color: var(--accent-text);
}
