* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

body {
  background: #141414;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  font-family: monospace;
  touch-action: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('goog.jpg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

.controls {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  display: flex;
  gap: 8px;
}

button,
.btn {
  background: #222;
  color: #eee;
  border: 1px solid #444;
  padding: 6px 12px;
  font-family: monospace;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

button:hover,
.btn:hover {
  background: #333;
}

button:active,
.btn:active {
  background: #111;
}

.goog {
  position: absolute;
  top: 0;
  left: 0;
  cursor: grab;
  will-change: transform;
  object-fit: cover;
  pointer-events: none;
}

.goog.dragging {
  cursor: grabbing;
}
