
/* MEDIA THINGI TO MAKE NAVBAR STACK UP TOP ON SMALL THINGS, BUT TOC FOLLOWS SCROLL */

body {
  background-color: #fff;
  background-image: url("/images/galaxy.png");
  background-repeat: auto;
  color: black;
  font-family: "Lexend", sans-serif;
}

h1, h2, h3, h4, h5 {
  font-weight: bold;
  padding: 3px;
}

h1 {
  font-size: 1.88rem;
  border-bottom: 3px solid #696969;
}

h2 {
  text-align: left;
  font-size: 1.5rem;
  border-bottom: 3px solid #696969;
}

h3 {
  text-align: left;
  font-size: 1.25rem;
  border-bottom: 1px solid #696969;
  font-style: italic;
}

h4 {
  text-align: left;
  font-size: 1.25rem;
  border-bottom: 1px solid #696969;
  text-indent: 5%;
}

h5 {
  text-align: left;
  font-size: 1.25rem;
  border-bottom: 1px solid #696969;
  font-style: italic;
  text-indent: 5%;
}

p {
  padding: 3px;
}

#one-true-wrapper {
  background-color: rgba(255, 255, 255, .8);
}

#access {
  position: fixed;
  top: 2%;
  right: 2%;
  z-index: 100;
  background-color: #fff;
  border: 1px solid #696969;
  padding: 8px;
  border-radius: 15px;
}

#access-button {
  font-size: 1.2rem;
  display: inline-block;
}

#access-more {
  display: none;
}

#header-text, #toc-header {
  border-bottom: 3px solid #696969;
  font-weight: bold;
}

#header-text {
    font-size: 2rem;
}
  
#toc-header {
  font-size: 1.5rem;
}

#main-wrapper {
  padding: 10px 10px 50px 10px;
}

@media screen and (min-width: 769px) and  (max-width: 1024px), screen and (min-width: 481px) and (max-width: 768px), screen and (max-width: 480px) {
  #jump-spacer {
    display: block;
    height: 50px;
  }
  
  #jump {
    position: fixed;
    padding: 4px;
    bottom: 0;
    right: 0;
    text-align: center;
    width: 100%;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #696969;
  }
  
  #main-wrapper, #doublenav-wrapper {
    position: relative;
    margin: 2% auto 0;
    width: 95%;
  }
  
  #double-header {
    width: 100%;
    position: relative;
    top: 0;
    margin: 0 auto;
    overflow: hidden;
    z-index: 10;
    background: #fff;
  }
  
  #navbar, #double-navbar, #toc {
    width: 95%;
    position: relative;
    top: 0;
    margin: 1% auto;
    overflow: hidden;
  }

  #navbar-content, #toc-content {
    display: block;
    width: 100%;
    margin: 0;
    overflow-wrap: break-word; /* necessary? */
  }
  
  #header-text, #toc-header {
    overflow-wrap: break-word; /* necessary? */
    width: 100%;
    text-align: left;
    margin: 0;
  }
  
  #navbar-content ul, #toc-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
    overflow-y: auto;
  }
  
  /* #navbar-content li, #toc-content li {
    float: left;
  } */
  
  #navbar-content li a, #toc-content li a {
    display: block;
    overflow-wrap: break-word;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    border-bottom: 1px solid #808080;
  }
  
  #navbar-content li a:hover, #toc-content li a:hover {
    color: #808080;
  }
  
  #navbar-content li ul, #toc-content li ul {
    list-style-type: none;
    margin: 0;
    padding-left: 8px;
    overflow: hidden; 
  }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
  #jump-spacer {
    display: none;
  }
  
  #jump {
    position: fixed;
    padding: 8px;
    bottom: 2%;
    text-align: center;
    right: 1%;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #696969;
    border-radius: 15px;
  }
  
  #main-wrapper {
    top: 2%;
    margin-left: 24%;
    width: 75%;
  }

  #doublenav-wrapper {
    top: 2%;
    margin-left: 21%;
    width: 60%;
  }
  
  #double-header {
    left: 0;
    position: fixed;
    background: none;
    width: 100%;
  }
  
  #navbar {
    width: 23%;
    position: relative;
    top: 2%;
    left: 0;
    overflow: hidden;
    height: auto;
  }
  
  #double-navbar, #toc {
    width: 20%;
    position: absolute;
    top: 2%;
    overflow: hidden;
    height: auto;
  }
  
  #double-navbar {
    left: 0;
  }
  
  #toc {
    right: 0;
  }
  
  #navbar-content, #toc-content {
    width: 90%;
    margin: 0 10%;
    overflow-wrap: break-word;
  }
  
  #header-text, #toc-header {
    overflow-wrap: break-word;
    width: 90%;
    text-align: left;
    margin: 0 10%;
  }
  
  #navbar-content ul, #toc-content ul {
    list-style-type: none;
    margin: 0;
    padding-left: 10px;
    overflow: hidden; 
  }
}

