@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #778708; /* optional blur effect */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999; /* make sure it’s above everything */
}

.loader img {
  width: 200px; /* adjust as needed */
  height: 200px;
}

@font-face {
  font-family: font1;
  src: url(/assets/font/MamaBear.otf);
}

@font-face {
  font-family: Stopbuck;
  src: url(/assets/font/Stopbuck.ttf);
}

html {
  scroll-behavior: smooth;
}

/* font-family: font1; */

body {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

p {
  font-size: 1.5vw;
}

.header,
.about_2,
.toknomics,
.howtobuy,
.roadmap,
footer {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.header {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  flex-direction: column;
}

.header {
  background-image: url("/assets/images/header.png");
  height: 70vw;
  padding: 0vw 5vw;
  position: relative;
}

nav {
  display: flex;
  align-items: center;
  justify-content: end;
  position: absolute;
  top: 3vw;
  left: 40%;
  gap: 10px;
}

nav a {
  padding: 0vw 2vw;
  border-radius: 8px;
  border: 4px solid #201a17;
  font-family: font1;
  color: #201a17;
  margin: auto;
  background-color: #fff6e5;
}

nav a {
  font-size: 1.5vw;
  transition: all 0.3s ease-in-out;
}

nav a:hover {
  color: #caa167;
}

nav img {
  width: 100%;
  max-width: 5vw;
  transform: scale(1.6);
}

.links {
  display: flex;
  align-items: center;
  gap: 1vw;
}

.links img {
  width: 4vw;
}

.links a {
  transition: all 0.3s ease-in-out;
}

.links a:hover {
  transform: scale(1.1);
}

h2 {
  font-family: font1;
}

.main_text {
  position: absolute;
  font-family: font1;
  color: #fff;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5vw;
  text-align: center;
}

.main_text h1 {
  font-size: 10vw;
  line-height: 10vw;
  -webkit-text-stroke: 4px #000;
  text-stroke: 4px #000;
  color: white;
}

.main_text h2 {
  font-size: 3vw;
  -webkit-text-stroke: 2px #000;
  text-stroke: 2px #000;
  color: white;
}

.header_gif {
  position: absolute;
  bottom: 0;
  left: 5vw;
  width: 20vw;
}

/* slider  */
.moving_comix_scroll {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  background: #ff6101;
  border-top: 0.1875rem solid #000000;
  border-bottom: 0.1875rem solid #000000;
}

.moving_comix_scroll .moving_comix_content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.moving_comix_scroll .moving_comix_content .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 1vw;
  gap: 2vw;
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
}

.moving_comix_scroll .moving_comix_content .item img {
  width: 23rem;
  height: 23rem;
}

/* about  */
.about {
  background-color: #778708;
  position: relative;
  z-index: 99;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-align: center;
}

.about h2 {
  text-align: center;
  font-size: 4vw;
  margin-bottom: 2vw;
  -webkit-text-stroke: 4px #000;
  text-stroke: 4px #000;
}

.about p {
  font-family: font1;
  font-size: 1.5vw;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  width: 70%;
  margin: auto;
  margin-bottom: 3vw;
}

.about a .buy-btn {
  width: 100%;
  max-width: 15vw;
  margin: auto;
   position: relative;
  z-index: 999;
}

.about a {
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.about a:hover {
  transform: scale(1.1);
}

.about .about_bottom {
  margin-top: -35vw;
  width: 1000;
  position: relative;
  z-index: -10;
}

.about .aboutgif1 {
  position: absolute;
  bottom: 0;
  width: 12vw;
  left: 20vw;
}

.about .aboutgif2 {
  position: absolute;
  bottom: 0;
  width: 18vw;
  right: 25vw;
}

/* toknomics  */
.toknomics {
  background-image: url("/assets/images/tekenomic.png");
  height: 70vw;
  padding: 1vw 15vw;
  margin-top: -15vw;
  position: relative;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
}

.toknomics .rabit1 {
  width: 15vw;
  left: 6vw;
  top: 21vw;
  position: absolute;
}

.toknomics .rabit2 {
  width: 20vw;
  right: 7vw;
  top: 32vw;
  position: absolute;
}

.banner {
  position: relative;
}

.banner .rabit3 {
  width: 15vw;
  left: 10vw;
  bottom: 5vw;
  position: absolute;
}

/* howtobuy */
.howtobuy {
  background-image: url("/assets/images/how-to-buy.png");
  height: 147vw;
  padding: 22vw 15vw;
  margin-top: -24vw;
  position: relative;
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.howtobuy .gif_1 {
  position: absolute;
  right: -4vw;
  top: -5vw;
  width: 20vw;
}

.howtobuy h2 {
  text-align: center;
  font-size: 4vw;
  color: #fff;
  -webkit-text-stroke-color: black;
  -webkit-text-stroke-width: 4px;
  margin-bottom: 4vw;
}

/* about_2  */
.about_2 {
  background-image: url("../images/about-2.png");
  position: relative;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-align: center;
  margin-top: -15vw;
}

.about_2 h2 {
  text-align: center;
  font-size: 4vw;
  margin-bottom: 2vw;
  -webkit-text-stroke: 4px #000;
  text-stroke: 4px #000;
}

.about_2 p {
  font-family: font1;
  font-size: 1.5vw;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  width: 70%;
  margin: auto;
  margin-bottom: 3vw;
}

.about_2 a .buy-btn {
  width: 100%;
  max-width: 15vw;
  margin: auto;
}

.about_2 a {
  transition: all 0.3s ease-in-out;
  display: inline-block; 
}

.about_2 a:hover {
  transform: scale(1.1);
}

.about_2 .about_2_bottom {
  margin-top: -50vw;
  width: 100%;
  
}

.about_2 .about_2gif1 {
  position: absolute;
  top: 0;
  width: 12vw;
  left: 0;
}

.about_2 .about_2gif2 {
  position: absolute;
  top: 0;
  width: 18vw;
  right: 0;
}

footer {
  background-image: url("/assets/images/footer.png");
  height: 65vw;
  padding: 5vw 15vw;
  margin-top: -15vw;
  position: relative;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
}

footer #copyText {
  position: absolute;
  font-size: 1.4vw;
  color: #fff;
  top: 33.5vw;
  left: 25vw;
}

footer .copy {
  position: absolute;
  top: 30.5vw;
  right: 14vw;
  padding: 2vw;
  width: 13vw;
  animation: zoomInOut 0.3s ease-in-out infinite alternate;
}

@keyframes zoomInOut {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

footer h3 {
  font-family: Stopbuck;
  color: #fff;
  margin-top: 1vw;
  font-size: 1.2vw;
}

.toggle {
  display: none;
}

.navbar {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
  transition: all 0.6s ease;
  z-index: 100;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
}

.navbar a {
  color: #000;
  text-decoration: none;
  font-size: 22px;
  text-transform: uppercase;
  transition: color 0.3s;
  font-family: font1;
}

.navbar a:hover {
  color: #ffca00;
}

/* When active */
.navbar.active {
  top: 0;
  animation: slideDown 0.6s ease forwards;
}

/* Animation */
@keyframes slideDown {
  from {
    top: -100%;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.header .buy {
  display: none;
}

@media screen and (max-width: 480px) {
  body,
  html {
    overflow-x: hidden;
  }

  @keyframes topbuttom {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(10px);
      /* Adjust the value to control the distance */
    }
  }

  p {
    font-size: 2.5vw;
  }

  .header {
    height: 186vw;
    background-image: url("/assets/images/mobile-header.png");
  }

  nav {
    left: 50%;
    transform: translateX(-50%);
    display: none;
  }

  .toggle {
    display: block;
    position: absolute;
    left: 5vw;
    top: 5vw;
    width: 13vw;
  }

  nav a {
    padding: 0.5vw 2vw;
    border: 1px solid #201a17;
    font-size: 3vw;
    text-wrap: nowrap;
  }

  .main_text h1 {
    font-size: 25vw;
    line-height: 28vw;
    -webkit-text-stroke: 4px #2a2624;
    text-stroke: 4px #2a2624;
  }

  .main_text h2 {
    -webkit-text-stroke: 3px #2a2624;
    text-stroke: 3px #2a2624;
    font-size: 10vw;
  }

  .header .buy {
    display: block;
    margin: auto;
    width: 70%;
    margin-top: 2vw;
  }

  .header_gif {
    display: none;
  }

  /* slider  */
  .moving_comix_scroll {
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    padding: 2vw;
  }

  .moving_comix_scroll .moving_comix_content .item img {
    width: 10rem;
    height: 10rem;
  }

  /* about  */
  .about h2 {
    font-size: 8vw;
    -webkit-text-stroke: 2px #000;
    text-stroke: 2px #000;
  }

  .about p {
    font-family: font1;
    font-size: 2.5vw;
    -webkit-text-stroke: 0px #000;
    text-stroke: 0px #000;
    width: 80%;
  }

  .toknomics {
    padding: 4vw 15vw;
  }

  .banner .rabit3 {
    bottom: -0vw;
    z-index: 9999;
    position: absolute;
    left: -0vw;
    width: 55vw;
  }

  .about a .buy-btn {
    width: 100%;
    max-width: 30vw;
    margin-top: 2vw;
  }

  /* howtobuy */
  .howtobuy {
    padding: 54vw 10vw 0vw 10vw;
    height: 964vw;
    margin-top: -55vw;
    background-image: url("../images/how-to-buy-mobile.png");
  }

  .howtobuy .gif_1 {
    top: 1vw;
    width: 63vw;
    right: -13vw;
  }

  .howtobuy h2 {
    font-size: 6vw;
    -webkit-text-stroke-width: 2px;
  }

  /* about_2  */
  .about_2 {
    margin-top: -69vw;
  }

  .about_2 h2 {
    font-size: 6vw;
    -webkit-text-stroke: 1px #000;
    text-stroke: 1px #000;
  }

  .about_2 p {
    font-size: 2.5vw;
    -webkit-text-stroke: 0.5px #000;
    text-stroke: 0.5px #000;
    width: 80%;
  }

  .about_2 .about_2_bottom {
    margin-top: -50vw;
    width: 1005;
  }

  .about_2 .about_2gif1 {
    position: absolute;
    top: -16vw;
    width: 38vw;
    left: 0;
  }

  .about_2 .about_2gif2 {
    position: absolute;
    top: -58px;
    width: 37vw;
    right: 0;
  }

  footer {
    background-image: url("/assets/images/footer.png");
    height: 65vw;
    padding: 1vw 15vw;
    margin-top: -15vw;
    position: relative;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
  }

  footer .copy {
    width: 13vw;
    animation: zoomInOut 0.5s ease-in-out infinite alternate;
  }

  .links img {
    width: 8vw;
  }

  footer h3 {
    font-family: Stopbuck;
    color: #fff;
    margin-top: 1vw;
    font-size: 2vw;
  }
}
