@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: NeueMontreal;
  src: url(/assets/font/NeueMontreal-Bold.otf);
}

@font-face {
  font-family: "CCMaladroit W00 Bold";
  src: url("../../../db.onlinewebfonts.com/t/242126d4e361f4c0b59cd8db6f0e3baf.eot");
  src: url("../../../db.onlinewebfonts.com/t/242126d4e361f4c0b59cd8db6f0e3baf.eot#iefix")
      format("embedded-opentype"),
    url("../../../db.onlinewebfonts.com/t/242126d4e361f4c0b59cd8db6f0e3baf.woff2")
      format("woff2"),
    url("../../../db.onlinewebfonts.com/t/242126d4e361f4c0b59cd8db6f0e3baf.woff")
      format("woff"),
    url("../../../db.onlinewebfonts.com/t/242126d4e361f4c0b59cd8db6f0e3baf.ttf")
      format("truetype"),
    url("../../../db.onlinewebfonts.com/t/242126d4e361f4c0b59cd8db6f0e3baf.svg#CCMaladroit%20W00%20Bold")
      format("svg");
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "CCMaladroit W00 Bold";
  font-weight: 400;
  color: #fff;
  background-color: #03150b;
  overflow-x: hidden;
}

p {
  font-size: 1.3vw;
}

h1 {
  font-family: "Luckiest Guy", serif;
}
h2 {
  font-family: "Luckiest Guy", serif;
}

/* - ======================== Loading overlay ============================*/
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Loader animation */
.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0vw 3vw;
  position: relative;
  z-index: 99;
}

nav .logo {
  width: 8vw;
}

nav .buy {
  width: 15vw;
}

.header,
.about,
.howtobuy {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.header {
  background-image: url("../images/header_Background.png");
  height: 58vw;
  position: relative;
  z-index: 99;
  overflow: hidden;
}

.header .main {
  padding: 0 5vw;
  display: flex;
}
/* Mobile spacing fix between About and Tokenomics */
@media screen and (max-width: 768px) {
  .about {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .tokenomice {
    margin-top: -20px !important;
    padding-top: 0 !important;
  }

  .box {
    margin-bottom: 0 !important;
  }
}

.header .main h2 {
  font-size: 4.7vw;
}

.header .main p {
  font-size: 2.7vw;
  margin-top: 2vw;
}

.header .main .avatar {
  width: 100%;
}

.bottom_sec {
  position: absolute;
  bottom: 3vw;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
}

.bottom_sec .links {
  display: flex;
  align-items: center;
  gap: 1vw;
}

.bottom_sec .links img {
  width: 4vw;
}

.bottom_sec .join_btn {
  width: 15vw;
}

.rotating_left {
  animation: rotateLeft 1s infinite alternate ease-in-out;
}

@keyframes rotateLeft {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-10deg);
  }
}
.rotating_right {
  animation: rotateLeft 1s infinite alternate ease-in-out;
}

@keyframes rotateRight {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(10deg);
  }
}

.slider_M {
  background-color: #d8e511;
  border-top: 1px solid #03150b;
  border-bottom: 1px solid #03150b;
  font-size: 2vw;
  color: #03150b;
}

/* about  */

.about {
  padding: 10vw;
  position: relative;
}

.sliders {
  position: absolute;
  top: 0;
  left: 0;
}

.sliders img {
  width: 15vw;
}

.about .box {
  background-color: #ffffff33;
  border: 1px solid;
  border-image: linear-gradient(to bottom, #b1ff1f 0%, #00000000 100%) 1;
  border-width: 1px;
  border-style: solid;
  padding: 5vw;
  display: flex;
  align-items: center;
  gap: 2vw;
  position: relative;
  z-index: 99;
}

.about .box h2 {
  font-size: 40px;
  text-align: center;
}

.about .box .face {
  width: 25vw;
  transform: scale(1.1);
}

.about .box p {
  font-size: 1.2vw;
}

.about .box a img {
  width: 15vw;
  margin-top: 2vw;
}

.CHAMIVERSE {
  margin-top: -5vw;
  position: relative;
}

.CHAMIVERSE .top_content {
  position: absolute;
  left: 34vw;
  top: 8vw;
}

.CHAMIVERSE .top_content h1 {
  font-size: 6vw;
}

.CHAMIVERSE .layar {
  width: 25vw;
}

.CHAMIVERSE .main_box {
  width: 100%;
  position: absolute;
  left: 0vw;
  top: 25vw;
  padding: 0 5vw;
}

.CHAMIVERSE .main_box .box {
  background-color: #d4ff38;
  border: 4px solid #03150b;
  padding: 2vw;
  color: #000;
}

.CHAMIVERSE .main_box .box img {
  width: 10vw;
  margin-top: -1vw;
}

.CHAMIVERSE .main_box .box h2 {
  font-size: 2.5vw;
  margin-bottom: 1vw;
}

/* ==================tokenomice */
.tokenomice {
  margin-top: 0vw;
  padding: 13vw 10vw 0 10vw;
  display: flex;
}

.tokenomice h1 {
  font-size: 4vw;
  margin-bottom: 2vw;
  text-align: center;
}

.tokenomice .box {
  background-color: #023199;
  border: 4px solid #a3ff38;
  padding: 1vw;
  margin-bottom: 1vw;
  text-align: center;
  color: #000;
}
.tokenomice .box h2 {
  font-size: 2vw;
}

/* ==============howtobuy */

.howtobuy {
  background-image: url("../images/howtobuy.png");
  position: relative;
  z-index: 99;
  overflow: hidden;
  margin-top: -2vw;
  padding: 15vw 5vw 0vw 0;
}

.howtobuy h1 {
  font-size: 6vw;
  margin-top: 4vw;
  text-align: end;
}

.howtobuy p {
  margin-top: 1vw;
  text-align: end;
  margin-bottom: 3vw;
}

.howtobuy .main-av {
  width: 100%;
  position: relative;
}

footer {
  background-color: #3325FF;
  padding: 5vw;
  position: relative;
}

footer .content {
  width: 60%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2vw;
  align-items: center;
  color: #000;
}

footer .content h1 {
  font-size: 5vw;
}
footer .content p {
  text-align: center;
}

footer .content .links {
  display: flex;
  align-items: center;
  gap: 2vw;
}

footer .content .links img {
  width: 4vw;
}

footer .content img {
  width: 15vw;
  margin-top: 3vw;
}

footer .content h2 {
  font-size: 2vw;
  text-align: center;
  text-wrap: nowrap;
}

footer .img_1 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35vw;
}

footer .img_2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40vw;
}

.music-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: #03150b;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.3s ease;
  z-index: 99999999;
}

.music-button:hover {
  transform: scale(1.1);
  background-color: #020a05;
}
