@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: coconutz;
  src: url(/assets/font/coconutz.otf);
}

@font-face {
  font-family: Aliens;
  src: url(/assets/font/Aliens\ Among\ Us.ttf);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: coconutz;
  font-weight: 400;
  color: #fff;
  background-color: #020D2A;
  overflow-x: hidden;
}

.font2 {
  font-family: coconutz;
}

p,
a,
li {
  font-size: 16px;
  font-family: coconutz;
}

h1,
h2 {
  font-family: "Bangers", system-ui;
}


.font3 {
  font-family: Aliens;
}

/* - ======================== 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: 2vw 5vw;
}

.nav_main {
  display: flex;
  align-items: center;
  gap: 2vw;
}

.nav_links {
  display: flex;
  align-items: center;
  gap: 4vw;
  background-color: #000;
  border: 1px solid #282828;
  border-radius: 30px;
  padding: 1vw 3vw;
  font-size: 1.3vw;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.5vw;

}

.social a img {
  width: 4vw;
}

.social a .buy {
  width: 12vw;
}



.header,
.about,
.join,
.bullrun,
.footer {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;

}

.header {
  background-image: url("../images/header.png");
  height: 90vw;
}

.main {
  padding: 10vw 5vw 5vw 5vw;
}


.about {
  background-image: url("../images/Vector\ 1.png");
  padding: 7vw;
  margin-top: -5vw;
  position: relative;
  z-index: 99;
}

.join {
  background-image: url("../images/Vector\ 2.png");
  padding: 10vw 5vw;
  margin-top: 2vw;
  position: relative;
  z-index: 99;
}

.bullrun {
  background-image: url("../images/Vector\ 3.png");
  padding: 8vw 5vw;
  margin-top: -9vw;
  position: relative;
  z-index: 99;
  height: 80vw;
}

.roadbox {
  box-shadow: 30px 30px 0px -3px #00000040;
}


.footer {
  background-image: url("../images/Vector\ 4.png");
  padding-top: 6vw;
  position: relative;
  z-index: 99;
  margin-top: 6vw; 
}



.gradient-text {
  background: linear-gradient(to bottom, #02133E, #2E2B92, #E74A1B, #FBAA03);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}




@keyframes rotateLeftRight {
  0% {
    transform: scale(1.25) rotate(0deg);
  }
  25% {
    transform: scale(1.25) rotate(10deg);
  }
  50% {
    transform: scale(1.25) rotate(0deg);
  }
  75% {
    transform: scale(1.25) rotate(-10deg);
  }
  100% {
    transform: scale(1.25) rotate(0deg);
  }
}

.rotate-animation {
  animation: rotateLeftRight 3s ease-in-out infinite;
  transform-origin: center center;
}


@keyframes fly {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(3deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  75% {
    transform: translateY(15px) rotate(-3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.fly-animation {
  animation: fly 4s ease-in-out infinite;
}


@keyframes shakeUpDown {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

.shake-up-down {
  animation: shakeUpDown 2s ease-in-out infinite;
}



@media only screen and (max-width: 600px) {

  
  body,html {
    overflow-x: hidden;
  }


  
 

  .header {
    /* background-image: url("../images/headermobile.png"); */
    height: 100%;
    padding-bottom: 25vw;
  }

  .main {
    padding: 5vw;
    margin-top: 0;
    padding-top: 15vw;

  }

  .about {
    background-image: url("../images/Vectorredmobile.png");
    padding: 5vw;
    margin-top: -27vw;
    position: relative;
    z-index: 99;
    padding-top: 25vw;
    padding-bottom: 23vw;
  }


  .join {
    background-image: url("../images/join-mobile.png");
    padding: 20vw 5vw;
    margin-top: 2vw;
    position: relative;
    z-index: 99;
    padding-bottom: 70vw;
  }

  .roadbox {
    box-shadow: 15px 15px 0px -3px #00000040;
  }

  .footer {

    padding-top: 15vw;
    z-index: 99;
    margin-top: 10vw;
  }

  .bullrun {
    background-image: url("../images/blacklayar.png");
    padding: 20vw 5vw 5vw 5vw;
    margin-top: -55vw;
    height: 100%; 
  }


  nav {
  display: none; 
}

 

.social {
  display: none; 
}



}