* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: "Cinzel", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  margin: 0;
  overflow-x: hidden;
}

/* General */

.heading-primary {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 3.2rem;
  text-align: center;
}

.heading-secondary {
  font-size: 4.5rem;
  font-weight: 600;
}

.heading-tertiary {
  font-size: 3.5rem;
  font-weight: 500;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 5rem;
}

.grid {
  display: grid;
  gap: 10rem;
}

.grid--2-colomns {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3-colomns {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4-colomns {
  grid-template-columns: repeat(4, 1fr);
}

.section-divider {
  height: 10rem;
  background-color: #1d72da;
  background: linear-gradient(
    90deg,
    rgb(7, 77, 127) 0%,
    rgb(12, 103, 143) 30%,
    rgb(23, 95, 171) 60%,
    rgb(22, 76, 134) 90%
  );
  width: 100vw;
  border-top: 2px solid #3d6eae;
  margin-left: calc(-50vw + 50%);
  box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.2) inset;
  opacity: 1;
}

.section-divider-2 {
  height: 10rem;
  background-color: rgb(10, 65, 104);
  background: linear-gradient(
    90deg,
    rgb(10, 65, 104) 0%,
    rgb(12, 103, 143) 30%,
    rgb(41, 121, 206) 60%,
    rgb(97, 145, 198) 90%
  );
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.2) inset;
  opacity: 1;
}

.btn:link,
.btn:visited {
  display: inline-block;
  font-weight: 600;
  font-size: 2rem;
  padding: 1.6rem 3.2rem;
  border-radius: 12px;
  transition: all 0.4s;
}

.btn-call-to-action:link,
.btn-call-to-action:visited {
  background-color: #fcb910;
  color: #222;
  transition: transform 0.25s ease;
}

.btn-call-to-action:hover,
.btn-call-to-action:active {
  background-color: #ffc966;
  transform: scale(1.06);
}

.section-hero .btn-call-to-action {
  background: linear-gradient(135deg, #0047ff 0%, #0073ff 100%);
  color: white;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.25);
}

.section-hero .btn-call-to-action:hover {
  background: linear-gradient(135deg, #0066ff 0%, #0073ff 100%);
  transform: scale(1.06);
}

.about-the-author .btn-call-to-action {
  background-color: #00b55b;
  color: #031601;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.25);
}

.about-the-author .btn-call-to-action:hover {
  background-color: #1bc670;
  transform: scale(1.06);
}

.btn-learn-more:link,
.btn-learn-more:visited {
  color: #000000;
}

.btn-learn-more:hover,
.btn-learn-more:active {
  background-color: rgb(212, 241, 205);
  box-shadow: inset 0 0 3px #115302;
}

.centered {
  text-align: center;
  justify-content: center;
}
.margin-right-small {
  margin-right: 1.4rem;
}

.margin-right-big {
  margin-right: 10rem;
}

.margin-left-small {
  margin-left: 1.4rem;
}
.margin-left-big {
  margin-left: 5rem;
}
.margin-bottom-small {
  margin-bottom: 2rem;
}
.margin-bottom-big {
  margin-bottom: 4rem;
}
.margin-top-small {
  margin-top: 2rem;
}
.margin-top-big {
  margin-top: 4rem;
}

.nowrap {
  white-space: nowrap;
}

/*Navigation Section */

.main-nav-list {
  list-style: none;
  display: flex;

  margin: 0;
  padding: 0;
  gap: 6rem;
}

.main-nav-list li {
  height: 6rem;
  display: flex;
  align-items: center;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: flex;
  text-decoration: none;

  color: #000000;
  font-weight: 400;
  font-size: 2rem;
  transition: all 0.4s;
  height: 6rem;
  align-items: center;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #9e0606;
  font-weight: 600;
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 5rem;
  width: 5rem;
  color: #343434;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  height: 6rem;
  width: 100%;
  background-color: #ffffff;
  z-index: 99;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/*Header Section */

.header {
  display: flex;

  justify-content: space-between;
  align-items: center;
  background-color: rgb(191, 219, 224);
  height: 3rem;
  padding: 0 4.8rem;
  overflow: hidden;
  transition: height 0.3s ease;
  border-bottom: 1px solid rgb(163, 188, 193);
}

.header.expanded {
  height: 6rem;
}

.logo {
  height: 6rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header.expanded .logo {
  opacity: 1;
  visibility: visible;
}

/*Hero Section */

.section-hero {
  background-color: #3fa069;

  text-align: center;
  padding: 4rem 0 9rem 0;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0rem 0;
}
.hero-text {
  color: white;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.7;
  margin-bottom: 4rem;
  text-align: center;
  color: white;
}

.hero-image {
  width: 100%;
  mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0) 100%
    );
  mask-composite: intersect;
  mask-repeat: no-repeat;
  mask-size: cover;

  -webkit-mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0) 100%
    );
  -webkit-mask-composite: intersect;
  mask-composite: intersect;

  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-repeat: no-repeat;
  mask-size: cover;
}

