@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Stopbuck";
  src: url(/assets/font/Stopbuck.ttf);
}

@font-face {
  font-family: "coconutz";
  src: url(/assets/font/coconutz.otf);
}

.stroked-text {
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: black;
}

.font-mama-bear {
  font-family: "Stopbuck";
}

.font-coconutz {
  font-family: "coconutz";
}

h1,
h2 {
  font-family: "Stopbuck";
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  color: #000;
  overflow-x: hidden;
}

p {
  font-size: 1.5vw;
  font-family: "coconutz";
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3vw;
  max-width: 70%;
  padding: 0vw 0vw 0 3vw;
  border-radius: 8px;
  border: 4px solid #201A17;
  font-family: "Stopbuck";
  color: #201A17;
  margin: auto;
  background-color: #FFF6E5;
  position: absolute;
  top: 4vw;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 99;
}


nav a {
  font-size: 1.5vw;
  transition: all 0.3s ease-in-out;
}

nav a:hover {
  color: #8601FA;
}

nav img {
  width: 100%;
  max-width: 4vw;
  transform: scale(1.6);
}

.links {
  display: flex;
  align-items: center;
  gap: 0.4vw;
  position: relative;
  z-index: 99;
}

.links a img {
  width: 100%;
  max-width: 8vw;

}

.links a {
  transition: all 0.3s ease-in-out;
}

.links a:hover {
  transform: scale(1.1);
}


nav .social {
  display: flex;
  align-items: center;
  gap: 2vw;
}

nav .social img {
  width: 3vw;
}

.social button {
  display: none;
}

/* sidebar  */

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 6, 46, 1);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: font1;
  gap: 20px;

  /* THIS MUST BE HERE */
  transform: translateY(-100%);
  opacity: 0;
  z-index: 99999;
  border-bottom-left-radius: 10vw;
  border-bottom-right-radius: 10vw;
}


.mobile-sidebar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.close-btn {
  background: none;
  border: 0;
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
  cursor: pointer;
}


/* header  */
.header,
.about,
.tokenomice,
.roadmap,
.our_mission,
.howtobuy,
.faq,
.footer {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;

}

.header {
  background-image: url("../images/header.gif");
  height: 55vw;
  padding: 5vw;
  position: relative;
}

.main p {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(27px);
  width: 40%;
  color: #fff;
  padding: 4px;
}

.stroke-text {
  -webkit-text-stroke: 2.65px black;
  paint-order: stroke fill;
}

/* about  */
.about {
  background-image: url("../images/about-bg.png");
  height: 45vw;
  padding: 5vw 0;
  margin-top: -5vw;
  position: relative;
}


/* tokenomice  */
.tokenomice {
  background-image: url("../images/token-bg.png");
  height: 51vw;
  padding: 5vw 10vw;
  position: relative;
}

.tokenomice .box {
  border: 3px solid rgba(75, 39, 5, 1);
  background-image: radial-gradient(circle, #fbc778, #f3bd6e, #ebb363, #e3aa59, #dba04f);
  color: #4B2705;
  border-radius: 12px; 
  width: 50%;
  margin: auto;
  text-align: center;
  /* width: 50%;
  position: relative;
  z-index: 20; */
}


.description {
  max-height: 0;       /* completely hidden */
  overflow: hidden;    
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 1.25rem;  /* horizontal padding */
}

.description.open { 
  padding: 1.25rem;  
}


/* roadmap  */
.roadmap {
  background-image: url("../images/roadmap-bg.png");
  height: 55vw;
  padding: 5vw;
  position: relative;
  margin-top: -12vw;
}

.roadmap .box {
  width: 420px;
  border-radius: 32px;
  box-shadow: 23.07px 4.39px 45.04px 0px #DC5B167D inset;
  box-shadow: -37.35px 4.39px 20.87px 0px #FF9D1D40 inset;
  box-shadow: 17.58px 4.39px 25.27px 0px #FF7C097D inset;
  box-shadow: -9.89px 4.39px 13.18px 0px #FF732240 inset;
  border: 5px solid #0000000D;
  background: #673210;
  padding: 2vw;
  text-align: center;
  position: relative;
  z-index: 99;
}

/* our_mission  */
.our_mission {
  background-image: url("../images/our-mission.png");
  height: 69vw;
  padding: 5vw;
  position: relative;
  margin-top: -12vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  padding-top: 10vw;
}

.our_mission p {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(27px);
  width: 40%;
  color: #fff;
  padding: 8px;
  text-align: center;
  font-weight: 300;
}


.howtobuy {
  background-image: url("../images/howtobuy.png");
  height: 83vw;
  padding: 5vw 20vw;
  position: relative;
  margin-top: -15vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
}

/* faq  */

.faq {
  background-image: url("../images/faq-bg.png");
  height: 83vw;
  padding: 5vw;
  position: relative;
  margin-top: -15vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
}


.join {
  color: #fff;
  margin-top: -17vw;
}

.join .box {
  width: 50%;
  margin: auto;
  border-radius: 32px;
  box-shadow:
    23.07px 4.39px 45.04px 0px #DC5B167D inset,
    -37.35px 4.39px 20.87px 0px #FF9D1D40 inset,
    17.58px 4.39px 25.27px 0px #FF7C097D inset,
    -9.89px 4.39px 13.18px 0px #FF732240 inset;
  border: 5px solid #0000000D;
  background: #673210;
  padding: 2vw;
  text-align: center;
  position: relative;
  z-index: 99;
}



/* footer  */
.footer {
  background-image: url("../images/footer.png");
  height: 40vw;
  padding: 5vw;
  position: relative;
  margin-top: -18vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}



/* animation   */
.shake-horizontal {
  --shake-distance: 8px;
  --shake-duration: 4.8s;
  transform: translateZ(0);
  animation: shakeX var(--shake-duration) cubic-bezier(.36, .07, .19, .97) infinite;
  will-change: transform;
}

@keyframes shakeX {
  0% {
    transform: translateX(calc(-1 * var(--shake-distance)));
  }

  50% {
    transform: translateX(var(--shake-distance));
  }

  100% {
    transform: translateX(calc(-1 * var(--shake-distance)));
  }
}


.zoom-animation {
  --zoom-scale: 1.12;
  /* how much it zooms */
  --zoom-duration: 1s;
  /* speed of zooming */

  animation: zoom-in-out var(--zoom-duration) ease-in-out infinite;
  transform-origin: center;
}

@keyframes zoom-in-out {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(var(--zoom-scale));
  }

  100% {
    transform: scale(1);
  }
}


.top-bottom {
  --move-distance: 10px;
  --move-duration: 4.2s;
  animation: topBottom var(--move-duration) ease-in-out infinite;

}

@keyframes topBottom {
  0% {
    transform: translateY(calc(-1 * var(--move-distance)));
  }

  50% {
    transform: translateY(var(--move-distance));
  }

  100% {
    transform: translateY(calc(-1 * var(--move-distance)));
  }
}


.bounce {
  --bounce-height: 10px;
  --bounce-duration: 0.7s;

  animation: bounceAnim var(--bounce-duration) ease-in-out infinite;
  transform-origin: bottom;
}

@keyframes bounceAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(calc(-1 * var(--bounce-height)));
  }
}


.rotate-left {
  --rotate-angle: 6deg;
  /* max rotation angle */
  --rotate-duration: 3s;
  /* speed of rotation */

  display: inline-block;
  animation: rotateLeftAnim var(--rotate-duration) ease-in-out infinite;
  transform-origin: center;
}

@keyframes rotateLeftAnim {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(calc(-1 * var(--rotate-angle)));
  }
}


 