:root {
  --purple: #800080;
  --brick-red: #AA4A44;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Montserrat", sans-serif;
  background-color: black;
  color: white;
  overflow-x: hidden;
  width: 100%;
}

/* text "Montserrat", sans-serif; headings "Libre Baskerville", serif; */

h1, h2, h3 {
  font-family: "Libre Baskerville", serif;
  text-decoration: underline;
  text-underline-offset: 20%;
  text-decoration-color: var(--brick-red);
}

a {
  text-decoration: none;
}



/*      ---     HEADER      ---     */


header {
  width: 100%;
  height: 15vh;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  min-height: 100px;
  position: sticky;
  top: 0;
  background-color: black;
  z-index: 100;
}

.header-left {
  height: 100%;
  width: 33%;
}

.logo-img {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img img {
  height: 14vh;
  min-height: 100px;
  border-radius: 50%;
  object-fit: contain;
}

.head-book-div {
  height: 100%;
  width: 33%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.head-book-div > .book-link {
  display: none;
}

.head-book-div a {
  display: none;
}

.menu-container {
  position: relative;
  z-index: 1000;
}


.hamburger {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  position: fixed;
  top: 5vh;
  left: 5vh;
  z-index: 1100;
}



.hamburger:active {
  background-color: var(--brick-red);
}

.hamburger div {
  height: 4px;
  background-color: white;
  border-radius: 2px;
}


.dropdown-menu {
  position: fixed;
  top: 2.5vh;
  left: 2.5vh;
  background-color: var(--brick-red);
  border: 1px solid var(--brick-red);
  flex-direction: column;
  padding: 2vh;
  display: flex; 
  z-index: 1090;
  overflow-y: auto;
  padding-top: 6vh;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 5px;
  font-size: 1.3em;
}

.dropdown-menu a {
  color: white;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background-color: black;
  padding: 1em;
}

.dropdown-menu a:hover {
  opacity: 0.8;
}

.dropdown-menu a:active {
  background-color: var(--brick-red);
}




.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.section-divider {
  width: 75%;
  height: 2px;
  background: linear-gradient(to right, white, var(--brick-red) 20% 80%, white);
  margin: 0px auto;
  opacity: 0.6;
  border-radius: 30px;
  z-index: -1;
  position: relative;
}

.section-divider-purple {
  width: 75%;
  height: 2px;
  background: var(--purple);
  margin: 0px auto;
  opacity: 0.6;
  border-radius: 100px;
  box-shadow: 0px 0px 2px 2px var(--purple);
  position: relative;
  z-index: -1;
} 

.sticky-divider {
  position: fixed;
  left: 12.5%;
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

  .hamburger {
    width: 60px;
    height: 40px;
  }

  .hamburger div {
    height: 6px;
  }
  
  .dropdown-menu {
    font-size: 1.75em;
    padding-top: 8vh;
  }
}

@media (min-width: 1025px) {

  header {
    position: static;
  }

  .sticky-divider {
    position: static;
  }

  .head-book-div > .book-link {
    display: block;
    position: fixed;
    right: 8.5vh;
    top: 5vh;
    z-index: 20;
    background-color: black;
  }

  .head-book-div a {
    display: inline-block;
    position: fixed;
    right: 8.5vh;
    top: 5vh;
    z-index: 20;
    background-color: black;
    border-radius: 30px;
  }

  .hamburger {
    top: 6.5vh;
    left: 8.5vh;
    width: 40px;
    height: 30px;
  }

  .hamburger div {
    height: 6px;

  }

  .dropdown-menu {
    top: 5vh;
    left: 6.5vh;
  }
}





/*          ---        MAIN SECTION         ---         */

h1 {
  text-align: center;
  margin: 40px auto;
}

h2 {
  margin: 15px auto;
  text-align: center;

}

a {
  color: white;
}

a:active {
  color: var(--brick-red);
}


section {
  text-align: center;
  padding: 20px;
  margin-bottom: 40px;
  margin-top: 40px;
}

.book-link {
  color: var(--brick-red);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 24px;
  border: 2px solid var(--brick-red);
  border-radius: 30px;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  text-align: center;
  width: fit-content;
  max-width: 90vw;
}

.book-link:active {
  opacity: 0.75;
}

.book-link:hover {
  background-color: var(--brick-red);
  color: white;
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(139, 46, 46, 0.5);
  cursor: pointer;
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

  h1 {
    font-size: 3em;
    margin: 60px auto;
  }

  h2 {
    font-size: 2.5em;
    margin: 25px auto;
  }

  section {
    margin-bottom: 80px;
    margin-top: 80px;
    padding-left: 12.5%;
    padding-right: 12.5%;
  }

  p {
    font-size: 2em;
  }
}

@media (min-width: 1025px) {

  section {
    padding-left: 30%;
    padding-right: 30%; 
  }
}





/*            ---          FOOTER           ---          */


footer {
  height: 45vh;
  width: 100%;
  min-height: 265px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  width: 100%;
}

.footer-logo {
  height: 34%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  height: 10vh;
  min-height: 65px;
  border-radius: 50%;
  object-fit: contain;
}

.footer-contact {
  height: 29%;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.footer-contact i {
  color: white;
  text-decoration: underline;
  text-decoration-color: var(--brick-red);
  font-size: 1.25em;
  margin: 5px;
}

footer h3:hover {
  transform: scale(1.03);
}

footer h3{
  transition: 0.5s;
}

.footer-book {
  height: 29%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  margin: 10px auto;
  font-size: 0.5em;
}

.footer-copyright p {
  margin: 5px;
  font-size: 1.25em;
}

.footer-copyright a {
  color: white;
  font-size: 1.25em;
  text-decoration: underline;
}

.footer-copyright a:active {
  color: var(--brick-red);
}




@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

  .book-link {
    font-size: 1.75em;
    padding: 20px 36px;
    border-radius: 50px;
    margin-bottom: 50px;
    margin-top: 50px;
  }

  .footer-contact h3 {
    font-size: 2.25em;
  }

  .footer-copyright {
    font-size: 0.75em;
  }
}

@media (min-width: 1025px) {

  footer {
    height: 15vh;
    min-height: 100px;
    padding: 0;
    margin: 0;
  }

  .footer-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .footer-contact {
    font-size: 1.15em;
    display: flex; 
    justify-content: center;
  }

  .footer-contact h3:last-of-type {
    margin-top: 10px;
  }
}
