@import url("https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Londrina+Solid:wght@100;300;400;900&display=swap");
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

body {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("./Imgs/background.png");
}

#drawCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  cursor: crosshair;
  pointer-events: none;
}

header,
#about,
#tokenmics,
#how-to-buy {
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

header {
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  position: relative;
}

a {
  text-decoration: none;
}

h2 {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 900;
  text-shadow: 0.2604166666666667vw 0.2604166666666667vw 0 #fcd34d;
  font-size: 5.20833vw;
  position: relative;
  z-index: 1;
  margin: 0;
}

h3 {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 900;
  text-shadow: 0.2604166666666667vw 0.2604166666666667vw 0 #fcd34d;
  font-size: 2.34375vw;
  position: relative;
  z-index: 1;
  margin: 0;
}

p {
  font-family: "Comic Neue", cursive;
  font-weight: 800;
  position: relative;
  z-index: 1;
  font-size: 1.354166666666667vw;
  width: 60%;
}

#title-img {
  width: 47.619vw; /* 700px / 1470 * 100 */
}

#dog-img {
  width: 63.79958463136033vh;
  position: absolute;
}

#dog-img-size-handler {
  height: 70vh;
  width: 6.803vw;
}

nav {
  background-color: #efb006;
  padding: 0.816vw 1.701vw; /* 12px 25px / 1470 * 100 */
  border-radius: 9999px;
  position: absolute;
  bottom: 14vh; /* 115px / 1470 * 100 */
  font-size: 1.565vw; /* 23px / 1470 * 100 */
  box-shadow: 0.408vw 0.544vw 0px #000000; /* 6px 8px / 1470 * 100 */
}

ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 1.361vw; /* 20px / 1470 * 100 */
  margin: 0;
  position: relative;
  z-index: 99999999999;
}

nav a {
  color: black;
  font-family: "Cherry Bomb One", system-ui;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav a img {
  width: 2.721vw; /* 40px / 1470 * 100 */
}

.nav-button {
  background: #f4a900;
  background: linear-gradient(
    0deg,
    rgba(244, 169, 0, 1) 0%,
    rgb(255, 191, 16) 100%
  );
  color: white;
  font-weight: bold;
  border: 0.136vw solid black; /* 2px / 1470 * 100 */
  border-radius: 2.041vw; /* 30px / 1470 * 100 */
  box-shadow: 0.272vw 0.408vw 0px #000000; /* 4px 6px / 1470 * 100 */
  width: 4.082vw; /* 60px / 1470 * 100 */
  height: 4.082vw; /* 60px / 1470 * 100 */
  font-family: "Comic Sans MS", cursive, sans-serif;
}

#about {
  padding-bottom: 15vh;
}

#tokenmics {
  padding-bottom: 20vh;
}

.about-img-containter,
.about-text-container,
.tokenmics-img-containter,
.tokenmics-text-container {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: start;
}

.about-img-containter {
  justify-content: end;
}

.tokenmics-img-containter {
  justify-content: start;
}

.about-text-container {
  position: relative;
  display: flex;
  align-items: top;
  justify-content: center;
  flex-direction: column;
}

.tokenmics-text-container {
  position: relative;
  display: flex;
  align-items: end;
  flex-direction: column;
  padding-right: 5.20833vw;
}

.section-img {
  width: 80%;
}

.paper-img {
  position: absolute;
  width: 80%;
}

.tokenmics-text-container .section-img {
  width: 85%;
}

.tokenmics-text-container .paper-img {
  position: absolute;
  width: 57%;
}

.tokenmics-text {
  width: 57%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5625vw;
}

.tokenmics-text p {
  width: 90%;
  font-size: 1.614583333333333vw;
}

#how-to-buy {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  padding-bottom: 10.38421599169263vw;
}

.how-to-buy-cards {
  display: flex;
  gap: 4.166666666666667vw;
}

.how-to-buy-card {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 20.83333333333333vw;
  height: 14.270833vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.how-to-buy-card p {
  width: 80%;
}

.how-to-buy-card p a {
  color: #dd9d09;
  text-decoration: underline;
}

.how-to-buy-card-mid {
  margin-top: 5.192107995846314vh;
}

.how-to-buy-img {
  width: 31.25vw;
  position: absolute;
  z-index: 10;
}

.how-to-buy-img-handler {
  height: 26.04166666666667vw;
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
}

#token {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2vh;
  padding: 4.153686396677051vh 0 6.25vw;
}

