*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* logical properties */
* {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-block-start: 0;
  padding-block-end: 0;
  padding-inline-start: 0;
  padding-inline-end: 0;
}

/* a,
a:visited,
a:hover,
a:active {
  color: inherit;
  
} */

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  border: none;
  outline: none;
  background: none;
}

/* scroll bars */
/* For Firefox */
* {
  /* scrollbar-gutter: stable both-edges; */
  scrollbar-width: thin;
  scrollbar-color: #00ffff58 #222;
}
/* chromium */
::-webkit-scrollbar-button {
  background: #222;
}
::-webkit-scrollbar {
  width: var(--scrollbar-width);
  height: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
  background: #222;
}

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #222;
}

::-webkit-scrollbar-button {
  display: none;
}
::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  opacity: 0;
}
/* Eleventy’s plugin adds a pre and code wrapper for syntax highlighting*/
/* overwrite */
pre[class*="language-"] {
  margin: var(--marg-med) 0rem;
  padding: 1rem;
  border-radius: 5px;
  background: #2d2d2d; /* Optional: Matches dark themes */
}

code .language-js {
  font-family: monospace;
  font-size: 0.9rem;
}
