@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Sen:wght@400..800&display=swap');


@keyframes logoanim {
    0% {
        opacity: 0;
        transform: scale(0.8);
        transform: perspective(1000px) rotateX(75deg);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        transform: perspective(1000px) rotateX(0deg);
    }
}

@keyframes fade {
  100% {
      opacity: 0;
      transform: scale(0.5);
      transform: perspective(1000px) rotateX(-45deg);
    }
}

@keyframes navin {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

html, body {
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

.openanim {
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  animation: logoanim 1s cubic-bezier(.01,1,.5,1) forwards;
}

.logotext {
  font-family: 'inter-tight', sans-serif;
  font-size: 50px;
  color: #000;
  text-align: center;
  padding-left: 10px;
}

#logomain {
  pointer-events: none;
  user-select: none;
}

main {
  opacity: 0;
}

#bgmain {
  z-index: -2;
}

.navbar {
  display: flex;
  justify-content: start;
  background: linear-gradient(0deg, #00000000, #5f5f5f);
  position: fixed;
  position: -webkit-sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding-inline: 20px;
  z-index: 200;
  opacity: 0;
}

.navitem {
  padding: 10px;
}

#home {
  filter: drop-shadow(0px 3px 5px #000);
  pointer-events: none;
}

.navbutton {
  position: relative;
  left: 30px;
  margin-top: 8px;
  margin-left: 0px;
  padding-left: 0px;
  border: none;
  background: none;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #fff;
}

.navseperator {
  position: fixed;
  top: 0;
  width: 5px;
  height: 60px;
  background-color: #6dff50;
  margin: 0 10px;
  border-bottom-left-radius: 2.5px;
  border-bottom-right-radius: 2.5px;
}

.navbutton:hover {
  cursor: pointer;
}

.section {
  opacity: 0;
  position: relative;
  margin-top: 49vh;
  width: 100%;
  background: black;
  height: 50vh;
  margin-bottom: 50px;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: inherit;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5px;
  transition: all 1s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #4afa33;
  width: 10px;
}

.footer {
  opacity: 1;
  position: relative;
  width: 100%;
  background: rgb(0, 5, 26);
  height: 10vh;
}

.footertext {
  font-family: Figtree;
  font-size: 20px;
  color: white;
  padding-top: 22px;
  margin-left: 20px;
}