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

:root {
  --primaryClr: #ca9d7c;
}

html {
  scroll-behavior: smooth;
}

body.loading {
  overflow: hidden;
}

li {
  list-style: none;
}

.black-icon-svg {
  filter: invert(1);
}

@font-face {
  font-family: "loved";
  src: url("../fonts/LovedbytheKing.ttf") format("truetype");
}

@font-face {
  font-family: "ComicSansMS3";
  src: url("../fonts/ComicSansMS3.ttf") format("truetype");
}

@font-face {
  font-family: "AvenirNextLTPro";
  src: url("../fonts/AvenirNextLTPro-Bold.otf") format("truetype");
}

@font-face {
  font-family: "hendrawan";
  src: url("../fonts/DeliciousHandrawn-Regular.ttf") format("truetype");
}

body {
  font-family: "hendrawan", sans-serif;
}

.loved-font {
  font-family: "loved", sans-serif;
}

.avenir_font {
  font-family: "AvenirNextLTPro", sans-serif;
}

.title-font {
  font-family: "loved", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: repeat;
  background-image: url("../images/paper1.webp");
  animation: changeBg 2s infinite;
  -webkit-animation: changeBg 2s infinite;
  opacity: 0.7;
}

.londrinaFont {
  font-family: "Londrina Solid", sans-serif;
}

body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 5px;
  border: 2px solid white;
}

html {
  scroll-behavior: smooth;
}

.flex_center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex_between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.socialNav img {
  height: 25px;
  width: auto;
  object-fit: contain;
}

.socialNav img.dexImg {
  height: 30px;
}

.social img {
  transition: 0.2s ease-in-out;
}

.social:hover img {
  transform: scale(1.2);
}

.navbar-link {
  background-image: url("../images/bgNav2.svg");
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
}

.navbar nav.active {
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  transition: border-radius 0.4s ease;
  -webkit-transition: border-radius 0.4s ease;
  -moz-transition: border-radius 0.4s ease;
  -ms-transition: border-radius 0.4s ease;
  -o-transition: border-radius 0.4s ease;
}

.nav-buy-btn::before {
  content: "";
  background-color: white;
  border: 1px solid black;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transform: perspective(98px) rotateY(2deg) rotateX(-2deg) rotate(5deg)
    translateX(6px) scale(1.05);
  transform: perspective(98px) rotateY(2deg) rotateX(-2deg) rotate(5deg)
    translateX(6px) scale(1.05);
  width: 100%;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}

.nav-buy-btn:hover:before {
  transition: all 0.3s ease-in-out;
  -webkit-transform: perspective(40px) rotateY(2deg) rotateX(-2deg) rotate(5deg)
    translateX(6px) scale(1.05);
  transform: perspective(40px) rotateY(2deg) rotateX(-2deg) rotate(5deg)
    translateX(6px) scale(1.05);
}

.navbar nav.active .logoImage {
  opacity: 0;
}

.menuContainer {
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;

  height: 0px !important;

  border: 2px solid black;

  -webkit-transform: perspective(470px) rotateY(-1deg) rotateX(12deg)
    rotate(-5deg) translateX(0) translateY(0) scale(1);
  transform: perspective(470px) rotateY(-1deg) rotateX(12deg) rotate(-5deg)
    translateX(0) translateY(0) scale(1);
}

