/* DECLEARED VARIABLES */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
}
body{
  position: relative;
  overflow-x: hidden;
}
:root {
  --main-cl: #2d1e61;
  --minor-cl: dodgerblue;
  --dark-cl: #1f316a;
  --light-cl: #fff;
  --text-sz: 1.2rem;
  --head-sz: 1.5rem;
  --title-sz: 5rem;
  --bd-rd: 10px;
  --pad: 20px 20px;
  --btn-pd: 10px 20px;
  --transite: 0.3s ease-in;
}

/* CONSTANT VALUES */

a {
  text-decoration: none;
}

h1 {
  font-size: var(--title-sz);
  color: var(--light-cl);
}

h3 {
  font-size: var(--head-sz);
  color: var(--light-cl);
}

p,
a,
span,
li {
  font-size: var(--text-sz);
  -webkit-text-stroke: 1px skyblue;
  color: azure  ;
  font-weight: bolder;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  gap: 20px;
  padding: var(--pad);
  background: transparent;
  position: fixed;
  z-index: 10000;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: var(--main-cl);
  padding: var(--pad);
  position: relative;
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 100px;
  width: 100%;
  height: 100vh;
  position: relative;
}

.btn {
  color: var(--light-cl);
  width: fit-content;
  background-color: var(--minor-cl);
  padding: var(--btn-pd);
  border-radius: var(--bd-rd);
  transition: var(--transite);
}

.btn:hover {
  color: var(--dark-cl);
  background-color: var(--light-cl);
  letter-spacing: 1px;
}

/* HEADER */
video{
  border-radius: 50%;
  
}
.logo-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.logo{
  width: 100px;
}
img {
  width: 100px;
}

.nav-link a {
  font-size: var(--head-sz);
  margin: 5px;
  color: var(--light-cl);
  transition: var(--transite);
}

.nav-bar a {
  margin-left: 5px;
  padding: var(--btn-pd);
  color: var(--light-cl);
  transition: var(--transite);
  border-radius: var(--bd-rd);
}

.nav-bar a:hover,
.nav-link a:hover {
  color: var(--dark-cl);
}

.hamburger {
  display: none;
}

