/* Right philosopher: lined paper (Homemade Apple), keyword underline */
@import url("https://fonts.googleapis.com/css2?family=Homemade+Apple&family=Lobster&display=swap");

.right-philosopher {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.right-philosopher .philosopher-notes-title {
  color: #c8c2b3;
}

.right-philosopher .philosopher-notes-content {
  font-family: var(--note-fontFamily, "Homemade Apple", cursive);
  font-size: var(--note-fontSize, 1.2rem);
  background: transparent;
  padding: 0.5rem 0;
}

.right-philosopher .philosopher-notes-content .container {
  background: white;
  width: min(60ch, 90vw);
  max-width: 100%;
  margin-top: -0.5rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  padding-top: 2rem;
  box-shadow: 5px 5px 10px #aaa;
}

.right-philosopher .line {
  height: 3rem;
  position: relative;
  padding-left: 0.5rem;
  box-sizing: border-box;
}

.right-philosopher .line span {
  position: absolute;
  bottom: -24px;
  color: var(--note-color, #284283);
  opacity: 0.9;
}

.right-philosopher .line.right span {
  right: 0.5rem;
}

.right-philosopher .line.indent span {
  left: 15ch;
}

.right-philosopher .line.double-indent span {
  left: 25ch;
}

/* Keyword underline (strong) - SVG jagged underline behind text */
.right-philosopher strong {
  position: relative;
  font-weight: 400;
}

.right-philosopher strong::after {
  content: "";
  position: absolute;
  bottom: -0.125rem;
  left: -0.5rem;
  right: -0.5rem;
  height: 0.75rem;
  z-index: -1;
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/664131/underline.svg");
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .right-philosopher .philosopher-notes-content {
    font-size: calc(var(--note-fontSize, 1.2rem) * 0.92);
  }

  .right-philosopher .line {
    height: 2.5rem;
  }
}

.right-philosopher .line span strong::after {
  bottom: -0.2rem;
  height: 0.5rem;
  left: -0.25rem;
  right: -0.25rem;
}