#token p {
  text-align: center;
  margin: 0;
  margin-bottom: 6vh;
  font-size: 2vw;
  font-weight: 900;
}

.token-content {
  display: flex;
  gap: 1.5625vw;
  position: relative;
}

.token-container {
  background-color: #efb006;
  width: fit-content;
  padding: 0.390625vw;
  border-radius: 9999px;
  border: 0.15625vw solid black;
  display: flex;
}

.addresse {
  background-color: #000000;
  color: white;
  font-family: "Londrina Solid", sans-serif;
  padding: 1.041666666666667vw;
  border-radius: 9999px;
  font-size: 1.5625vw;
  display: flex;
  align-items: center;
}

.copy-button-container {
  background-color: #efb006;
  width: fit-content;
  padding: 0.390625vw;
  border-radius: 50%;
  border: 0.15625vw solid black;
  display: flex;
  position: absolute;
  right: -5.989583333333333vw;
}

.copy-button {
  border: none;
  border-radius: 50%;
  width: 4.166666666666667vw;
  height: 4.166666666666667vw;
  background-color: #000000;
  cursor: pointer;
}

.copy-button img {
  width: 2.604166666666667vw;
}

footer {
  display: flex;
  justify-content: space-evenly;
  background-color: #000000;
}

footer p {
  color: white;
  font-family: "Londrina Solid", sans-serif;
}

.footer-nav-button img {
  width: 2.083333333333333vw;
}

/* Scroll Reveal Base */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(10px);
  transition: all 0.8s ease-out;
  will-change: transform, opacity, filter;
}

/* Active State when element is in view */
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media only screen and (max-width: 1024px) {
  #title-img {
    width: 71.4285vw; /* 700px / 1470 * 100 */
  }

  nav {
    padding: 1.632vw 3.402vw;
    bottom: 19vh; /* 115px / 1470 * 100 */
    font-size: 4vw; /* 23px / 1470 * 100 */
    box-shadow: 0.816vw 1.088vw 0px #000000; /* 6px 8px / 1470 * 100 */
  }

  ul {
    gap: 2.722vw; /* 20px / 1470 * 100 */
  }

  nav a img {
    width: 5.442vw; /* 40px / 1470 * 100 */
  }

  .nav-button {
    border: 0.272vw solid black; /* 2px / 1470 * 100 */
    border-radius: 50%; /* 30px / 1470 * 100 */
    box-shadow: 0.544vw 0.816vw 0px #000000; /* 4px 6px / 1470 * 100 */
    width: 8.164vw; /* 60px / 1470 * 100 */
    height: 8.164vw; /* 60px / 1470 * 100 */
  }

  h2 {
    text-shadow: 0.8vw 0.8vw 0 #fcd34d;
    font-size: 10vw;
  }

  h3 {
    text-shadow: 0.5vw 0.5vw 0 #fcd34d;
    font-size: 4vw;
  }

  p {
    font-size: 3vw;
    width: 70%;
  }

  .section-img {
    width: 80%;
  }

  .paper-img {
    width: 80%;
  }

  .tokenmics-text-container .section-img {
    width: 100%;
  }

  .tokenmics-text-container .paper-img {
    width: 80%;
  }

  .tokenmics-text {
    width: 80%;
    padding: 1.5625vw;
  }

  .tokenmics-text p {
    width: 90%;
    font-size: 4.84375vw;
  }

  header,
  #about,
  #tokenmics,
  #how-to-buy {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .about-img-containter,
  .about-text-container,
  .tokenmics-img-containter,
  .tokenmics-text-container {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  #about {
    gap: 5vh;
    padding-bottom: 15vh;
  }
  #tokenmics {
    gap: 0vh;
    padding-bottom: 15vh;
  }

  .how-to-buy-cards {
    gap: 1.25vw;
  }

  .how-to-buy-card {
    width: 31.25vw;
    height: 14.270833vw;
  }

  .how-to-buy-card p {
    width: 90%;
    margin: 5px 0 0;
    font-size: 2.5vw;
  }

  .how-to-buy-card-mid {
    margin-top: 5.192107995846314vh;
  }

  .how-to-buy-img {
    width: 46.875vw;
  }

  .how-to-buy-img-handler {
    height: 39.06250000000001vw;
  }

  #token {
    gap: 2.083333333333333vw;
  }

  .token-container {
    padding: 0.78125vw;
    border-radius: 9999px;
    border: 0.3125vw solid black;
  }

  .copy-button-container {
    padding: 0.78125vw;
    border: 0.3125vw solid black;
  }

  .addresse {
    padding: 2.083333333333334vw;
    font-size: 3.125vw;
  }

  .copy-button {
    width: 8.333333333333334vw;
    height: 8.333333333333334vw;
    background-color: #000000;
    cursor: pointer;
  }

  .copy-button img {
    width: 5.208333333333334vw;
  }

  .footer-nav-button img {
    width: 4.166666666666666vw;
  }

  #token p {
    margin-bottom: 5vh;
    font-size: 5vw;
  }

  .copy-button-container {
    right: -12vw;
  }
}

