* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#book-name-mobile, #synopsis-mobile {
  display: none;
}

.mobile-arrow {
  display: none!important;
}

#menu-toggle, .menu-icon {
  display: none;
}

.menu-overlay-mobile {
  display: none;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--cinza-azulado-escuro);
  color: white;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

:root {
  --cinza-azulado-claro: #172536;
  --cinza-azulado-escuro: #030911;
  --azul-claro: #b7d6ff;
  --amarelo-claro: #ffdea8;
}

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

header {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-auto-rows: 10vh;
  overflow: hidden;
  align-items: center;
  justify-items: center;
  background-color: var(--cinza-azulado-claro);
  color: var(--azul-claro);
}

/* READROD LOGO */
.div-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

#titulo {
  width: 10rem;
  max-width: 100%;
}

/* NAVBAR */


.div-nav-main-page {
  display: flex;
  justify-content: center;
  align-items: center;

  height: 100%;
  width: 100%;
  border-bottom: 1px solid var(--azul-claro);
}


.nav-main-page {
  font-size: 1.2rem;
  display: flex;
  gap: 40px;
} 


.nav-list {
  display: flex;
  gap: 20px;
  list-style-type: none;

}

.nav-list li {
  transition: all 0.3s;
  cursor: pointer;
}

.nav-list li:hover {
  transform: scale(1.05);
  color: var(--amarelo-claro);
  text-shadow: 2px -2px 10px rgba(92, 88, 24, 0.5);
}

#textos, #autor {
  opacity: 0.2;
  cursor: default;
}

#textos:hover, #autor:hover {
  cursor: not-allowed;
}




/* FIRST SECTION: LIVROS */


/* LEFT/RIGTH BUTTONS  */
.see-books-button {
  z-index: 1;
  font-size: 4rem;
  color: var(--azul-claro);
  opacity: 0.5;
  cursor: pointer;
}

.see-books-button:hover {
  opacity: 1;
}

.next-book-button {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
}

.previous-book-button {
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
}

.disable {
    display: none!important;
}





.section-livros {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  height: 100vh;
  background-image: linear-gradient(
    var(--cinza-azulado-escuro),
    var(--cinza-azulado-claro)
  );
}

.div-livros-title {
  text-align: center;
  font-size: 2rem;
  font-family: "Roboto Serif", sans-serif;
  font-weight: 600;
  color: var(--azul-claro);
}





.div-showing-books {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

/*inclui o "paragraph" com a sinopse em si,
 e "book-name" com o título do livro*/
.book-sinopse {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 60%;
 


}

/*BOOK TITLE*/
.book-name {
  font-family: "DM Serif Display";
  display: flex;
  align-items: end;
  color: var(--azul-claro);
  font-size: 3rem;
  font-weight: 600;
  height: 40%;
}

/*BOOK SYNOPSIS*/
.paragraph {
  font-size: 1rem;
  text-align: left;
  height: 40%;
}

.paragraph,
.book-name {
  width: 90%;
  padding-left: 100px;


}






/* BOOK COVERS */
.book-images {
  position: relative;
  display: flex;
  gap: 50px;
  width: 40%;

}

.selected-book {
  position: absolute;
  z-index: 1;
  top: 50%!important;
  transform: translate(20%, -50%) !important;
  height: 30rem!important;
  opacity: 1 !important;
  transition: all 0.4s;
}

.selected-book:hover {
  scale: 0.95;
  outline: 1px solid white;
}

.covers {
  position: absolute;
  top: 50%;
  transform: translate(10%, -50%);
  opacity: 0;
  height: 25rem;
  box-shadow: -10px 10px 10px var(--cinza-azulado-escuro);
  cursor: pointer;
}








/* SECOND SECTION: TEXTOS */

.section-textos {
  background-color: var(--cinza-azulado-escuro);
  height: 100vh;
}



/* MOBILE */
@media (max-width: 600px) {

  header {
    display: flex;
    justify-content: space-between;
    padding: 0px 15px;
  }


  .div-titulo {
    justify-content: flex-start;
    height: 100%;
    padding-top: 0;
  }

  #titulo {
    padding-top: 10px;
    width: 50vw;
  }

 /* MENU HAMBÚRGUER */
.menu-icon {
  display: flex;
  position: relative;
  z-index: 15;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 30px;
  cursor: pointer;
}

.linha {
  background-color: #ffffff;
  height: 2px;
  transition: 0.2s;
}


/* ANIMAÇÃO DO MENU HAMBÚRGUER ABRINDO */
#menu-toggle:checked + .menu-icon .linha:nth-child(1) {
  transform: rotate(45deg) translate(0px, 13px);
}
#menu-toggle:checked + .menu-icon .linha:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon .linha:nth-child(3) {
  transform: rotate(-45deg) translate(0px, -13px);
}



.menu-overlay-mobile {
  transition: all 0.5s;
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.85);
}

.menu-overlay-mobile-disable {
  opacity: 0;
  z-index: -1;
}

.nav-main-page {
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  font-size: 7vw;
}

.nav-list {
  flex-direction: column;
}




  #book-name-mobile, #synopsis-mobile { /*ATIVA O TÍTULO E SINOPSE VERSÃO MOBILE*/
    display: block;
    padding: 0px 20px;
    background-color: var(--cinza-azulado-escuro);
  }

  #synopsis-mobile { /*ELEMENTO QUE TAMBÉM FAZ PARTE DO ".paragraph" */

    width: 100%;
  }


  
  .see-books-button {
    display: none!important;
  }

  .mobile-arrow {
  display: block!important;
  opacity: 0.2!important;
  font-size: 10vw;
}

  .section-livros {
    height: auto;
  }

  .book-sinopse { /*DESATIVA O TÍTULO E SINOPSE VERSÃO DESKTOP*/
    display: none;
  }

  .div-nav-main-page {
    display: none;
  }


  .div-livros-title {
    font-size: 7vw;
    padding-bottom: 10px;
  }




  .div-showing-books {
    flex-direction: column;


  }

  .book-images {
    width: 100%;
    height: 80vw;
    justify-content: center;
  }

  .book-name {
    font-size: 7vw;
    height: auto;
    width: 100%;
    text-align: center;
    text-shadow: 2px 2px 20px black;
  }

  .paragraph {
    font-size: 4.5vw;
    line-height: 6vw;
  }

  .covers {
    display: block;
    height: 50vw;
    opacity: 0.2;
    top: 0;
    transform: translate(0, 0);
  }

  .selected-book {
    height: 70vw!important;
    top: 0!important;
    transform: translate(0, 0) !important;
  }


}

@media (min-width: 601px) and (max-width: 1024px) {

  .section-livros {
    height: 150vh;
  }

.book-name {
  font-size: 3.5vw;
  height: fit-content;
}

.paragraph {
  display: flex;
  align-items: center;
  height: fit-content;
  font-size: 2.3vw;
}

.paragraph, .book-name {
  padding: 0px 50px;
  width: 100%;
}

.selected-book {
  height: 40vw!important;
}





  
}