*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.8);
  text-align: left;
  font-family: var(--font-family), serif;
  width: 100%;
  height: 100%;
}

ul,
ol {
  list-style: none;
}

body {
  width: 100%;
  height: 100%;
}

p + p {
  text-indent: 2rem;
}

/* Utility Classes */
.a-text-decoration-none a,
.a-text-decoration-none a:hover {
  text-decoration: none;
}

:root {
  --size-xs: 320px;
  --size-sm: 480px;
  --size-md: 640px;
  --size-lg: 768px;
  --size-xl: 1024px;
}

.visible-xs {
  display: none;
}

.visible-sm {
  display: none;
}

.visible-md {
  display: none;
}

.visible-lg {
  display: none;
}

.visible-xl {
  display: none;
}

.flex-row-lg-up {
  flex-direction: column;
}

@container (width >= 728px) {
  .flex-row-lg-up {
    flex-direction: row;
  }
}

@container (width >= 320px) {
  .visible-xs {
    display: revert;
  }
}

@container (width >= 480px) {
  .visible-sm {
    display: revert;
  }
}

@container (width >= 640px) {
  .visible-md {
    display: revert;
  }
}

@container (width >= 768px) {
  .visible-lg {
    display: revert;
  }
}

@container (width >= 1024px) {
  .visible-xl {
    display: revert;
  }
}

.padding-2rem-0-md {
  padding: 2rem 0;
}

.padding-big {
  padding: 4rem;
}

figure {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

figure > img {
  width: 100%;
}

img {
  width: 100%;
}

figcaption {
  text-align: center;
  font-size: 1rem;
  font-style: italic;
}

iframe {
  margin: 2rem 0;
  width: 100%;
  aspect-ratio: 16 / 9;
}

@media (width < 640px) {
  .padding-2rem-0-md {
    padding: 0;
  }

  .padding-big {
    padding: 2rem;
  }
}

.text {
  text-align: justify;
}

.text ul,
.text ol {
  margin-left: 1rem;
  margin-top: 0.5rem;
}

.text li > ul,
.text li > ol {
  margin-top: 0;
}

.text li {
  margin-top: 0.5rem;
}

.text ul {
  list-style: disc;
}

.text ol {
  list-style: decimal;
}

.text p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.text h1,
.text h2,
.text h3,
.text h4 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.text a {
  text-decoration: none;
}

.first-letter-big:first-letter {
  font-size: 1rem;
}

.hover-underline {
  text-decoration: none;
}

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

/* Theme */
@font-face {
  font-family: "Amiri";
  src: url("/assets/fonts/Amiri-Regular.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amiri";
  src: url("/assets/fonts/Amiri-Bold.woff2") format("woff2");
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: "Amiri";
  src: url("/assets/fonts/Amiri-BoldItalic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Amiri";
  src: url("/assets/fonts/Amiri-Italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --link-color: #d50000;
  --text-color: #222222;
  --light-text-color: rgb(100, 100, 100);
  --font-family: "Amiri";
  --font-color: rgba(0, 0, 0, 0.8);
}

a {
  color: var(--link-color);
}

/* Script */
.play-script {
  text-align: justify;
}

.play-script h1 {
  font-size: 2rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}
.play-script h2 {
  font-size: 1.2rem;
  line-height: 1.2rem;
  margin-bottom: 1rem;
}
.scene {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin-top: 32px;
}

.act {
  font-size: 2em;
  font-weight: bold;
  margin-top: 64px;
  text-align: center;
}

.stage-direction {
  text-indent: 0;
  font-style: italic;
  margin: 18px 0;
}

.character-line {
  font-size: 0.8em;
  margin-bottom: 8px;
}

.character-line:first-letter {
  font-size: 1rem;
}

.character {
  padding-right: 8px;
}

.character::after {
  content: ":";
}

.aside {
  padding-right: 8px;
  font-style: italic;
  font-size: 1rem;
}

.line {
  padding-right: 8px;
  font-size: 1rem;
}

.verse {
  display: block;
  font-size: 1rem;
  text-align: center;
}

.script h2 {
  margin: 16px 0;
  font-size: 1.1em;
}

.script h1 {
  margin: 0;
}

.script p.act,
.script p.scene,
.script p.cast-list {
  text-indent: 32px;
}

.download {
  position: fixed;
  bottom: 16px;
  width: 100%;
  text-align: center;
}

.cast-title {
  font-size: 1.5em;
  text-align: center;
  font-weight: bold;
  margin-top: 32px;
}

ul.cast-list {
  list-style-type: none;
  margin: 0 0 32px 0;
  text-align: center;
}

.cast-character {
  display: block;
  font-size: 0.8rem;
}

.cast-character:first-letter {
  font-size: 1rem;
}

/* ============================= */
/* MORE_THAN_ONE_COLUMN */
/* @media (min-width: 800px) */
/* ============================= */

@media only screen and (min-width: 800px) {
  .character-line {
    text-indent: -32px;
    padding: 0 64px;
  }

  .stage-direction {
    padding: 0 72px;
  }
}

/* ============================= */
/* LESS_ONE_COLUMN */
/* @media (max-width: 800px) */
/* ============================= */

@media only screen and (max-width: 800px) {
  .character-line {
    text-indent: -8px;
    padding: 0 16px;
  }
}