@media only screen and (max-width: 500px) {
  #title-img {
    width: 100vw; /* 700px / 1470 * 100 */
  }

  nav {
    padding: 2vw 4vw;
    bottom: 19vh; /* 115px / 1470 * 100 */
    font-size: 4.5vw; /* 23px / 1470 * 100 */
  }

  nav a img {
    width: 7vw; /* 40px / 1470 * 100 */
  }

  .nav-button {
    width: 9vw; /* 60px / 1470 * 100 */
    height: 9vw; /* 60px / 1470 * 100 */
  }

  h2 {
    text-shadow: 1.2vw 1.2vw 0 #fcd34d;
    font-size: 15vw;
  }

  h3 {
    text-shadow: 0.8vw 0.8vw 0 #fcd34d;
    font-size: 7vw;
  }

  p {
    font-size: 4vw;
    width: 85%;
    margin: 0 0 40px;
  }

  .section-img {
    width: 90%;
  }

  .paper-img {
    width: 100%;
  }

  .tokenmics-text-container .section-img {
    width: 100%;
  }

  .tokenmics-text-container .paper-img {
    width: 95%;
  }

  .tokenmics-text {
    width: 90%;
    padding: 1.5625vw;
  }

  .tokenmics-text p {
    width: 90%;
    margin-top: 3.5vh;
    font-size: 5.5vw;
  }

  .how-to-buy-cards {
    margin-top: 5vh;
    gap: 2vw;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3.5vh;
    padding-bottom: 5vh;
  }

  .how-to-buy-card {
    width: 62.5vw;
    height: 28.541666vw;
  }

  .how-to-buy-card p {
    width: 90%;
    margin: 10px 0 0;
    font-size: 5vw;
    text-align: center;
  }

  .how-to-buy-card-mid {
    margin-top: 0;
  }

  .how-to-buy-img {
    width: 70.3125vw;
  }

  .how-to-buy-img-handler {
    height: 58.59375000000002vw;
  }

  #token {
    gap: 2vh;
    padding-bottom: 10vh;
  }

  .token-container {
    padding: 1.015625vw;
    border-radius: 9999px;
    border: 0.40625vw solid black;
    margin-top: 0;
  }

  .token-content {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .copy-button-container {
    padding: 1.015625vw;
    border: 0.40625vw solid black;
  }

  .addresse {
    padding: 2.708333333333334vw;
    font-size: 4.0625vw;
  }

  .copy-button {
    width: 8.333333333333334vw;
    height: 8.333333333333334vw;
    background-color: #000000;
    cursor: pointer;
  }

  .copy-button img {
    width: 5.208333333333334vw;
  }

  footer {
    padding: 2.5vh 5vw;
  }

  footer p {
    margin: 0;
  }

  .footer-nav-button img {
    width: 6vw;
  }

  #token p {
    margin-bottom: 2vh;
    font-size: 6vw;
  }

  .token-content {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .copy-button-container {
    right: auto;
    bottom: -12.5vw;
  }
}

#toggleDrawBtn {
  position: fixed;
  top: 1.038421599169263vh;
  right: 0.5208333333333333vw;
  z-index: 1000;
  padding: 0.5208333333333333vw 1.041666666666667vw 0.5208333333333333vw
    0.5208333333333333vw;
  border: none;
  border-radius: 0.2604166666666667vw;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5208333333333333vw;
  width: 4.166666666666667vw;
}

#toggleDrawBtn img {
  width: 1.302083333333333vw;
}

@media only screen and (max-width: 500px) {
  #toggleDrawBtn {
    display: none;
  }
}

#about {
  overflow-y: hidden;
}
