:root {
  --scene-scale: 1;
  --scene-x: 0px;
  --scene-y: 0px;
  --ground-scale: 1;
  --ground-width: 100vw;
  --ground-height: 100vh;
  --ui-left: clamp(56px, 7vw, 120px);
  --ui-top: clamp(78px, calc(var(--vh, 1vh) * 13), 160px);
  --ui-width: clamp(360px, 38vw, 560px);
  --ui-pad: clamp(14px, 2vh, 18px);
  --ui-gap: clamp(6px, 0.9vh, 10px);
  --ui-terminal-pad: clamp(12px, 2vh, 16px);
  --ui-terminal-font: clamp(11px, 1.1vw, 13px);
  --ui-terminal-line: 1.45;
  --ui-btn-gap: 8px;
  --ui-btn-h: 52px;
  --ui-btn-icon: 52px;
  --ui-btn-projects-min: 150px;
  --ui-btn-projects-max: 260px;
  --ui-btn-caps-min: 84px;
  --ui-btn-caps-max: 140px;
  --monitor-x: 72vw;
  --monitor-y: calc(44 * var(--vh, 1vh));
  --monitor-size: min(82vmin, 1050px);
}

#ground-group {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--ground-width);
  height: var(--ground-height);
  transform: translateX(-50%) scale(var(--ground-scale));
  transform-origin: bottom center;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

#orbital-left {
  position: fixed;
  left: -20vw;
  top: 20vh;
  width: 1200px;
  height: 1200px;
  z-index: 1;
  pointer-events: none;
  transform-origin: center;
}

#orbital-right {
  position: fixed;
  right: -35vw;
  top: -60vh;
  width: 1200px;
  height: 1200px;
  z-index: 1;
  pointer-events: none;
  transform-origin: center;
}

@media (min-width: 1100px) and (max-width: 1250px) and (max-height: 900px) and (orientation: landscape) {
  :root {
    --monitor-x: 75vw;
    --monitor-y: calc(50 * var(--vh, 1vh));
    --monitor-size: min(66vmin, 840px);
  }

  #orbital-right {
    right: -55vw;
    top: -70vh;
  }
}

@media (min-width: 1251px) and (max-width: 1400px) and (max-height: 1100px) and (orientation: landscape) {
  :root {
    --monitor-x: 74vw;
    --monitor-y: calc(48 * var(--vh, 1vh));
    --monitor-size: min(68.2vmin, 1023px);
  }
}
