


/* :root {
  --tx: #ebebeb;
  --tx2: #7b7b7b;
  --tx3: #202020;
  --bg: #000000;
  --f-main: "Roboto", sans-serif;
} */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

::selection {
  background-color: var(--tx);
  color: var(--bg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  border-left: 1px solid var(--tx);
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
  border-left: 1px solid var(--tx);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--tx);
  border-radius: 0 !important;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

body {
  background-color: var(--bg);
  color: var(--tx);
  font-family: var(--f-main);
  cursor: crosshair;
  overflow-x: hidden;
}

.section {
  padding: 0 var(--padding-side);
}
.section:not(:first-child) {
  padding-top: 100px;
}

#smooth-content {
  padding-bottom: calc( var(--scale-size) + 12px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: var(--tx2);
}

li {
  list-style: none;
}

button {
  border: none;
  background-color: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

/* --- Header --- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--padding-side);
  z-index: 1000;
  font-size: 12px;
  pointer-events: none;
  color: var(--tx2);
  text-transform: uppercase;
  background-color: var(--bg);
  border-bottom: 1px solid var(--tx3);
}

header a {
  transition: color 120ms ease;
}

header a:hover {
  color: var(--tx);
}

header>* {
  pointer-events: auto;
}

header nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
}

/* header nav ul li a {
  transition: color 120ms ease-in-out;
}
header nav ul li a:hover {
  color: var(--tx);
} */

header nav ul li a:hover {
  opacity: 1;
}

/* --- Ruler --- */

.ruler {
  position: fixed;
  background-color: var(--bg);
  z-index: 2000;
  pointer-events: none;
  font-family: var(--f-main);
  font-size: 9px;
  color: var(--tx2);
  display: flex;
  user-select: none;
}

.ruler-v {
  left: 0;
  top: 0;
  bottom: var(--scale-size);
  width: var(--scale-size);
  flex-direction: column;
  border-right: 1px solid var(--tx3);
}

.ruler-h {
  left: var(--scale-size);
  right: 0;
  bottom: 0;
  height: var(--scale-size);
  flex-direction: row;
  border-top: 1px solid var(--tx3);
}

.ruler-corner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: var(--scale-size);
  height: var(--scale-size);
  background-color: var(--bg);
  border-top: 1px solid var(--tx3);
  border-right: 1px solid var(--tx3);
  z-index: 2005;
}

.tick-ruler {
  position: absolute;
  background-color: var(--tx2);
}

.ruler-v .tick-ruler {
  right: 0;
  height: 1px;
}

.ruler-h .tick-ruler {
  top: 0;
  width: 1px;
}

.tick-ruler.small {
  width: 4px;
  height: 1px;
}

.ruler-h .tick-ruler.small {
  height: 4px;
  width: 1px;
}

.tick-ruler.med {
  width: 7px;
  height: 1px;
}

.ruler-h .tick-ruler.med {
  height: 7px;
  width: 1px;
}

.tick-ruler.large {
  width: 100%;
  height: 1px;
  background-color: var(--tx);
}

.ruler-h .tick-ruler.large {
  height: 100%;
  width: 1px;
  background-color: var(--tx);
}

.ruler-label {
  position: absolute;
  pointer-events: none;
  font-size: 9px;
  color: var(--tx2);
}

.ruler-v .ruler-label {
  left: calc(100% + 8px);
  transform: translate(-50%, -50%) rotate(-90deg);
}

.ruler-h .ruler-label {
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
}

.ruler-tracker {
  position: fixed;
  background-color: #ff3e3e;
  /* Accent color for tracking */
  z-index: 2001;
  pointer-events: none;
  display: none;
}

.ruler-tracker-v {
  left: 0;
  width: var(--scale-size);
  height: 1px;
}

.ruler-tracker-h {
  bottom: 0;
  height: var(--scale-size);
  width: 1px;
}