/*
  responsible for styling all elements generically,
  to give the site its unique look.

  `selected` is a class that you have to specify in HTML or JS
  in order to activate the related style.
*/

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-VariableFont_slnt\,wght.ttf');
}

* {
  font-family: Inter, sans-serif;
  box-sizing: border-box;
}

body {
  /* pure black */
  --primary-color: #000000;
  /* text colours (light) */
  --text-color1: #ffffff;
  --text-color2: #ACACAC;
  /* light colours */
  --secondary-color1: #FFE6E6;
  --secondary-color2: #B3B0D7;
  /* dark colours */
  --background-color1: #333333;
  --background-color2: #222222;
  --background-color3: #111111;
  background: var(--primary-color);
  color: var(--text-color1);
  font-size: calc(10px + 1vw);
  margin: 0;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--text-color1);
}

/* allow <hr> to work in flexboxes */
hr {
  width: 30%;
}

/* table stuff */
table {
  background-color: var(--background-color1);
  border: 1px solid var(--text-color1);
}

th {
  background-color: var(--background-color3);
}

table td,
table th {
  padding: 1rem;
}

table th {
  color: var(--secondary-color2);
}

table tr {
  background-color: var(--background-color2);
}

table tr:nth-child(2n+1) {
  background-color: var(--background-color1);
}

::-webkit-scrollbar {
  width: 12px;
  /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: transparent;
  /* Optional: Transparent track */
}

::-webkit-scrollbar-thumb {
  background: #888;
  /* Scroll thumb color */
}