@import "global.css";
/*
README


THIS STYLESHEET IS FOR GAMES PAGE


GAMES PAGE CONSIST OF SEVERAL BLOCKS
- GLOBAL
- BACKGROUND
- HEADER
- HERO
- OVERVIEW
- PREVIEW
- GAMEPLAY
- DESIRE
- SHOWCASE
- FOOTER


EACH BLOCK IS SEPARATED BY "[BLOCK NAME] BLOCK"
*/

/* Navbar Comics */
.header {
  box-shadow: 0 5px 4px rgba(0, 0, 0, 0.07);
  position: relative;
}

/* Background Block */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  z-index: -999;
}

.background__image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
}

.background__container--base {
  background-color: white;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.05));
}

/* Comic */
.comic__text {
  padding: 6% 0;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-family: var(--grandstander);
}
.comic__text.end {
  padding: 2% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8vw;
  margin-bottom: 4vw;
}
.comic__text > p {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
}
.comic__text > h2 {
  font-weight: var(--font-extrabold);
  font-size: var(--text-3xl);
  color: var(--black);
}
.comic__text.end p {
  font-size: var(--text-xl);
  border-radius: 8px;
  margin-bottom: 1vw;
}

.image-wrapper img {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding-bottom: 5%;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* .image-wrapper:last-child img{
    padding-bottom: 0px;
} */

.image-counter {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
}

.loading {
  text-align: center;
  font-size: 18px;
  padding: 20px;
}

.comic__text.end a {
  display: flex;
  width: 60%;
  padding: 1vw;
  background-color: #04cf78;
  border-radius: 1vw;
  transition: ease-in-out 0.3s;
}
.comic__text.end a img {
  width: 100%;
  filter: brightness(0) invert(1);
}
.comic__text.end a:hover {
  background-color: #171717;
}

@media (max-width: 1025px) {
  .comic__text.end p {
    font-size: var(--text-2xl);
  }
}
@media (max-width: 641px) {
  .background__container--base {
    width: 100vw;
  }

  .comic__text,
  .comic__container--base {
    width: 88%;
  }

  .comic__container--base img {
    max-width: 100%;
  }
  .comic__text.end {
    flex-direction: column-reverse;
  }
  .comic__text.end p {
    font-size: var(--text-2xl);
    margin-bottom: 0.5vw;
  }
  .comic__text.end a {
    width: 80%;
    padding: 2vw;
    border-radius: 2vw;
  }
}
