@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);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", serif;
  font-weight: 400;
  color: #fff;
  background-color: #000;
}
h1 {
  font-family: "Orbitron", serif;
}

h3 {
  font-family: "Orbitron", serif;
}

h2 {
  font-family: "Orbitron", serif;
}

p {
  font-size: 1.3vw;
  color: #ffffffb2;
}

li {
  font-size: 1.3vw;
  color: #ffffffb2;
  list-style-type: disc;
  margin-left: 1.5vw;
}

/* - ======================== 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);
  }
}
/* /==================================* main  */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vw 5vw;
  position: relative;
  z-index: 999;
  background-color: #000;
}

nav .logo img {
  width: 10vw;
}

nav .center {
  display: flex;
  align-items: center;
  gap: 3vw;
  border-radius: 3vw;
  border: 1px solid #ffffff26;
  padding: 0.6vw 2vw;
  color: #ffffffb2;
}

/* Mobile Menu Icon */
.mobile-menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #000;
  transition: right 0.3s ease;
  padding: 2rem;
  z-index: 999;
}

.sidebar a {
  color: white;
  color: #f3f3f3;
  padding: 1rem;
  text-decoration: none;
  font-size: 4vw;
  display: block;
}

.sidebar .close-btn {
  font-size: 2rem;
  color: #f3f3f3;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 36px;
}

/* Show Sidebar */
.sidebar.open {
  right: 0;
  color: #f3f3f3;
}

.sidebar .button {
  text-decoration: none;
  padding: 0.8vw 2vw;
  border-radius: 1vw;
  border: 1px solid #ffffff26;
  background-color: #d4811c;
  width: fit-content;
  margin-left: 3vw;
}

.button {
  text-decoration: none;
  padding: 0.8vw 2vw;
  border-radius: 1vw;
  border: 1px solid #ffffff26;
  background-color: #d4811c;
  width: fit-content;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

/* header */

.main {
  padding: 2vw;
}

.header,
.about,
.whyus {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.header {
  background-image: url(../images/header.png);
  height: 47vw;
  padding: 5vw;
  margin-top: 1vw;
  border-radius: 2vw;
  border: 1px solid #ffffff11;
}

.header h1 {
  font-size: 4vw;
  font-weight: 500;
}

.header p {
  margin: 2vw 0vw;
}

.animated_element {
  position: relative;
  animation: slideUpDown 7s ease-in-out infinite;
}

@keyframes slideUpDown {
  0% {
    transform: translateY(-20px); /* Start 20px above */
  }
  50% {
    transform: translateY(20px); /* Move 20px down */
  }
  100% {
    transform: translateY(-20px); /* Move back to 20px above */
  }
}

/* links */

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 6vw;
}

.links .iner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4vw;
  gap: 5vw;
}

.links .iner .box {
  padding: 2vw 4vw;
  border: 1px solid #ffffff26;
  border-radius: 1vw;
  transition: all 0.5s ease-in-out;
}

.links .iner .box:hover {
  background-image: linear-gradient(to right, #000, #d4811ca8);
  transition: all 0.5s ease-in-out;
}

.links .iner .box img {
  width: 10vw;
}

.links h1 {
  font-size: 3vw;
}

.about {
  background-image: url("/assets/images/bg.png");
  height: 100%;
  padding: 5vw;
  position: relative;
  z-index: 1;
}
.about::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 5vw;
  background-color: #fff;
  z-index: -1;
  border-radius: 50%;
  transform: translateY(-30%);
  filter: blur(200px);
}

.about h1 {
  font-size: 4vw;
  font-weight: 600;
}

.about .box {
  background-image: linear-gradient(to left bottom, #0000004d, #000000);
  padding: 5vw 2vw;
  border-radius: 3vw;
  border: 1px solid #ffffff26;
  flex-direction: column;
  display: flex;
  gap: 1vw;
}

.about .box h1 {
  font-size: 2vw;
  margin-top: 3vw;
  font-weight: 500;
}

.about .box img {
  width: 6vw;
}

/* telegram_sec  */
.telegram_sec {
  padding: 5vw;
}

.tele_main {
  position: relative;
  z-index: 1;
}

.tele_main::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 30vw;
  height: 5vw;
  background-color: #f2cf59;
  z-index: -1;
  border-radius: 50%;
  transform: translateY(-30%);
  filter: blur(100px);
}

.telegram_sec h1 {
  font-size: 4vw;
  font-weight: 600;
}

.box_img {
  width: 40vw;
}

.tele_main {
  border: 1px solid #2f2f2f;
  border-radius: 3vw;
  display: flex;
  flex-direction: column;
}

.sec_1 .iner_box_1 {
  padding: 5vw;
  border-right: 1px solid #2f2f2f;
}

