:root {
  --color-black: #1c1c1c;
  --color-navy: #111827;
  --border-radius: 8px;
  --border-color: #fff;
  --text-color: #ddd;
  --bg-gradient:
    radial-gradient(circle at 0% 0%,
      #42a1b280 0%,
      #42a1b220 35%,
      #00000000 100%),
    radial-gradient(circle at 100% 100%,
      #42a1b280 0%,
      #42a1b220 35%,
      #00000000 100%),
    radial-gradient(circle at 100% 0%,
      #38539880 0%,
      #38539820 35%,
      #00000000 100%),
    radial-gradient(circle at 0% 100%,
      #38539880 0%,
      #38539820 35%,
      #00000000 100%);
}

@import url("https://fonts.googleapis.com/css?family=Noto Sans");

body {
  font-family: "Noto Sans", monospace;
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background-color: var(--color-navy);
  overflow: visible;
}

a {
  text-decoration: underline !important;
  font-weight: bold;
  text-decoration-color: currentColor;
}

footer {
  background-color: #0a0a0a99;
  white-space: nowrap;
  font-size: clamp(0.6rem, 2vw, 1rem);
  overflow: visible;
  backdrop-filter: blur(10px);
  z-index: 99;
}

header {
  background-color: #0a0a0a99;
  white-space: nowrap;
  font-size: clamp(0.6rem, 2vw, 1rem);
  overflow: visible;
  backdrop-filter: blur(10px);
  z-index: 99;
}

button:focus {
  outline: none;
  box-shadow: none;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #000000;
  background-image: var(--bg-gradient);
  background-size: cover;
}

.box {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: #1c1c1cbf;
  backdrop-filter: blur(10px);
}

.circle-button {
  border: 2px solid var(--border-color);
  background-color: var(--border-color);
  color: var(--color-black);
}

button {
  cursor: pointer;
}

.rounded-full {
  border-radius: 50%;
}

button svg {
  display: block;
  stroke: var(--color-black);
  stroke-width: 2.5px;
}

.input-box {
  border: 2px solid #8a8a8a80;
  border-radius: 20px;
  background-color: var(--color-black);
}

input {
  outline: none;
  background-color: var(--color-black);
  color: white;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px var(--color-black) inset !important;
  -webkit-text-fill-color: white !important;
  background-clip: content-box !important;
  font: inherit !important;
  line-height: inherit !important;
  padding: inherit !important;
}

.neon-box {
  box-shadow: 0 0 6px var(--border-color);
}

.neon-text {
  color: #fff;
  text-shadow: 0 0 6px var(--border-color);
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-out {
  animation: fadeOut 0.5s ease-in-out forwards;
}

.scale-in {
  animation: scaleIn 0.25s ease-in-out forwards;
}

.scale-out {
  animation: scaleOut 0.25s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0);
  }
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip .tooltiptext {
  display: table;
  position: absolute;
  max-width: 280px;
  width: max-content;
  white-space: normal;
  font-size: 0.8em;
  padding: 4px 6px;
  color: var(--text-color);
  text-align: center;
  border-radius: 6px;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
}



/* Chrome, Safari, Edge */
*::-webkit-scrollbar {
  width: 8px;   /* vertical scrollbar thickness */
  height: 8px;  /* horizontal scrollbar thickness */
}

*::-webkit-scrollbar-track {
  background: transparent;  /* track is invisible */
}

*::-webkit-scrollbar-thumb {
  background-color: white;  /* thumb color */
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #eee;   /* optional hover effect */
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: white transparent;  /* thumb, track */
}
