@tailwind base;
@tailwind components;
@tailwind utilities;

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

@font-face {
  font-family: Brocil;
  src: url(/assets/font/Brocil.ttf);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Brocil;
  font-weight: 400;
  color: #000;
  background-image: linear-gradient(
    to bottom,
    #ffff00,
    #ffeb17,
    #ffd728,
    #ffc436,
    #ffb342
  );
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

p {
  font-size: 1.5vw;
}

nav {
  background-color: #fff;
  padding: 1vw 4vw;
  border-radius: 4vw;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 6px 0px 0px #000;
  margin-top: -8vw;
  position: relative;
  z-index: 999;
}

.logo {
  width: 5vw;
}

.links {
  display: flex;
  align-items: center;
  gap: 1vw;
}

.links a img {
  width: 5vw;
}

.links .buy {
  width: 15vw;
}

nav a {
  font-size: 2vw;
  color: #000;
}

.header {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.header {
  background-image: url("../images/header.png");
  height: 70vw;
  padding: 5vw;
  position: relative;
}

marquee {
  background-color: #000;
  border-top: 0.2vw solid #fff;
  border-bottom: 0.2vw solid #fff;
  padding: 1vw 0;
  color: #f8e92a;
  font-size: 3vw;
}

.about {
  position: relative;
}

.about .main {
  width: 80%;
  margin: auto;
}

.tokenomice {
  position: relative;
  margin-top: 5vw;
}

.tokenomice .main {
  width: 80%;
  margin: auto;
}

.ca {
  display: flex;
  align-items: center;
  gap: 2vw;
  position: absolute;
  bottom: 3vw;
  left: 20vw;
}

.ca p {
  background-color: #fff;
  border-radius: 3vw;
  border: 0.3vw solid #000;
  display: flex;
  align-items: center;
  padding: 1vw 3vw;
  font-size: 2vw;
}

.ca img {
  width: 5vw;
  position: relative;
  z-index: 10;
}

.tokenomice .images {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  bottom: 0vw;
  left: 0;
}

.tokenomice .images img {
  width: 20vw;
}

.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: #ffbb02;
  border-top: 0.1875rem solid #000000;
  border-bottom: 0.1875rem solid #000000;
  margin-top: 5vw;
}

.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: 1vw;
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
}

.moving_comix_scroll .moving_comix_content .item img {
  border-radius: 2vw;
  width: 30vw;
  height: 20vw;
  border: 0.3vw solid #000;
}

.footer {
  background-color: #000;
  padding: 2vw;
  text-align: center;

  color: #f8e92a;
}

.footer p {
  font-size: 2.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);
  }
}

@media screen and (max-width: 480px) {
  body,
  html {
    overflow-x: hidden;
  }

  p {
    font-size: 2.3vw;
  }

  nav {
    border: 1px solid #000;
    box-shadow: 0px 3px 0px 0px #000;
  }

  .logo {
    width: 5vw;
  }
}

/* X post embed */
.xposts {
  padding: 6vw 4vw 8vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.xposts h2 {
  font-family: "Luckiest Guy", Brocil, sans-serif;
  font-size: 4vw;
  color: #000;
  text-align: center;
  margin: 0 0 3vw;
  letter-spacing: 0.04em;
}

.xp-card {
  width: min(550px, 92vw);
  min-width: 0;
  position: relative;
  background: #fff;
  border: 0.25vw solid #000;
  border-radius: 3vw;
  box-shadow: 0 0.6vw 0 0 #000;
  padding: 2vw 1.6vw 1.4vw;
}

.xp-card .twitter-tweet {
  margin: 0 auto !important;
  max-width: 100% !important;
}

.xp-card iframe {
  max-width: 100% !important;
}

.xp-link {
  display: block;
  margin-top: 1.2vw;
  text-align: center;
  font-size: 1.6vw;
  color: #000;
  overflow-wrap: anywhere;
}

.xp-link:hover {
  color: #c00;
}

@media screen and (max-width: 760px) {
  .xposts {
    padding: 10vw 4vw 12vw;
  }

  .xposts h2 {
    font-size: 7vw;
    margin-bottom: 6vw;
  }

  .xp-card {
    border: 1px solid #000;
    border-radius: 5vw;
    box-shadow: 0 3px 0 0 #000;
    padding: 4vw 3vw 3vw;
  }

  .xp-link {
    font-size: 3.6vw;
    margin-top: 3vw;
  }
}