@media screen and (min-width: 1201px) {
  #jump-spacer {
    display: none;
  }
  
  #jump {
    position: fixed;
    padding: 8px;
    bottom: 2%;
    right: 1%;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #696969;
    border-radius: 15px;
  }

  #main-wrapper {
    top: 2%;
    margin-left: 23%;
    width: 75%;
  }

  #doublenav-wrapper {
    top: 2%;
    margin-left: 20%;
    width: 60%;
  }
  
  #double-header {
    left: 0;
    position: fixed;
    background: none;
    width: 100%;
  }
  
  #navbar {
    width: 25%;
    position: absolute;
    top: 2%;
    left: 0;
    overflow: hidden;
    height: auto;
  }
  
  #double-navbar, #toc {
    width: 20%;
    position: absolute;
    overflow: hidden;
    height: auto;
  }
  
  #double-navbar {
    left: 0;
  }
  
  #toc {
    right: 0;
  }
  
  #navbar-content ul, #toc-content ul {
    list-style-type: none;
    margin: 0;
    padding: 10px;
  }

  #navbar-content, #toc-content {
    width: 80%;
    margin: 0 10%;
    overflow-wrap: break-word;
  }
  
  #header-text, #toc-header {
    overflow-wrap: break-word;
    width: 80%;
    text-align: left;
    margin: 0 10%;
  }
  
  #jump-2 {
    display: none;
  }
  
  #jump {
    position: fixed;
    padding: 8px;
    bottom: 2%;
    right: 2%;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #696969;
    border-radius: 15px;
  }
} 

p.ip {
  text-indent: 5%;
}

.quotes {
  max-width: 90%;
  padding-left: 10%;
  border-left: 5px solid #808080;
}

ul.quotes, ol.quotes {
  max-width: 85%;
  padding-left: 15%;
  border-left: 5px solid #808080;
}

.spoilers {
  width: 90%;
  margin: 8px auto;
}

.spoiler-box {
  width: 100%;
  display: none;
  border: 5px solid #808080;
  border-top: 0px;
  padding: 5px 8px;
  box-sizing: border-box;
}

.spoiler-title {
  width: 100%;
  appearance: none;
  margin: auto;
  display: block;
  background-color: #fff;
  color: #000;
  border: 5px solid #808080;
  padding: 5px;
  box-sizing: border-box;
  line-height: 0;
}

.spoiler-title:hover {
  cursor: pointer;
}

.content-warning {
  width: 80%;
  margin: auto;
  /* background-color: #fff;
  color: #000; */
  padding: 5px;
  box-sizing: border-box;
  border: 5px solid #808080;
  text-align: center;
}

p.content-warning-title {
  font-size: 1.1rem;
  font-weight: bold;
}

p.content-warning-content {
  width: 100%;
  padding-bottom: 10px;
}

.img-no-wrap {
  width: 100%;
  margin: auto;
  display: block;
}

.img-no-wrap img {
  min-height: 3rem;
  max-height: 90%;
  width: auto;
  display: block;
  margin: auto;
}

.img-wrap, .img-wrap-right {
  max-width: 35%;
  height: auto;
}

.img-wrap {
  float: left; 
  margin-right: 1rem;
}

.img-wrap-right {
  float: right; 
  margin-left: 1rem;
}

.img-wrap img, .img-wrap-right img {
  display: inline-block;
  max-width: 100%;
  display: block;
}

p.img-desc {
  width: 100%;
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
}

#eighteen-plus-cover {
  z-index: 90;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/twigs-g31d7e81fc_640.jpg');
  background-color: #363636;
}

#eighteen-plus {
  z-index: 99;
  position: fixed;
  top: 10%;
  left: 25%;
  width: 50%;
  text-align: center;
  font-size: 30px;
  padding: 10px;
  box-sizing: border-box;
  border: 5px black solid;
  background-color: #363636; /* EDIT ME! CHanges bg color of entire page */
  color: lightgrey; /* EDIT ME! Changes text color of entire page */
}

.eighteen-bttn {
  width: 30%;
  font-size: 20px;
  text-decoration: underline;
  color: white;
  padding: 8px 15px;
}

hr.solid {
  border-top: 1px solid #696969;
}