.sec_1 .iner_box_2 {
  border-left: 1px solid #2f2f2f;
  padding: 5vw;
  text-align: center;
}

.sec_1 .iner_box_2 img {
  width: 6vw;
  margin: auto;
}

.sec_1 h4 {
  font-size: 1.5vw;
}

.iner_box {
  border-left: 1px solid #2f2f2f;
  border-right: 1px solid #2f2f2f;
  padding: 2vw 2vw;
  text-align: center;
}

.iner_box_1 {
  padding: 2vw 2vw 2vw 5vw;
  text-align: center;
}

.iner_box_2 {
  padding: 2vw 5vw 2vw 2vw;
  text-align: center;
}

hr {
  border: 1px solid #2f2f2f;
}

.sec_2 img {
  width: 6vw;
  margin: auto;
}

.sec_2 h4 {
  font-size: 1.5vw;
}

/* Web Dapp AI Agents  */
.web_dapp {
  padding: 5vw;
  text-align: center;
}
.web_dapp h1 {
  font-size: 4vw;
  font-weight: 600;
  margin-bottom: 2vw;
}

.web_dapp .box {
  padding: 5vw;
  border-radius: 1.5vw;
  background-image: url("../images/deep-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  object-position: center;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.web_dapp .box img {
  width: 5vw;
  margin: auto;
}

.web_dapp .box h4 {
  font-size: 1.5vw;
}

/* features
 */

.features {
  padding: 5vw;
  border: 1px solid #ffffff26;
  border-radius: 3vw;
}

.features h1 {
  font-size: 3vw;
  margin-bottom: 3vw;
}

.features h2 {
  font-size: 2vw;
  margin-bottom: 1vw;
}

.features p {
  margin-bottom: 2vw;
}

.features .dv {
  margin-bottom: 3vw;
}
.features .dv h3 {
  margin-bottom: 1vw;
}

.features .right {
  background-image: linear-gradient(to right, #7a7a7a33, #000000);
  padding: 5vw 0vw;
}

/* tok ============================= */

.tokenomice {
  background-image: url("/assets/images/bg.png");
  height: 100%;
  padding: 5vw;
  position: relative;
  z-index: 1;
  text-align: center;
}
.tokenomice::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 5vw;
  background-color: #fff;
  z-index: -1;
  border-radius: 50%;
  transform: translateY(-30%);
  filter: blur(200px);
}

.tokenomice h1 {
  font-size: 4vw;
  font-weight: 600;
}
.tokenomice h2 {
  font-size: 1.5vw;
}

.tokenomice .box {
  background-image: url("../images/box-bg.png");
  padding: 2vw;
  border-radius: 3vw;
  border: 1px solid #ffffff26;
  flex-direction: column;
  display: flex;
  gap: 1vw;
  overflow: hidden;
}

.tokenomice .box h1 {
  font-size: 2vw;
  margin-top: 2vw;
  font-weight: 500;
}

.tokenomice .box img {
  width: 15vw;
  margin: auto;
  margin-top: 2vw;
}

/* ======================== whyus =============== */

.whyus {
  padding: 5vw;
  text-align: center;
  background-image: url(../images/why.png);
  margin-top: 5vw;
}

.whyus h1 {
  font-size: 4vw;
  font-weight: 600;
}

.whyus h2 {
  font-size: 2vw;
  margin: 2vw;
}

.whyus p {
  margin: 2vw;
}

.whyus .link {
  display: flex;
  align-items: center;
  gap: 2vw;
  justify-content: center;
  margin-top: 3vw;
}

.whyus .link img {
  width: 5vw;
}

.whyus .link img:hover {
  opacity: 0.8;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vw 5vw;
  position: relative;
  z-index: 999;
  background-color: #000;
  border-top: 1px solid #ffffff26;
}

footer .logo img {
  width: 10vw;
}

footer .center {
  display: flex;
  align-items: center;
  gap: 3vw;
  color: #ffffffb2;
}

.button:hover {
  opacity: 0.8;
}

.fade-in {
  opacity: 0;
  display: inline-block; /* Make the span elements inline-block to allow animation */
  animation: fadeIn 1s ease-in-out forwards;
}

/* Add delay to each span to make them appear one after another */
.fade-in:nth-child(1) {
  animation-delay: 0s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.3s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.5s;
}
.fade-in:nth-child(4) {
  animation-delay: 0.7s;
}
.fade-in:nth-child(5) {
  animation-delay: 0.9s;
}
.fade-in:nth-child(6) {
  animation-delay: 1.2s;
}
.fade-in:nth-child(7) {
  animation-delay: 1.4s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(0, 0); /* Start from top-left */
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translate(100px, 100px); /* End at bottom-right */
    filter: blur(0); /* Remove blur at the end */
  }
}
