@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;
  }
}
