/* ===== Font ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

@font-face {
  font-family: 'Clash';
  src: url('../fonts/ClashDisplay-Variable.ttf');
}

/* ===== Scrollbar ===== */

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(210, 246, 90, 0.5);
  cursor: pointer;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

/* ===== General Page ===== */

:root {
  --text: #ffffff;
  --background: #000000;
  --primary: #d2f65a;
  --primary-rgb: 210, 246, 90;
  --secondary: #ebf5ff80;
  --accent: #5392c6;
  --section-padding: 3rem;
}

::selection {
  color: var(--background);
  background: var(--primary);
}

* {
  text-decoration: none;
  box-sizing: border-box;
}

html {
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  padding-top: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  font-family: Clash;
  font-weight: 400;
  overflow-x: hidden;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  :root {
    --section-padding: 0rem;
  }

  body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.visually-hidden, .hero-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}