h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
p {
  margin: 0;
  min-height: 8px;
}
.animation-gradient {
  background: linear-gradient(
    -45deg,
    rgba(242, 127, 196, 0.1),
    rgba(255, 195, 75, 0.2),
    rgba(113, 229, 164, 0.2)
  );
  background-size: 400% 400%;
  animation: gradient 8s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.red-underline {
  border-bottom: #fb3f4b 2px solid;
  transition: all 0.3s ease-in-out;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -o-user-select: none !important;
  user-select: none !important;
  display: inline-block !important;
}

.red-underline:hover {
  background-color: #fb3f4c14;
  border-radius: 2px;
  pointer-events: none !important;
}

.red-underline.error-hovered {
  background-color: #fb3f4c14;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.gc-editor-box > p {
  position: relative;
}

.gc-editor-box > p > br {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -o-user-select: none !important;
  user-select: none !important;
}

@keyframes flash {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.input {
  opacity: 0;
  position: absolute;
  width: 1px;
  height: 1px;
  color: black;
}

.caret {
  animation-name: flash;
  animation-iteration-count: infinite;
  animation-duration: 1s;
  transition: 0.12s;
}

.caret {
  position: absolute;
  display: inline;
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgba(156, 163, 175, var(--tw-text-opacity));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgba(55, 65, 81, var(--tw-text-opacity));
}

.text-red-500 {
  --tw-text-opacity: 1;
  color: rgba(239, 68, 68, var(--tw-text-opacity));
}

.select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.pointer-events-none {
  pointer-events: none;
}

.ck-editor__editable_inline {
  min-height: 400px;
}
.ql-container {
  font-size: 20px;
}
.ql-editor {
  min-height: 350px;
  font-size: 18px;
  max-height: 350px;
  overflow: auto;
}

.text-black {
  --tw-text-opacity: 0.8;
  color: rgba(0, 0, 0, var(--tw-text-opacity));
}

.bg-yellow-600 {
  --tw-bg-opacity: 1;
  background-color: rgba(217, 119, 6, var(--tw-bg-opacity));
}

.curr-letter {
  text-decoration: underline;
  -webkit-text-decoration-style: solid;
          text-decoration-style: solid;
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    text-decoration: none;
  }
}

#qb-pphr-app {
  box-sizing: border-box;
}

#paraphraser-input-content {
  box-sizing: border-box;
}
#qb-pphr-app > * [contenteditable] {
  outline: 0px solid transparent;
}

.qb-pphr-tool {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 20px 0px;
  background-color: #ffffff;
}

iframe {
  min-height: 70vh;
}

@media (max-width: 600px) {
  iframe {
    min-height: calc(100vh - 200px);
  }
}

[contentEditable='true']:empty:not(:focus):before {
  content: attr(placeholder);
  opacity: 0.5;
}

@media only screen and (min-width: 1024px) {
  #pphr-view-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .qb-pphr-tool {
    /* max-height: 480px; */
    overflow: auto;
  }
}

@media only screen and (min-width: 600px) {
  #pphr-view-editor-box {
    max-height: 50vh;
    overflow: auto;
  }
}
.qb-pphr-tool {
  border-radius: 8px;
}

#pphr-view-header-box > div > div > div > div > :last-child {
  position: absolute;
  left: calc(48.5%);
}

#paraphraser-output-box {
  border-top: 1px solid #eeeeee;
}

