:root { scroll-behavior: smooth; }

body {
  padding: 2rem;
  max-width: 90vw;
  margin: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-size: 1.1rem;
  font-family: 'Inria Serif', Georgia, Times, 'Times New Roman', serif;
  max-width: 60rem;
  margin: auto;
  padding-bottom: 1.1rem;
}

#first {
  font-variant: small-caps;
}

h1 {
  font-size: 2rem;
}

img {
  margin: auto;
  max-width: 600px;
  display: flex;
  flex:auto;
}

p.divider {
  text-align: center;
  color:rgb(92, 92, 92);
  padding-bottom: 2rem;
}

.act {
  padding-top: 2rem;
  padding-bottom: 90vw;
}

.cushion {
  height: 25rem;
  width: 1rem;
  color: white;
}

/*main text*/
p.bizarro {
  max-width: 40rem;
  text-indent: 2em;
  text-align: justify;
  padding-bottom: .1rem;
}

p.disco {
  margin: 1.15em auto;
  max-width: 700px;
  font-variant: small-caps;
}

p.nether {
  text-align: center;
  max-width: 40rem;
  color: rgb(35, 97, 162);
}

/* next episode button*/

.bottombar {
  margin-left: 70vw;
  padding-top: 15rem;
}

.next {
  width: 10rem;
  height: 1.5rem;
  text-align:center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  border: solid 1px black;
  border-radius: 4px;
  padding: .5rem;
  background-color: transparent;
}

.netflix {
  background-color: gray; 
  width: 11.1rem;
  height: 2.6rem;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-radius: 4px;
  opacity: 30%;
}

.netflix:hover {
  animation: nextEpisode 5s linear;
  opacity: 100%;
}

.next:hover {
  opacity:100%;
}

a.netflix {
  text-decoration: none;
  color: black;
}

@keyframes nextEpisode {
  0%   {width: .1rem;}
  100% {width: 11.1rem;}
}

/* death */
p.death {
  font-family: 'Lucida Grande', 'Lucida Sans Unicode';
  margin: .7rem auto;
  max-width: 40rem;
}

/*screenplay*/
p.screenplay {
  font-size: 1.3rem;
  font-family: 'Cutive Mono', Courier, monospace;
  letter-spacing: -.1rem;
  word-spacing: -0.2rem;
}

p.screenplay.sectionhead {
  max-width: 20rem;
  text-align: center;
  text-decoration: underline;
}

p.screenplay.screendir {
  max-width: 43rem;
  padding-top: 1.1rem;
  padding-bottom: 0rem;
}

p.screenplay.character {
  max-width: 20rem;
  text-align: left;
  padding-left: 4rem;
  padding-top: 1.1rem;
  padding-bottom: 0.1rem;
}

p.screenplay.dialogue {
  margin: auto;
  max-width: 30rem;
  padding-bottom: 0;
}

p.screenplay.parenthetical {
  max-width: 20rem;
  padding-bottom: .1rem;
}

p.screenplay.transition {
  margin: auto;
  max-width: 50rem;
  text-align: right;
  padding-top: 1.1rem;

}

/* dreams */
p.dream {
  margin: 1.15em auto;
  max-width: 600px;
}

p.dreamOne  {
  margin-top: 1.15em;
  margin-left: 27%;
  margin-right: 20%;
  max-width: 600px;
}

p.dreamTwo {
  margin-top: 1.15em;
  margin-left: 30%;
  margin-right: 25%;
  max-width: 600px;
}

#dreamAlarm {
  color: red;
}

#dreamFade1 {
  color: rgb(100, 100, 100);
}

#dreamFade2 {
  color: rgb(150, 150, 150);
}

#dreamFade3 {
  color: rgb(200, 200, 200);
}

#dreamFade4 {
  color: rgb(250, 250, 250);
}

#dreamBlue {
  color: rgb(208, 246, 253);
}

#dreamGreen {
  color: rgb(215, 253, 208);
}

#dreamYellow {
  color: rgb(255, 251, 202);
}

#dreamOrange {
  color: rgb(245, 215, 190);
}

#dreamRed {
  color: rgb(245, 194, 190);
}


/*play*/
.play {
  font-family: 'Cutive Mono', Courier, monospace;
  font-size: 1.1rem;
}

.play.stagedir {
  width: 80vw;
  max-width: 600px;
  margin-left: 10em;
}

.play.char {
  text-align: left;
  padding-top: 1em;
  margin-bottom: 0;
}

.play.dialog {
  width: 80vw;
  padding-left: 3em;
  margin: 0 0 0 0;
}

.play.paren {
  padding-left: 6em;
  margin: 0 0 0 0;
  max-width: 400px;
}

/* Dropdown Menu */
.floating-menu {
    font-family: 'Inria Serif', Georgia, Times, 'Times New Roman', serif;
    background: rgb(213, 86, 13);
    padding: .8rem;
    min-width: 10rem;
    z-index: 100;
    position: fixed;
    top: 2rem;
    right: 2rem;
    opacity: 50%;
    border-radius: .2rem;
    font-weight: bold;
  }
  
  .floating-menu a {
    font-size: 1.2rem;
    font-family: 'Inria Serif', Georgia, Times, 'Times New Roman', serif;
    display: block;
    margin: auto;
    padding: .1rem;
    color: white;
  }

  .floating-menu h3 {
    font-family: 'Inria Serif', Georgia, Times, 'Times New Roman', serif;
    font-size: 1.6rem;
    text-align: center;
    font-weight: bold;
    padding: .1rem;
    color: rgb(44, 90, 169);
  }

  .floating-menu:hover {
    opacity: 90%;
  }

/*homepage*/ 
.chapterbox {
  opacity: 100%;
}

.chapterbox:hover {
  opacity: 80%;
  border: solid 1px rgba(0, 0, 255, 0.278);
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: rgba(21, 132, 152, 0.637);
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  vertical-align: baseline;
  padding: 7px 0;
  border-radius: 4px; 
  position: absolute;
  z-index: 1;
  bottom: 43%;
  left: 50%; 
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* next season button*/

.netflixTwo {
  background-color: white; 
  width: 11.1rem;
  height: 2.5rem;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-radius: 4px;
  opacity: 60%;
}

.netflixTwo:hover {
  opacity: 100%;
}

a.netflixTwo {
  text-decoration: none;
  color: black;
}