* {
  box-sizing: border-box;
}

/* Remove default spacing and make the page span the full viewport. */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  /* Prevent browser scrollbars while rendering a full-screen canvas. */
  overflow: hidden;
}

/* Remove inline spacing behavior from canvas elements. */
canvas {
  display: block;
}

.icon-group {
  position: fixed;
  display: flex;
  align-items: center;
}

.icon-group--top-right {
  top: 20px;
  right: 20px;
  flex-direction: row;
  gap: 20px;
}

.icon-group--bottom-right {
  bottom: 20px;
  right: 20px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  mix-blend-mode: difference;
  display: block;
}

.color-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.color-toggle img {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  mix-blend-mode: difference;
}