/* Choose your world section */

.choose-your-world {
  padding: 3rem;

  background-color: #030303ff;
  transition: background-color 1s ease;
}

.world-image {
  max-width: 100%;
  cursor: pointer;
  border-radius: 0.5rem;
  will-change: transform;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.world-text-main {
  color: antiquewhite;
}

.world-text-secondary {
  color: #c7c4c4;
}

.world-image-wrapper {
  animation: idle-move 5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

@keyframes idle-move {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.01) translateY(-2px);
  }
}

.world-image:hover,
.world-image:active {
  animation-play-state: paused;
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.6), 0 0 40px rgba(0, 200, 255, 0.4);
}

/**** styles for world pages ****/

/* Background images */
.cover-background-image,
.black-saint-background-image {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.cover-background-image .background,
.black-saint-background-image .background {
  position: absolute;
  inset: 0;
  height: 120%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  will-change: transform;
  z-index: 0;
  background-position: left center;
}

.cover-background-image .background {
  background-image: url("../assets/images/Dawn of the Black Sun full no text-lq.webp");
  filter: brightness(0.6) saturate(3);
}

.black-saint-background-image .background {
  background-image: url("../assets/images/The_black_saint_front_no_text-lq.webp");
  filter: brightness(0.6) saturate(3);
}

.cover-background-image .content,
.black-saint-background-image .content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding-bottom: 0rem;
}

.cover-background-image .background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.6);
}

.black-saint-background-image .background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

/* world explained */

.world-explained {
  padding: 3rem;
}

.world-explained-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.world-explained-grid.close-grid {
  gap: 1rem;
  grid-template-columns: auto auto;
  justify-content: center;
}

.world-explained-text {
  font-size: 4rem;
  text-align: center;
  max-width: 80rem;
  padding: 3rem;

  font-weight: 300;
}

.world-explained-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto 0;

  padding-bottom: 0;
}

.Map {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.map-image {
  max-width: 100%;
  padding: 2rem;
}

/* gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 10rem;
}

.gallery-img {
  width: 100%;
  height: 20rem;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);

  justify-content: center;
  align-items: center;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
}

/* reviews section */

.reviews-section {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.4);

  padding-top: 5rem;
  padding-bottom: 5rem;
}

.reviews-title {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.review {
  max-width: 600px;
  margin: 1.5rem auto;
  margin-bottom: 6rem;
  font-size: 2rem;
  line-height: 1.6;
  position: relative;
}

.stars {
  width: 120px;
  display: block;
  margin: 0 auto 0.5rem;
}

/*start reading section */

.start-reading {
  padding: 3rem;
}

.start-reading .grid {
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
}

.start-reading-btn {
  width: auto;
  align-self: center;
  justify-self: end;
}

.start-reading-image {
  width: 100%;
}

/*about */

.about-the-author {
  padding-top: 3rem;
  padding-left: 10rem;
  background: linear-gradient(135deg, rgb(153, 211, 247), rgb(1, 71, 115));
}

.about-the-author .btn {
  display: inline-block;
  width: auto;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-image {
  display: block;
  width: 100%;
  max-width: 70rem;
  margin-left: -10rem;
  margin-left: auto;
  margin-right: auto;

  mask-image: linear-gradient(
    to left,

    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 90%
  );
}

.about-text {
  font-size: 2.8rem;
  font-weight: 600;
  margin-right: -10rem;
  display: flex;
  flex-direction: column;
  justify-content: center;

  height: 100%;
}

.about-text p {
  margin-bottom: 4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* footer section */

.footer-section {
  box-shadow: 0 -1px 12px 1px #2b2b2bb2;
  position: relative;
  padding-bottom: 1rem;
  border-top: 2px solid #f29b38;
  background: #e07b00;
  background: linear-gradient(
    98deg,
    rgb(211, 122, 33) 0%,
    rgb(215, 115, 0) 30%,
    rgb(242, 107, 19) 45%,
    rgb(224, 93, 16) 70%,
    rgb(222, 88, 5) 100%
  );
}

.footer-text {
  color: #480303;
  font-size: 7rem;
}

.footer .logo {
  opacity: 1;
}
