/* BASICS */
html {
  font-size: 14px;
}

body {
  font-family: "Roboto Sans", Arial, sans-serif;
  padding: 0;
  background-color: rgb(235 248 255);
  line-height: 1.25;
  -webkit-text-size-adjust: 100%;
}
main {
  max-width: 680px;
  min-height: 67vh;
  color: rgb(74 85 104);
  background-color: rgb(235 248 255);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0.5rem;
}

h1, h2, h3 {
  font-family: "Roboto Serif", Georgia, Cambria, serif;
  margin-bottom: 1rem;
  padding-top: 1rem;    }
h1 {
  font-size: 1.875rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.5;
}
a {
  color: rgb(47 133 90);
}
a:visited {
  color: rgb(47 133 90);
}

@media (min-width: 768px) {
  html {
      font-size: 16px;
  }
  body {
      background-color: rgb(235 244 255);

  }
  main {
      max-width: 760px;
      border-radius: 0.5rem;
  }
}
@media (min-width: 1024px) {
  html {
      font-size: 18px;
  }
  main {
      max-width: 920px;
  }
}





/* POEM and BLOGPOST classes */

.epigraph {
  margin-left: 2rem;
  font-style: italic;
  margin-top: -0.5rem;
  font-size: 90%;
}

.strophe-indented {
  margin-left: 1.5rem;
}

.strophe-indented-with-italics {
  margin-left: 1.5rem;
  font-style: italic;
}

.lines-indented-with-italics {
  margin-left: 1.5rem;
  font-style: italic;
  margin-top: -1rem;
  line-height: 1.5;
}

.lines-indented {
  margin-left: 1.5rem;
  margin-top: -1rem;
  line-height: 1.5;
}

.deep-indent {
  margin-left: 5rem;
}

.spoken-fragment {
  font-style: italic;
}

.monospace-line {
  font-family: "Roboto Mono", monospace;
}

.monospace-concrete {
  font-family: "Roboto Mono", monospace;
  white-space: pre;
}

.sans-concrete {
  font-family: "Roboto Sans", sans-serif;
  white-space: pre;
  line-height: 1.5;
}

.pre-sans {
  font-family: 'Roboto Sans', sans-serif;
  line-height: 1.5;
}

.paragraph {
  text-indent: 2rem;
}

.listing {

  & li {
    line-height: 1.5;
    margin-bottom: 1rem;
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 1rem;
  }
}

.display-graphic-with-poem-to-right {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1rem;
  row-gap: 1rem;
  align-items: start;
  justify-items: start;
  margin-bottom: 1rem;

  & img {
    width: 40%;
    margin: 0 auto;
    display: block;
  }

  @media (min-width: 768px) {
    grid-template-columns: 40% 1fr;

    & img {
      width: 100%;
    }
  }
}

.display-graphic-as-background {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  & div[aria-label="Poem body"] {
    background-color: transparent;
    filter: 
      drop-shadow(-1px -1px 0 rgb(235 248 255))
      drop-shadow(1px -1px 0 rgb(235 248 255))
      drop-shadow(-1px 1px 0 rgb(235 248 255))
      drop-shadow(1px 1px 0 rgb(235 248 255));
    z-index: 1;
  }

  & div.canvas-wrapper {
    position: absolute;
    top: 0px;
    right: 0px;
  }
}
.level-with-top {
  margin-top: 0;
  padding-top: 0;
}
