* {
    margin: 0;
    padding: 0;
  }
  
  a {
    color: rgb(243, 237, 237);
    text-decoration: none;
    transition: 0.3s;
  }
  

  body {
    background: rgb(11, 6, 26);
    width: 100%;    
}


  a:hover {
    opacity: 0.7;
  }
  
  .logo {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 4px;
  }
  
  nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
    background: #23232e;
    height: 8vh;
  }
  
  main {
    padding: 24px 24px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
  }
  
  .nav-list {
    list-style: none;
    display: flex;
  }
  
  .nav-list li {
    letter-spacing: 3px;
    margin-left: 32px;
  }
  
  .mobile-menu {
    display: none;
    cursor: pointer;
  }
  
  .mobile-menu div {
    width: 32px;
    height: 2px;
    background: #fff;
    margin: 8px;
    transition: 0.3s;
  }
  
.chapter1_content h1 {
    color: white;
    font-size: 2.5rem;
    -webkit-text-stroke: 1px rgb(58, 219, 120);
    text-align: center;
}


p {
    color: white;
}

.h3Chapter { /*STYLE H3 CHAPTER PAGINA AUDIO */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.audioDiv { /*STYLE H3 CHAPTER PAGINA AUDIO */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


h2 {
    color: white;
    text-align: center;  
    font-size: 34px;  
    text-decoration: underline;
    text-transform: uppercase;
    
}

h3 {
    padding-top: 10px;
    color: white;
    text-align: center;
    font-style: italic;
    font-size: 28px;
    -webkit-text-stroke: 2px rgb(58, 219, 120);
}


.p {    /*PARAGRAFOS */
    display: flex;
    font-size: 35px;
    justify-content: center;
    flex-direction: column;
    gap: 36px;
    text-align: center;
    
    -webkit-text-stroke: 2px #f4511e;
}


li {
    color: white;
}

.paragraph {
    padding: 40px;
    margin: 10px;
    color: white;
    font-size: 40px;
    text-align: justify;
    -webkit-text-stroke: 1px white;
}

.center {
    color: white;
    font-size: 35px;
    text-align: center;
    text-decoration: underline;
    margin-bottom: 150px;
}

.chapterImages {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto 48px;
    height: auto;
}

.chapterImages img {
  width: min(320px, 90%);
  height: auto;
}

/*STYLE  IMAGENS ENTRE PARÁGRAPHOS */

.chapterImagesMid {   
  display: flex;
  justify-content: center;
  align-items: center; 
  margin-right: auto;
  margin-left: auto;
}

.chapterImagesMid img {
  width: min(380px, 90%);
  height: auto;
}

.p_description {
  padding: 5%;
  margin: auto;
  width: 50%;
  text-align: center;
}

.p_description h1 {
  font-size: 48px;
}

.p_description P {
  font-size: 30px;
}

/*BUTTON START */

.button {
  display: inline-block;
  border-radius: 5px;
  background-color: #f4511e;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 24px;
  padding: 18px;
  width: 200px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 2px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

/*VOCAB SECTION */

.chapterVocab {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 50px;
  color: white;


}

.chapterVocab p {
  font-size: 22px;
  letter-spacing: 4px;
  line-height: 1.8;
}

.chapterVocab button {
  font-size: xx-large;
  background-color: greenyellow;
  cursor: pointer;
  width: 50%;
}

.buttonPlay:hover {
  opacity: 1;
  background-color: green;
}

/*THE VOCAB ROWS */

.mainRowMobile {
  display: none;
}

.mainRow {
  display: flex;
  align-items: flex-start;
  margin: 10px 10px 96px;
}

.firstRow {
  height: 100px;
  width: 150px;
}

.firstRow p {
  font-size: 22px;
}

.secondRow {
  height: 100px;
  width: 150px;
}

.secondRow p {
  font-size: 22px;
}

.thirdRow {
  height: 100px;
  width: 150px;
}

.thirdRow p {
  font-size: 22px;
}

.fourthRow {
  height: 100px;
  width: 150px;
}

.fourthRow p {
  font-size: 22px;
}

.fifthRow {
  height: 100px;
  width: 150px;
}

.fifthRow p {
  font-size: 22px;
}

.sixthRow {
  height: 100px;
  width: 150px;
}

.sixthRow p {
  font-size: 22px;
}


  @media (max-width: 999px) {
    body {
    background-image: url(/images/Stranger_in_Woodend.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
    }
    .nav-list {
      position: absolute;
      top: 8vh;
      right: 0;
      width: 50vw;
      height: 92vh;
      background: #23232e;
      flex-direction: column;
      align-items: center;
      justify-content: space-around;
      transform: translateX(100%);
      transition: transform 0.3s ease-in;
    }
    .nav-list li {
      margin-left: 0;
      opacity: 0;
    }
    .mobile-menu {
      display: block;
    }
  
  
.chapter1_content  h1 {
    font-size: 1.8rem;
}

.paragraph {
  font-size: 2rem;
  
  
}

.h3Chapter { /*STYLE H3 CHAPTER PAGINA AUDIO */   
    padding-right: 60px;
    padding-left: 60px;
}


img {
    display: block;
    width: 25%;
    margin-left: auto;
    margin-right: auto;
}


img {
    width: 50%;
}

/*HIDE MAIN ROW DESKTOP */
.mainRow {
  display: none;
}

/*MAIN ROW MOBILE STYLE */
.mainRowMobile {
  display: flex;
  align-items: flex-start;
  margin: 10px auto 96px;
}

.firstRowMob {
  height: 100px;
  width: 150px;
}

.firstRowMob p {
  font-size: 22px;
}

.secondRowMob {
  height: 150px;
  width: 150px;
}

.secondRowMob p {
  font-size: 22px;
}




  .nav-list.active {
    transform: translateX(0);
  }

  
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
  }
  
  .mobile-menu.active .line2 {
    opacity: 0;
  }
  
  .mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
  }

}

:root {
  --reading-scale: 1;
}

.chapter1_content h1 {
  font-size: calc(2.5rem * var(--reading-scale));
}

.paragraph {
  font-size: calc(40px * var(--reading-scale));
}

.center {
  font-size: calc(35px * var(--reading-scale));
}

.mainRow > div,
.mainRowMobile > div {
  height: auto;
}

.mainRow p,
.mainRowMobile p,
.chapterVocab p {
  font-size: calc(22px * var(--reading-scale));
}

.chapter-vocab-word {
  cursor: pointer;
  border-radius: 0.2em;
}

.chapter-vocab-word.is-active {
  background: #f5c518;
  color: #1a1404;
  -webkit-text-stroke: 0;
}

@media (max-width: 999px) {
  .chapter1_content h1 {
    font-size: calc(1.8rem * var(--reading-scale));
  }

  .paragraph {
    font-size: calc(2rem * var(--reading-scale));
  }
}

.font-size-control {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 6px;
  width: max-content;
  font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
  opacity: 0.38;
}

.font-size-control:hover,
.font-size-control:focus-within,
.font-size-control.is-open {
  opacity: 1;
}

.font-size-control__toggle {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.font-size-control__panel {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(18, 16, 28, 0.72);
}

.font-size-control__panel[hidden] {
  display: none;
}

.font-size-control__panel button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.font-size-control__panel button:disabled {
  opacity: 0.3;
  cursor: default;
}

.font-size-control__value {
  min-width: 36px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}