/* ================================
              Buttons
================================ */

.link-button{
    margin-top: auto;
    text-align: center;
}
.link-button button{
    border-radius: var(--radius);
    background: var(--backgroundColor-2);
    color: var(--secondaryColor);
    font-size: 20px;
    padding: 5px;
    transition: 400ms ease-in-out;
}
.link-button button:hover{
  color: var(--quaternaryColor);
  background: var(--backgroundColor);
  transition: 400ms ease-in-out;
}

/* ================================
              Carousel
================================ */

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}
.mySlides img {
    border: solid var(--backgroundColor-2);
    border-radius: var(--radius);
}

/* Next & previous buttons */
.prev{
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: -3%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--secondaryColor);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left:99%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: var(--secondaryColor);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: var(--backgroundColor);
}

/* Caption text */
.text {
  color: var(--secondaryColor);
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background: var(--backgroundColor);
  opacity: 0.7;
  border-radius:  0 0 var(--radius) var(--radius) ;
  border: solid var(--backgroundColor-2);
}

/* Number text (1/N'th) */
.numbertext {
  color: var(--secondaryColor);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: var(--backgroundColor);
  border: solid var(--backgroundColor-2);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: var(--backgroundColor-2);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* ================================ */
              /* Story */
/* ================================ */


.story{
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    border-radius: var(--radius);
}

.book{
  flex: auto;
  margin: 15px;
  flex-direction: column;
}
.book button{
  width: 250px;
  height: 250px;
  border-radius: var(--radius);
  margin: 0 10px;
}

.chapter{
  flex: auto;
  margin: 15px;
  flex-direction: column;
}
.chapter button{
  width: 250px;
  height: 250px;
  border-radius: var(--radius);
  margin: 0 10px;
}

.title h1{
  text-align: center;
  color: var(--primaryColor);
}
.grid{
  flex-wrap: wrap;
  display: flex;
  width: 100vw;
  border: solid ;
  border-radius:  var(--radius);
}

.cover-image{
  margin-left: -9px;
  margin-top: -1px;
  max-height: 250px; 
  width: auto;
  border-radius: var(--radius);
}
.chapter-image{
  margin: 25px;
  max-height: 350px; 
  width: auto;
  border-radius: var(--radius);
}

.book-wrapper{
  margin: auto;
  display: flex;
  width: 90%;
}

.chapter-title{
  width: 100%;
  flex: auto;
  border: solid;
  border-radius: var(--radius) var(--radius) 0 0;
}
.chapter-title h1{
  margin: 25px;
  color: var(--quaternaryColor);
  width: 100%;
}
.chapter-title img{
  width: 250px;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.chapter-text{
  border: solid;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 30px;
  margin-bottom: 15px;
}
.chapter-text p{
  font-size: var(--story-font-size);
}

/* ================================ */
      /* Audio */
/* ================================ */

.header-container audio{
  width: 90%;
  height: 30px;
  margin: auto auto 25px auto;
}
.header-container audio::-webkit-media-controls-play-button,
     audio::-webkit-media-controls-panel {
      background-color: var(--backgroundColor-2);
      color: var(--primaryColor);
      width: 90%;
     }

/* ================================ */
      /* Forward/Back Buttons */
/* ================================ */

.book-buttons button{
  border: solid;
  width: 300px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--backgroundColor-2);
  color: var(--secondaryColor);
  font-size: 25px;
  font-weight:800;
  transition: 400ms ease-in-out;
}
.book-buttons button:hover{
  color: var(--quaternaryColor);
  background: var(--backgroundColor);
  transition: 400ms ease-in-out;
}

.book-buttons{
  display: flex;
  width: 100%;
}
.back, .forward{
  flex: auto;
  margin: 0 0 30px 0;
}

/* ================================ */
              /* Story Forge */
/* ================================ */
.title-forge{
  width: 100%;
  text-decoration:underline;

}
.forge-wrapper{
  width :550px;
  display: flex;
  flex-direction: column;

}
.story-forge{
  width: 100%;
  min-height: 9.5rem;
  border: solid var(--storyForge-Border);
  background-color: var(--storyForge-Green);
  border-radius: var(--radius) var(--radius) 0 0;
}
.forge-buffer{
  height: 50px;
  width: 550px;
  background-color: var(--storyForge-BG);
  border: solid var(--storyForge-Border);
  border-top: 1px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.forge-text{
  display: flex;
  align-items: flex-start;
  padding-left: 20px;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--storyForge-BG);
  margin: 0;
  text-align: start;
}
.forge-text h4{
  font-size: 25px;
  color: var(--storyForge-txt);
}
.forge-text p{
  color: var(--storyForge-txt);
  margin-top: -25px;
}
.forge-text-buffer p{
  color: var(--storyForge-txt);
  text-align: start;
  padding-left: 15px;
  margin-top: 8px;
}

/* ================================ */
          /* Disclaimer */
/* ================================ */
.disclaim {
  color: var(--secondaryColor);
  font-size: 20px;
  font-weight: 800;
  /* background glow */
  transition: 1s;
  text-shadow: 0 0 5px var(--quaternaryColor),
               0 0 10px var(--quaternaryColor),
               0 0 15px var(--quaternaryColor),
               0 0 20px var(--quaternaryColor),
               0 0 25px var(--quaternaryColor),
               0 0 30px var(--quaternaryColor),
               0 0 35px var(--quaternaryColor);
}

.disclaim:hover {
  transition: 1s;
  color: var(--quaternaryColor);
  text-shadow: 0 0 5px var(--secondaryColor),
               0 0 10px var(--secondaryColor),
               0 0 15px var(--secondaryColor),
               0 0 20px var(--secondaryColor),
               0 0 25px var(--secondaryColor),
               0 0 30px var(--secondaryColor),
               0 0 35px var(--secondaryColor);
}


/* ================================ */
        /* link-button-grid */
/* ================================ */
.link-button-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 5px;
}
.link-button-grid button{
  width: 100px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--backgroundColor-2);
  color: var(--secondaryColor);
  font-size: 20px;
  padding: 5px;
  transition: 400ms ease-in-out;
  font-size: 20px;
}

.link-button-grid p{
  color: var(--secondaryColor);
  padding: 0;
  margin: 0;
  font-size: 15px;
  text-align: center;
  font-weight: 600;
}


/* ================================ */
              /* Part */
/* ================================ */



/* ================================ */
              /* Part */
/* ================================ */