header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
header .horizontal {
  display: flex;
  flex-direction: row;
}
header a {
  position: relative;
  padding: 1px;
  background-clip: padding-box;
  transition: all 0.4s ease-out;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
}
header a.star-link:hover {
  opacity: 1;
}
header a.star-link:after {
  opacity: 0;
  transition: 0.4s ease-out;
  transform: rotate(-90deg);
}
header a.star-link:hover:after {
  opacity: 1;
  transform: rotate(0deg);
}
header h1 {
  font-size: 2.5rem;
  margin: 0;
  margin-bottom: 8px;
}
header h1 a.star-link:hover {
  padding-right: 35px;
  /* roughly size of :after? */
}
header h1 a.star-link:after {
  content: '★';
  position: absolute;
  top: -0.04em;
  right: -0.5em;
  /* editing position of star after title */
}
@media (min-width: 22rem) and (max-width: 37.5em) {
  header h1 a.star-link:after {
    top: 1.33em;
  }
}
@media (max-width: 22rem) {
  header h1 a.star-link:after {
    top: 2.7em;
  }
}
header h1 a.star-link:hover:after {
  right: 0;
}
header p {
  font-size: 0.875rem;
  max-width: 25rem;
  text-align: right;
  margin: 0;
}
#navbar {
  padding-left: 1rem;
  margin: 0;
  vertical-align: top;
}
#navbar li {
  text-align: left;
  list-style-type: none;
}
#navbar a.star-link {
  font-size: 1rem;
}
#navbar a.star-link:after {
  content: '☆';
  position: absolute;
  top: -0.0625em;
  right: -0.375em;
}
#navbar a.star-link:hover:after {
  right: -0.875em;
}
/* resize header */
@media (max-width: 37.5em) {
  header .horizontal {
    flex-direction: column;
  }
  header p {
    text-align: center;
  }
  #navbar {
    padding-left: 0;
  }
  #navbar li {
    display: inline-block;
    margin: 1em;
    text-align: center;
  }
}
@media (max-width: 20em) {
  #navbar {
    margin-top: 0.5rem;
  }
  #navbar li {
    display: list-item;
    margin: auto;
  }
}

button,
.primary-button,
.secondary-button,
.tab-menu button,
.tab-menu button:hover,
.tab-menu button.active {
  cursor: pointer;
  outline: none;
  transition: all 0.1s;
  -webkit-transition: all 0.1s;
  -moz-transition: all 0.1s;
}
.primary-button,
.tab-menu button:hover,
.tab-menu button.active {
  background-color: #15c6e0;
  border-radius: 5px;
  border: 1px solid;
  color: #fff;
  box-sizing: border-box;
}
.secondary-button,
.tab-menu button {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid;
  color: #15c6e0;
  box-sizing: border-box;
}
.tab-menu button {
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  padding: 5px 14px;
  margin-right: 5px;
}
.tab-menu button:hover,
.tab-menu button.active {
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}

.tab-content--details .btn--add-person {
  background-color: #fff;border-radius: 5px;border: 1px solid;color: #15c6e0;box-sizing: border-box;
}
.tab-content {
  width: 100%;
  height: 31.25rem;
  box-sizing: border-box;
  border: 1px solid #15c6e0;
  background-color: #fff;
  display: none;
}
.tab-content.tab-content--active {
  display: flex;
}
.tab-content:not(.tab-content--text) {
  padding: 20px;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}
.tab-content h3:nth-of-type(1) {
  margin-top: 0;
  margin-bottom: 1rem;
}
.tab-content > p {
  margin-top: 0;
}
.tab-content .row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 300px;
  margin-bottom: 1rem;
}
.tab-content .row.row--label-only {
  align-items: flex-end;
  margin-bottom: 0;
  text-align: left;
  margin-left: 2px;
  font-size: 0.8rem;
  opacity: 0.7;
}
.tab-content .row .row__spacer {
  display: inline-block;
  text-align: right;
  padding-right: 0.7rem;
  width: 4.5rem;
  flex: 0 0 4.5rem;
}
.tab-content .row input,
.tab-content .row select {
  padding: 4px;
  box-sizing: border-box;
  min-width: 0;
  flex: 1 1 auto;
}
.tab-content .row input.jscolor,
.tab-content .row input[type='radio'] {
  flex: initial;
}
.tab-content--text .ck.ck-editor__editable_inline {
  border: none;
  height: inherit;
  width: inherit;
}
.tab-content--story-nav .preview {
  white-space: pre-wrap;
}
.tab-content--story-nav .p--margin-bottom-none {
  margin-bottom: 0;
}
.tab-content--details .row__half-width {
  width: 50%;
}
.tab-content--details .row__half-width ~ .row__half-width {
  margin-left: 5px;
}
.tab-content--details .row--person {
  margin-bottom: 5px;
}
.tab-content--details .btn--add-person {
  background-color: transparent;
  border: none;
  font-size: 0.8rem;
}
.tab-content--details .btn--add-person:focus,
.tab-content--details .btn--add-person:hover {
  font-weight: bold;
}
.tab-content--details .label--radio {
  margin-top: 3px;
}
.tab-content--details .jscolor {
  width: 6em;
  border: 0.5px #adadad;
  border-style: solid;
}
.tab-content--tl-notes .row--tl-editor {
  flex: 0 1 100%;
  display: flex;
  align-items: flex-start;
}
.tab-content--tl-notes .ck.ck-editor__editable_inline {
  border: 1px solid var(--ck-color-base-border);
  height: 100%;
  width: 100%;
  max-height: initial;
  overflow-y: auto;
  -webkit-appearance: textfield;
}
.tab-content--tl-notes .ck.ck.ck-editor__editable_inline:not(.ck-editor__nested-editable).ck-focused {
  border: 1px solid var(--ck-color-base-border);
}

