@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap");
:root {
  font-family: "Lora", serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* @media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
} */

span.verses,
span.chapter {
  position: relative;
  visibility: visible;
  display: inline-flex;
  color: rgb(242 242 242);
}

span.chapter {
  font-size: 1.7rem;
  vertical-align: text-top;
  font-weight: 700;
  margin-inline-end: 0.1em;
}

span.verses {
  color: #fff;
  font-size: 0.65em;
  vertical-align: super;
  font-weight: 600;
  margin-inline-end: 0.1em;
}

/* Styles for inspecting nodes */
[perf-type] {
  position: relative;
  color: #f4ff93;
  box-sizing: border-box;
  border: 1px dashed transparent;
}

[perf-type]:empty::before {
  content: "·";
  padding: 2px;
  color: #fff;
  opacity: 0.5;
}

[perf-type]:hover {
  border-color: rgb(80, 80, 80);
}

[perf-type]:hover:after {
  font-size: 0.8rem;
  content: attr(perf-type) "/" attr(perf-subtype);
  position: absolute;
  width: max-content;
  background-color: #000000;
  top: -1.4rem;
  right: 0;
  border: 1px solid #777;
  opacity: 1;
}

[perf-type="graft"] {
  padding: 0.1em;
  margin: 0.25em 0em;
}

[perf-type="graft"][perf-subtype="title"] {
  width: 100%;
  text-align: center;
}

[perf-type="graft"][perf-subtype="heading"] {
  width: 100%;
  text-align: center;
}

[perf-type="paragraph"] {
  color: #faffca;
  /* text-decoration: underline 2px wavy #f4ff93; */
}

[perf-subtype="mt2"] {
  font-style: italic;
  font-size: 0.6em;
  font-weight: 400;
}

[perf-subtype="mt"],
[perf-subtype="mt1"] {
  font-weight: 700;
}

h1 span[perf-type="paragraph"] {
  display: block;
}

p[perf-type="paragraph"] {
  color: rgba(255, 255, 255, 0.87);
  text-align: justify;
}

[perf-subtype="introduction"] [perf-subtype="title"] {
  font-size: 1.5rem;
}

[perf-subtype="imt3"] {
  font-size: 0.8em;
}

[perf-type]:hover [perf-type="graft"],
.contentEditable:hover > [perf-type="graft"] {
  border: 1px dashed #747bff;
  background-color: #0000001a;
}

[perf-subtype="f"] > *:not([perf-subtype="note_caller"], [perf-subtype="note_caller"] *) {
  display: none;
}

[perf-subtype="f"]:focus-within
  > *:not([perf-subtype="note_caller"], [perf-subtype="note_caller"] *) {
  display: inline-block;
}

[perf-subtype="x"] > *:not([perf-subtype="note_caller"], [perf-subtype="note_caller"] *) {
  display: none;
}

[perf-subtype="x"]:focus-within
  > *:not([perf-subtype="note_caller"], [perf-subtype="note_caller"] *) {
  display: inline-block;
}

[perf-type="mark"] span {
  color: #e7ff5f;
  padding: 0.2rem;
  /* ContextMenuPlugin */
}

.auto-embed-menu {
  width: 150px;
}

.typeahead-popover {
  background: #fff;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.typeahead-popover ul {
  padding: 0;
  list-style: none;
  margin: 0;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.typeahead-popover ul::-webkit-scrollbar {
  display: none;
}

.typeahead-popover ul li {
  margin: 0;
  min-width: 180px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  border-radius: 8px;
}

.typeahead-popover ul li.selected {
  background: #eee;
}

.typeahead-popover li {
  margin: 0 8px 0 8px;
  padding: 8px;
  color: #050505;
  cursor: pointer;
  line-height: 16px;
  font-size: 15px;
  display: flex;
  align-content: center;
  flex-direction: row;
  flex-shrink: 0;
  background-color: #fff;
  border-radius: 8px;
  border: 0;
}

.typeahead-popover li.active {
  display: flex;
  width: 20px;
  height: 20px;
  background-size: contain;
}

.typeahead-popover li:first-child {
  border-radius: 8px 8px 0px 0px;
}

.typeahead-popover li:last-child {
  border-radius: 0px 0px 8px 8px;
}

.typeahead-popover li:hover {
  background-color: #eee;
}

.typeahead-popover li .text {
  display: flex;
  line-height: 20px;
  flex-grow: 1;
  min-width: 150px;
}

.typeahead-popover li .icon {
  display: flex;
  width: 20px;
  height: 20px;
  user-select: none;
  margin-right: 8px;
  line-height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
