* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  height: 200dvh;
  background: rgb(9, 0, 31);
  color: white;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  width: 2000px;
  height: 2000px;
  background: radial-gradient(rgb(37, 1, 70), transparent 60%);
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

header {
  width: fit-content;
  margin: 0 auto;
  padding: 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  animation: header-bg linear forwards;
  transition: all 0.3s ease;
  @supports (animation-timeline: view()) {
    animation-timeline: view();
    animation-range-start: 110dvh;
    animation-range-end: 140dvh;
  }
}

@keyframes header-bg {
  50%,
  100% {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgb(89, 79, 122);
    padding: 5px 20px;
    backdrop-filter: blur(2px);
  }
  0% {
    top: 0;
  }
  40% {
    top: -50px;
  }
  50% {
    top: -100px;
  }
  100% {
    top: 15px;
  }
}

nav {
  width: inherit;
}

ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

ul li {
  cursor: pointer;
  font-size: 0.9rem;
}

p {
  width: min(500px, 90%);
  text-align: center;
  color: rgb(134, 134, 134);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
