body {
    background-color: black;
    margin: 0;
    padding: 0;
}

h1, h3 {
    text-align: center;
    color: white;
    margin: .5em;
}

article {
    max-width: 80%;
    margin: auto;
    color: white;
    font-size: 1.1em;
    line-height: 1.6em;
    padding: 0 1em;
}

 img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.copilot-credit {
    font-size: .8em;
    font-style: italic;
    text-align: right;
    margin: 1em auto;
    color: #888;
    max-width: 90%;
    padding-right: 1em;
}

.previous, .next {
    width: 6em;
    height: 1.2em;
    margin: 1em auto;
    text-align: center;
    color: white;
}

figure {
    margin: 2em auto;
    max-width: 90%;
    text-align: center;
}

.captioned-image {
    position: relative;
    display: block;
    max-width: 40%;
    margin: 2em auto;
    text-align: center;
}

.captioned-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.captioned-image figcaption {
    position: absolute;
    background: rgba(255, 255, 255, .6);
    left: 0;
    width: 98.8%;
    padding: 0.5em;
    bottom: 0em;
    color: black;
    font-size: 0.9em;
    text-align: center;
    text-shadow: 1px 1px 2px rgb(255, 255, 255, .5);
    font-style: italic;
}

figure.float-left {
    float: left;
    width: 20%;        /* or whatever size you prefer */
    margin: 0.5em 1em 0.5em 0;
}

figure.float-right {
    float: right;
    width: 20%;
    margin: 0.5em 0 0.5em 1em;
}

figure img {
    width: 100%;
    height: auto;
}

figure figcaption {
    font-size: 0.9em;
    text-align: center;
    margin-top: 0.3em;
}

article section p {
  font-style: italic;
  color: #ffeecc;
  background: #332200;
  padding: .05em 1em;
  border-left: 5px solid #cc9900;
  width: 80%;
  margin: 0 auto;
  text-indent: 2.5em;
  box-shadow: 0 0 6px 2px #221100 inset, 0 0 6px 1px #221100;
  transition: background .5s ease;
}

article section p:hover {
    background: #3f2a00;
}

.lyricsContainer {
  display: flex;
  flex-direction: column;
  width: 84%;
  gap: 2em;
  margin: 2em auto;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2em;
}

.thousandWorlds-leftSide,
.thousandWorlds-rightSide {
  flex: 1;
  padding: .5em 1em;
}

.chorusInTheMiddle {
  text-align: center;
  padding: .2em 1em;
}

@media screen and (max-width:800px) {
    h1 {
        font-size: 1.4em;
    }

    article {
        font-size: 1em;
        padding: 0 0.5em;
    }

    figure {
        max-width: 100%;
    }

    .captioned-image figcaption {
        width: 95%;
        font-size: .6em;
    }

    .copilot-credit {
        text-align: center;
        font-size: .9em;
        padding: 0;
    }

    .lamia-encounter {
        flex-direction: column;
        align-items: center;
    }

   .lamia-encounter img {
        max-width: 80%;
    }

    .lyricsContainer {
        font-size: .6em;
        width: 100%;
    }
}
