/* VARIABLES */
:root {
  --input-text-color: #fff;
  --input-placeholder-color: rgba(255, 255, 255, 0.6);
  --input-bg-color: rgb(43, 43, 43);
  --focus-input-bg-color: #00e8681b;
  --text-color: #949faa;
  --active-color: #00e869;
}
/* BODY */
html,
body {
  height: 100%;
}
@media (hover: hover) {
  body {
    overscroll-behavior: none;
    touch-action: pan-down;
  }
}
body {
  background-color: #212121;
  background: linear-gradient(57deg, #353334 0%, rgba(0, 0, 0, 1) 88%);
  color: #fff;
  background-attachment: fixed;
  margin: 0;
  padding: 3rem;
}

body::before {
  content: '';
  position: fixed;
  background-image: var(--bg-img);
  inset: 0;
  opacity: 0.3;
  background-repeat: repeat;
  background-size: cover;
  filter: blur(15px);
  pointer-events: none;
  z-index: -1;
}

/* SCROLLBAR */
html {
  scrollbar-face-color: #646464;
  scrollbar-base-color: #646464;
  scrollbar-3dlight-color: #646464;
  scrollbar-highlight-color: #646464;
  scrollbar-track-color: #000;
  scrollbar-arrow-color: #000;
  scrollbar-shadow-color: #646464;
  scrollbar-dark-shadow-color: #646464;
}
::-webkit-scrollbar {
  width: 8px;
  height: 3px;
}

::-webkit-scrollbar-button {
  background-color: #666;
}

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

::-webkit-scrollbar-track-piece {
  background-color: #000;
}

::-webkit-scrollbar-thumb {
  height: 50px;
  background-color: #666;
  border-radius: 3px;
}

::-webkit-scrollbar-corner {
  background-color: #646464;
}

::-webkit-resizer {
  background-color: #666;
}

/* LAYOUT */
@media (max-width: 800px) {
  body {
    padding: 1.25rem;
  }
}

.container {
  max-width: 1300px;
  margin: auto;
}
hr {
  border-color: #585858;
  border-width: 1px;
  border-style: solid;
}

/* TYPOGRAPHY */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
*,
*::after,
*::before {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  font-size: 20px;
}
a {
  color: #fff;
}

a:hover {
  opacity: 0.8;
}

/* RESETS */
*,
*::after,
*::before {
  box-sizing: border-box;
}

/* UTILITY */
body.noscroll {
  height: 100vh;
  width: 100vw;
  touch-action: none;
  -webkit-overflow-scrolling: none;
  overflow: hidden;
  overscroll-behavior: none;
}

/* UI */
.field {
  appearance: none;
  color: var(--text-color);
  border: 0;
  outline: 2px solid rgba(150, 150, 150, 0.3);
  background: var(--input-bg-color);
  padding: 0.5rem 1rem;
  line-height: 1;
  height: 100%;
}

.field:focus {
  color: var(--active-color);
  outline-color: var(--active-color);
  background-color: var(--focus-input-bg-color);
}

.field::placeholder {
  color: var(--input-placeholder-color);
}

.btn {
  appearance: none;
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  line-height: 1;
  border-radius: 0.5rem;
  background-color: var(--focus-input-bg-color);
  outline: 2px solid rgba(150, 150, 150, 0.3);
}

.btn--primary {
  outline: 2px solid var(--active-color);
  background: var(--active-color);
  color: #000;
}

.btn:hover {
  filter: brightness(80%);
  cursor: pointer;
}
