@font-face {
  font-family: em;
  src: url(fonts/collect-em-all-bb-bold-italic.otf);
}
@font-face {
  font-family: six;
  src: url(fonts/EduVICWANTBeginner-VariableFont_wght.ttf);
}
@font-face {
  font-family: aa;
  src: url(fonts/EduVICWANTBeginner-Regular.ttf);
}
* {
  margin: 0;
  padding: 0;
}
body {
  overflow-x: hidden;
}
section{
    border-bottom: 7px solid black;
}
nav {
  border: 1px solid;
  padding-left: 1rem;
  padding-right: 2rem;
  padding-block: 1rem;
  background-color: #ffb3c3;
  border-bottom: 5px solid black;
}
nav ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  font-size: 25px;
  font-weight: bold;
  padding-left: 3rem;
  padding-block: 1rem;
  font-family: six;
}
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 3rem;
  position: relative;
}
.ca {
  margin-top: 4rem;
  font-family: 'Times New Roman', Times, serif;
}
.hero h1 {
  font-size: 40px;
  position: absolute;
  font-family: em;
  top: 8%;
  word-spacing: 1rem;
  animation: move 1.5s ease-in-out infinite alternate;
}
  @keyframes move {
    0% {
      font-size: 80px; /* Start at the original position */
    }
    50% {
      font-size: 100px; /* Move the image down 10% */
    }
    100% {
      font-size: 80px; /* Return to the original position */
    }
  }
.hero img {
  width: 50%;
}

.token {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  background-color: #9ceead;
  justify-content: center;
  padding-block: 5rem;
}
.token h1 {
  font-family: em;
  font-size: 100px;
}
.token ul {
  display: flex;
  list-style: none;
  gap: 10rem;
  font-family: six;
}
.token ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.token ul img {
  width: 400px;
  border-radius: 50%;
}
.token ul li span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.story {
  background-color: #ffb0c1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-transform: uppercase;
  padding-block: 5rem;
  text-align: center;
  position: relative;
  height: 100vh;
}
.story h1 {
  font-family: em;
  font-size: 100px;
}
.story p {
  font-size: 25px;
  font-weight: 700;
  font-family: six;
}
.story small {
  font-size: 16px;
  font-family: aa;
  font-weight: 600;
}
.story img {
  width: 30%;
  position: absolute;
  bottom: 0;
  right: 0;
}
  .story b{
    font-family: em;
  }
.socials {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-family: em;
    font-size: 25px;
    align-items: center;
    justify-content: center;
  padding-block: 2rem;
  background-color: #9ceead;
}
.socials li {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.section {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .fade-in {
    animation: fadeIn 3s forwards;
  }
  

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }
  nav ul {
    font-size: 18px;
  }
  .hero {
    /* padding-bottom: 1.5rem; */
    overflow-x: hidden;
  }
  .hero h1 {
    font-size: 25px;
    word-spacing: 0.4rem;
    overflow-x: hidden;
  font-family: em;
  padding-inline: 1rem;
  }
  @keyframes move {
    0% {
      font-size: 20px; /* Start at the original position */
    }
    50% {
      font-size: 25px; /* Move the image down 10% */
    }
    100% {
      font-size: 20px; /* Return to the original position */
    }
  }
  .hero img {
    width: 100%;
  }
  .token h1 {
  font-family: em;
  font-size: 40px;
  }
  .token ul {
    flex-direction: column;
    gap: 4rem;
  }
  .token ul img {
    width: 200px;
  }
  .burn{
    animation: burn 1.5s ease-in-out infinite alternate;
}
@keyframes burn {
    0% {
      width: 200px; /* Start at the original position */
    }
    50% {
      width: 300px; /* Move the image down 10% */
    }
    100% {
      width: 200px; /* Return to the original position */
    }
  }
  .token h2 {
    word-break: break-all;
    text-align: center;
    padding-inline: 2rem;
  }
  .story {
    padding-inline: 2rem;
    height: fit-content;
  }
  .story h1 {
    font-size: 22px;
  font-family: em;
  width: 95%;
  }
  .story p {
    font-size: 18px;
    font-weight: 700;
    width: 80%;
  }
  .story small {
    font-size: 13px;
    width: 70%;
    line-height: 24px;
  }
  .story img {
    width: 50%;
    position: absolute;
    bottom: 0;
    left: 25%;
  }
  .larp2con{
    height: 100px;
  }
}
