:root {
  --scene-scale: 1;
  --scene-x: 0px;
  --scene-y: calc(0 * var(--vh, 1vh));
  --ground-scale: 1;
  --ground-width: 100vw;
  --ground-height: 100vh;
  --ui-left: clamp(32px, 4.8vw, 88px);
  --ui-top: clamp(60px, calc(var(--vh, 1vh) * 9), 130px);
  --ui-width: clamp(320px, 46vw, 520px);
  --ui-pad: clamp(12px, 1.6vh, 16px);
  --ui-gap: clamp(5px, 0.8vh, 9px);
  --ui-terminal-pad: clamp(11px, 1.6vh, 14px);
  --ui-terminal-font: clamp(10px, 1.3vw, 12px);
  --ui-terminal-line: 1.4;
  --ui-btn-gap: 6px;
  --ui-btn-h: 48px;
  --ui-btn-icon: 48px;
  --ui-btn-projects-min: 120px;
  --ui-btn-projects-max: 220px;
  --ui-btn-caps-min: 78px;
  --ui-btn-caps-max: 120px;
  --monitor-x: 58vw;
  --monitor-y: calc(56 * var(--vh, 1vh));
  --monitor-size: min(84vmin, 810px);
}

#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: -60vw;
  top: 50%;
  width: 120vw;
  height: 120vw;
  z-index: 1;
  pointer-events: none;
  transform-origin: center;
  transform: translateY(-50%);
}

#orbital-right {
  position: fixed;
  right: -70vw;
  top: -30vh;
  width: min(900px, 110vw);
  height: min(900px, 110vw);
  z-index: 1;
  pointer-events: none;
  transform-origin: center;
}

@media (min-width: 1000px) and (min-height: 1200px) {
  #orbital-right {
    right: -45vw;
    top: -45vw;
    width: 90vw;
    height: 90vw;
  }
}

@media (min-width: 1000px) and (min-height: 1200px) and (orientation: portrait) {
  :root {
    --monitor-y: calc(52 * var(--vh, 1vh));
  }
}

@media (min-width: 810px) and (max-width: 900px) and (min-height: 1000px) and (orientation: portrait) {
  :root {
    --monitor-y: calc(54 * var(--vh, 1vh));
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  :root {
    --monitor-x: 76.2vw;
    --monitor-y: calc(40 * var(--vh, 1vh));
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (min-height: 600px) and (orientation: landscape) {
  :root {
    --monitor-x: 72vw;
    --monitor-y: calc(50 * var(--vh, 1vh));
    --monitor-size: min(71.4vmin, 688px);
  }
}
