@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/inter-tight-v7-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/inter-tight-v7-latin-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/inter-tight-v7-latin-700.woff2') format('woff2');
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background-color: #F0F1FA;
}

::-webkit-scrollbar-thumb {
  background-color: #6167ff;
  border-radius: 20px;
}


body {
  margin: 0;
  font-family: 'Inter Tight';
  color: #333;
  background-color: #F0F1FA;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: #fff;
  background-color: transparent;
  z-index: 1;
  transition: 0.2s ease;
}

.navbar::after {
  content: "";
  background-repeat: repeat-x;
  height: 40px;
  width: 100%;
  background-size: contain;
  background-image: url(/assets/wave.svg);
  position: absolute;
  top: 44px;
  left: 0px;
  opacity: 0;
  transition: 0.2s ease;
}

.navbar .logo h1 {
  font-size: 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links li a {
  background-color: #6e73ff;
  padding: 4px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-links li a span {
  display: none;
  font-size: 16px;
}


.nav-links a {
  text-decoration: none;
  color: #fff;
  padding: 2px 0;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: 0.2s ease;
}


.nav-links li.active-page a {
  background-color: #fff;
  color: #3139FB;
  padding: 4px 8px;
}

.nav-links li.active-page a span {
  display: inline-block;
}


.scrolled .navbar {
  background-color: #3139FB;
  color: #fff;
}


.scrolled .navbar::after {
  opacity: 1;
}

.navbar .wavy-line {
  display: block;
}

.scrolled .navbar .wavy-line {
  display: none;
}

.wavy-line {
  position: absolute;
  bottom: -13px;
  left: 0;

  --s: 5px;
  /* size of the wave */
  --b: 1px;
  /* thickness of the line */
  --m: 0.9;
  /* curvature of the wave [0 2] */

  background: #fff;
  --R: calc(var(--s)*sqrt(var(--m)*var(--m) + 1) + var(--b)/2);
  height: calc(2*var(--R));
  width: 100%;
  --_g: #0000 calc(99% - var(--b)), #000 calc(101% - var(--b)) 99%, #0000 101%;
  mask:
    radial-gradient(var(--R) at left 50% bottom calc(-1*var(--m)*var(--s)), var(--_g)) calc(50% - 2*var(--s)) calc(50% - var(--s)/2 - var(--b)/2)/calc(4*var(--s)) calc(var(--s) + var(--b)) repeat-x,
    radial-gradient(var(--R) at left 50% top calc(-1*var(--m)*var(--s)), var(--_g)) 50% calc(50% + var(--s)/2 + var(--b)/2)/calc(4*var(--s)) calc(var(--s) + var(--b)) repeat-x;
}


.bottom-navigate {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 500px;
  background-color: #3139FB;
  border-radius: 12px;
  color: #fff;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  font-size: 1.2rem;
  box-shadow: #3139FB8f 0px 22px 70px 4px;
  transition: 0.1s ease;
  z-index: 0;
}

#bottom-navigate-1 {
  background-color: #fff;
  color: #3139FB;
  box-shadow: #ffffff9f 0px 22px 70px 4px;
  z-index: 1;
}

.bottom-navigate:active {
  transform: translateX(-50%) scale(0.9);
}




.info-wrap {
  padding: 75px 15px 15px;
  background-color: #3139fb;
  background-image: url(/assets/noise-light.png);
  color: #fff;
}

#info p {
  word-break: break-word;
}

.no-tables-info {
  max-width: 500px;
  background-color: #6e73ff;
  padding: 10px;
  border-radius: 10px;
  margin: auto;
  font-size: 1.2rem;
}

.no-tables-info a {
  color: #fff;
  background-color: #3139fb;
  padding: 1px 3px;
  border-radius: 5px;
  text-decoration: none;
}

.no-tables-info a:hover {
  background-color: #434bff;
}

#info table {
  border-collapse: collapse;
  color: #fff;
}

#info td {
  border: none;
  padding: 2px;
}

#info tr td:first-child {
  display: flex;
  width: max-content;
}


#info .table-info {
    max-width: 600px;
    padding: 10px;
    background-color: #6167ff;
    border-radius: 12px;
    margin: auto;
}


.data-wrapper {
    padding: 20px;
}

.data-container {
    max-width: 500px;
    margin: auto;
}


p.warning {
    border-radius: 10px;
    color: red;
    margin-block: 20px;
}

.data-container input {
    padding: 10px;
    border: 2px solid red;
    border-radius: 10px;
    margin-block: 10px;
    font-size: 1.1rem;
    width: 100%;
    color: red;
}

.data-container input:focus-visible {
    color: red;
}

.data-container button {
    padding: 10px;
    background-color: red;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
}

.data-container button:disabled {
    opacity: 0.3;
}


.coming-soon {
  margin: 20px auto;
  max-width: 500px;
  padding: 20px;
}



@supports (animation-timeline: view()) {
  footer {
    border-radius: 30px;
    transform: scale(0.9);
    animation: scaleUpFooter 1s linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
}


/* Footer */
footer {
  padding: 20px 20px 130px;
  background-color: #3139FB;
  background-repeat: no-repeat;
  color: #fffcf2;
  overflow: hidden;
  min-height: calc(100vh - 45px);
  position: relative;
}

footer .explore {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  margin-block: 20px;
  gap: 5px;
}

footer .explore span {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

footer .dev {
  position: absolute;
  bottom: 20px;
  margin-bottom: 70px;
}

footer h2 {
  float: right;
  position: relative;
  font-size: 5rem;
  text-align: left;
  opacity: 0.5;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: 0.2s ease;
}

footer .explore a:hover {
  text-decoration: underline;
}

footer h3 {
  font-size: 1.7rem;
}

footer h3 {
  color: #ffffff70;
}

footer h3 a {
  font-size: 1.7rem;
  color: #ffffff;
}


footer .dev .social {
  background-color: #ffffff40;
  padding: 5px;
  margin-right: 5px;
  border-radius: 12px;
  display: inline-flex;
  margin-top: 5px;
}

@keyframes scaleUpFooter {
  0% {
    border-radius: 30px;
    transform: scale(0.9);
  }

  100% {
    border-radius: 0;
    transform: scale(1);
  }
}


@media (max-width: 768px) {
  footer h2 {
    float: none;
    font-size: 6.5rem;
  }
}

@media (max-width: 700px) {
  footer h2 {
    font-size: 6rem;
  }
}

@media (max-width: 600px) {
  footer h2 {
    font-size: 5rem;
  }
}

@media (max-width: 500px) {
  footer h2 {
    font-size: 4rem;
  }
}

@media (max-width: 400px) {
  footer h2 {
    font-size: 3rem;
  }
}


@media (min-width: 768px) {
  .nav-links li {
    display: block;
  }

  .nav-links li a {
    padding: 4px 8px;
    display: block;
  }

  .nav-links li a span {
    display: inline-block;
  }
}