/* HOME */
.moving-image {
  position: absolute;
  width: 150px;
  height: auto;
  opacity: 0.2; /* Image should be behind the content */
  z-index: 1;
  pointer-events: none;
}
section { z-index: 1;
  background-image: url("image/bg1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
section:nth-child(2){
  background-image: url("image/bg1.jpg");
  background-position: 100% 35%;
}
section:nth-child(3){
  background-image: url("image/bg2.jpg");
  background-position: 100% 25%;
} 
section:nth-child(5){
  background-image: url("image/bg1.jpg");
  background-position: 100% 75%;
} 
section:nth-child(6){
  background-image: url("image/bg1.jpg");
  background-position: 100% 15%;
} 
.joinus
{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.joinus a{
  padding: 10px 150px;
  border-radius: 25px;
  background-color: dodgerblue;
  font-size: 2em;
}
.home .wrapper {
  justify-content: center;
  align-items: center;
}


.home-text-container {
  display: flex;
  position: relative;
  top: 220px;
  flex-direction:  column;
  width: 700px;
  border: none;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 3;
}

.home .text-container p {
  margin-top: -15px;
  text-align: center;
}

.home .img-container {
  position: absolute;
}

.home .img-container img {
  opacity: 0.8;
}

.home .img-container::after {
  content: "";
  top: 15%;
  left: -38%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  opacity: 0.8;
  position: absolute;
  background-color: var(--minor-cl);
}

.home .img-container::before {
  content: "";
  top: 40%;
  left: 110%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  opacity: 0.8;
  position: absolute;
  background-color: var(--minor-cl);
}

.text-container {
  display: flex;
  flex-direction: column;
  text-align: justify;
  gap: 10px;
  width: 400px;
  position: relative;
  padding: var(--pad);
  transition: var(--transite);
  border-radius: var(--bd-rd);
}

.img-container {
  width:fit-content;
  border-radius: 50%;
  position: relative;
}

.img-container img {
  width: 100%;
  object-fit: cover;
}

.footer,
.footer .wrapper,
.about,
.about .wrapper {
  height: auto;
}

.about .wrapper {
  height: 60vh;
  gap: 5px;
  position: relative;
  border-radius: var(--bd-rd);
  background-color: var(--minor-cl);
  z-index: 1;
}

.about .wrapper::after {
  content: "";
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: var(--bd-rd);
  background-color: var(--dark-cl);
  z-index: -1;
}
.footer .wrapper{
  height: 60vh;
  width: 50%;
  gap: 5px;
  position: relative;
  border-radius: var(--bd-rd);
  background-color: var(--minor-cl);
  z-index: 1;
}

.footer .wrapper::after{
  content: "";
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: var(--bd-rd);
  background-color: var(--dark-cl);
  z-index: -1;
}

.footer .text-container,
.buy .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.buy-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 500px;
}

.buy-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.buy-content .text-container {
  position: relative;
  background-color: var(--minor-cl);
  z-index: 1;
}

.buy-content .text-container::after {
  content: "";
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: var(--bd-rd);
  background-color: var(--dark-cl);
  z-index: -1;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.base {
  display: none;
}

@keyframes animation {
  from {
    opacity: 0;
    scale: 0;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.about .wrapper,
.text-container,
.img-container {
  animation: animation ease-in-out;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

/* MEDIA QUERY */

@media (max-width: 750px) {
  :root {
    --icon-sz: 1.5rem;
    --head-sz: 1.2rem;
    --title-sz: 2rem;
  }
  /* hamburger button and dropdown menu */

  i {
    font-size: var(--icon-sz);
  }

  section {
    background-image: url("image/mobile.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }
  section:nth-child(2){
    background-image: url("image/mobile.jpg");
    background-position: 100% 35%;
  }
  section:nth-child(3){
    background-image: url("image/mobile.jpg");
    background-position: 100% 25%;
  } 
  section:nth-child(5){
    background-image: url("image/mobile.jpg");
    background-position: 100% 75%;
  } 
  section:nth-child(6){
    background-image: url("image/mobile.jpg");
    background-position: 100% 15%;
  } 
  .home-text-container {
    display: flex;
    position: relative;
    top: 200px;
    flex-direction:  column;
    width: 100%;
    border: none;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 3;
  }
  .footer .wrapper{
    height: 60vh;
    width: 90%;
    gap: 5px;
    position: relative;
    border-radius: var(--bd-rd);
    background-color: var(--minor-cl);
    z-index: 1;
  }
  
  .footer .wrapper::after{
    content: "";
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: var(--bd-rd);
    background-color: var(--dark-cl);
    z-index: -1;
  }
  .base {
    display: flex;
    flex-direction: row;
    gap: 60px;
    top: 92%;
    left: 55px;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 10000;
  }

  .nav-bar {
    display: none;
  }

  .home .img-container::after {
    width: 100px;
    height: 100px;
    top: -20%;
    left: 0;
  }

  .home .img-container::before {
    width: 100px;
    height: 100px;
    top: 90%;
    left: 60%;
  }

  .buy,
  .buy .wrapper,
  .tokenomics,
  .tokenomics .wrapper,
  .about .wrapper {
    gap: 20px;
    height: auto;
  }

  .buy-content,
  .wrapper {
    display: flex;
    flex-direction: column;
  }

  /* grouped constants */

  .buy-head,
  .about .text-container,
  .home .text-container,
  .img-container,
  .text-container {
    width: 330px;
  }
}
.blob {
  width: 200px;
  height: 200px;
  background: url(image/logo1.png);
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  position: relative;
  animation: move 10s ease-in-out infinite;
}

@keyframes move {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -10px);
  }
  50% {
    transform: translate(20px, 10px);
  }
  75% {
    transform: translate(-10px, 5px);
  }
}