button,
.primary-button,
.secondary-button,
.actions #convert-button,
.actions #copy-button {
  cursor: pointer;
  outline: none;
  transition: all 0.1s;
  -webkit-transition: all 0.1s;
  -moz-transition: all 0.1s;
}
.primary-button,
.actions #convert-button {
  background-color: #15c6e0;
  border-radius: 5px;
  border: 1px solid;
  color: #fff;
  box-sizing: border-box;
}
.secondary-button,
.actions #copy-button {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid;
  color: #15c6e0;
  box-sizing: border-box;
}
.main-page {
  max-width: 100rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.input,
.output {
  width: 45%;
  min-width: 409px;
  max-width: 31.25rem;
  margin: 0 16px;
}
.output {
  height: 31.25rem;
  margin-top: 26.5px;
  box-sizing: border-box;
  border: 1px solid #15c6e0;
  resize: none;
}
.output:focus {
  outline: none;
}
.actions {
  display: flex;
  flex-direction: column;
  margin: 26.5px 0 0 0;
}
.actions button,
.actions .error {
  width: 140px;
  margin: 0 0 1rem 0;
}
.actions button {
  font-size: 1rem;
  padding: 0.7rem;
}
.actions button:active {
  transform: scale(0.9);
}
.actions .error {
  color: red;
  text-align: center;
}
@media (max-width: 1022px) {
  /*half-screen window*/
  .main-page {
    flex-direction: column;
    align-items: center;
  }
  .input,
  .output {
    margin-top: 2rem;
    width: 90%;
    max-width: 49rem;
    margin: 1rem;
  }
  .actions {
    width: 90%;
    flex-wrap: wrap;
    margin: 0.5rem 0 0 0;
    flex-direction: row;
    justify-content: center;
  }
  .actions button {
    margin: 0 0.5rem;
  }
  .actions .error {
    width: 80%;
    flex: 1 0 auto;
    margin-top: 0.5rem;
    margin-bottom: 0;
  }
}

.how-to-page {
  box-sizing: border-box;
  width: 80%;
  background-color: #fff;
  padding: 2.5rem;
  margin: 1rem auto;
  border-radius: 5px;
}
.how-to-page img {
  width: 30.125rem;
}

/*---------------------------------ALL PAGES----------------------------------*/
body {
  margin: 0;
  padding: 2.5rem;
  background-image: url(assets/72f8829c99beaca89e696c7650613aa5.png);
  background-repeat: repeat;
  font-family: 'Nunito', sans-serif;
}
@media (max-width: 736px) {
  body {
    padding: 2.5rem 0.5rem;
  }
}
a {
  color: #15c6e0;
  text-decoration: none;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
}
a:hover {
  opacity: 0.2;
}
h2 {
  color: #15c6e0;
  font-size: 2rem;
  text-transform: uppercase;
  margin-top: 0;
}
h3 {
  color: #15c6e0;
  font-size: 1.5rem;
  text-transform: uppercase;
}
p,
li,
blockquote {
  font-size: 0.875rem;
}
blockquote {
  border-left: 1px solid #15c6e0;
  padding: 0.5em 1em;
}
li {
  margin: 0.25em 0;
}
.ck.ck-editor__editable_inline {
  outline: none;
}
:root {
  --ck-border-radius: 0;
  --ck-inner-shadow: none;
  --ck-drop-shadow: none;
  --ck-focus-ring: none;
  --ck-color-focus-border: none;
}