.menuContainer .logoLeft {
  opacity: 0;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.menuContainer.active .logoLeft {
  opacity: 1;
}

.menuContainer.active {
  margin-top: 1rem;
  height: auto !important;
}

/* menu button */
.menu {
  transform: translateX(-100%);
}

.menu-button {
  overflow: hidden;
  position: relative;

  -webkit-transform: perspective(20px) rotateY(-1deg) rotateX(-2deg)
    rotate(3deg) translateX(0) translateY(0) scale(1);
  transform: perspective(20px) rotateY(-1deg) rotateX(-2deg) rotate(3deg)
    translateX(0) translateY(0) scale(1);
}

.menu-button span {
  width: 30%;
  height: 3px;
  background-color: #ffffff;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.menu-button.active span:nth-child(1),
.menu-button.active span:nth-child(3) {
  opacity: 0;
}

.buttonStyling {
  transition: 0.2s ease-in;
  -webkit-transition: 0.2s ease-in;
  -moz-transition: 0.2s ease-in;
  -ms-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  font-size: 2vw;
  padding: 1vw 2vw;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;

  min-width: 250px;
  text-align: center;

  background-image: url("../images/bgBtn.png");
  background-position: center;
  background-size: 100% 90%;
  background-repeat: no-repeat;
}

.buttonStyling:hover {
  color: #00eeff;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

section {
  width: 100%;
  position: relative;
  height: auto;
}

.buy,
.thinShadow {
  text-shadow: 0 0.1vw black;
}

.mediumShadow {
  text-shadow: 0 0.2vw black;
}

.thinStroke {
  -webkit-text-stroke: 0.05vw black;
}

.mediumStroke {
  -webkit-text-stroke: 0.1vw black;
}

.boldShadow {
  text-shadow: 0 0.4vw black;
}

.thinBoxShadow {
  box-shadow: 0 0.25vw black;
}

.mediumBoxShadow {
  box-shadow: 0 0.5vw black;
}

.howTo {
  transition: 0.2s ease;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  -o-transition: 0.2s ease;
}

.howTo:hover {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
}

/* hero */

.image-container {
  perspective: 1000px; /* penting untuk efek 3D */
}

.image-container img {
  height: auto;
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
  border-radius: 10px;
}

.hero_link_animation:hover img {
  transform: scale(1.1) translateY(-10px);
  -webkit-transform: scale(1.1) translateY(-10px);
  -moz-transform: scale(1.1) translateY(-10px);
  -ms-transform: scale(1.1) translateY(-10px);
  -o-transform: scale(1.1) translateY(-10px);
}

.hero_link_animation .alert .speech {
  align-items: center;
  background-image: url("../images/speechcloud.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  padding: 30px 45px;
  position: relative;

  transition: 0.2s;
  transform: scale(0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;
}

.hero_link_animation .speech::before {
  content: "";
  position: absolute;

  width: 20px;
  height: 20px;

  background-image: url("../images/speechcloud.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  top: -10px;
  right: -20px;
}

.hero_link_animation.chart .speech::before {
  right: -20px;
}

.hero_link_animation.buy .speech::before {
  left: -20px;
}

.hero_link_animation:hover .alert .speech {
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);

  z-index: 999;
}

.hero_link_animation .alert .speech:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.tokenContainer {
  background: linear-gradient(180deg, #a38cd2 0%, #edb9e7 100%);
}

/* how to make sure */
.dropdown .content {
  height: 0px !important;
  overflow: hidden;
}

.dropdown.active .content {
  height: auto !important;
  padding: 2rem;
}

.dropdown.active img {
  transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
  .buttonStyling {
    width: 45%;
    min-width: 100px;
    font-size: 0.9rem;
    text-align: center;
    padding: 0.8rem 0;
  }

  .menuContainer {
    opacity: 0;
    z-index: -1;
  }

  .menuContainer.active {
    opacity: 1;
    height: auto;
    z-index: 1;
    padding: 2rem;
  }

  .socialNavIcon path {
    fill: white;
  }

  .buy {
    box-shadow: 0 0.4vw black;
  }

  .thinStroke {
    -webkit-text-stroke: 0.2vw black;
  }

  .mediumStroke {
    -webkit-text-stroke: 0.2vw black;
  }
}

/* social animation */
.twitterLogo path {
  animation: twitter 0.3s infinite;
  -webkit-animation: twitter 0.3s infinite;
}

@keyframes twitter {
  0%,
  50% {
    fill: #55acee;
  }
  100% {
    fill: #1b5079;
  }
}

.telegramLogo path {
  animation: telegram 0.3s infinite;
  -webkit-animation: telegram 0.3s infinite;
  animation-delay: -0.15s;
}

@keyframes telegram {
  0%,
  50% {
    fill: #2aabee;
  }
  100% {
    fill: #1b668f;
  }
}

.socialAnimation {
  animation: socialAnimation 0.3s infinite;
  -webkit-animation: socialAnimation 0.3s infinite;
  animation-delay: -0.15s;
}

@keyframes socialAnimation {
  0%,
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

.paper-animation {
  animation: paperAnimation 5s ease-in-out infinite;
  transform-origin: center top;
}

@keyframes paperAnimation {
  0% {
    transform: translateY(0) rotateX(0deg) rotateZ(0deg);
  }
  40% {
    transform: translateY(-15px) rotateX(-20deg) rotateZ(-5deg);
  }
  100% {
    transform: translateY(0) rotateX(0deg) rotateZ(0deg);
  }
}

/* background */
.bgContract {
  background-image: url("../images/contractBg.png");
  background-position: center;
  background-size: 95% 90%;
  background-repeat: no-repeat;
}
.howTo {
  background-image: url("../images/bgHow.png");
  background-position: center;
  background-size: 95% 90%;
  background-repeat: no-repeat;
}

/* cursor */
#cursor {
  position: fixed;
  z-index: 999 !important;
  left: 0;
  top: 0;
  pointer-events: none;
  will-change: transform;
  mix-blend-mode: color;
}

@media (hover: hover) and (pointer: fine) {
  .cursor__circle {
    width: 64px;
    height: 64px;
    margin-top: -50%;
    margin-left: -50%;
    border-radius: 50%;
    border: solid 1px rgba(8, 8, 8, 0.801);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  #cursor.arrow .cursor__circle {
    width: 128px;
    height: 128px;
    background-color: #073099;
    border-color: #073099;
  }

  #cursor.arrow::after {
    content: "";
    position: absolute;
    left: -50%;
    top: -50%;
    width: 100%;
    height: 100%;
    background-image: url("https://svgshare.com/i/MzQ.svg");
    background-repeat: no-repeat;
    background-position: center;
  }

  #cursor.subtle .cursor__circle {
    opacity: 0.16;
  }

  #cursor.overlay .cursor__circle {
    width: 48px;
    height: 48px;
    color: #9c9c9c;
    background-color: rgba(227, 222, 193, 0.08);
    border-color: transparent;
  }
}

canvas {
  max-width: 100%;
}
