/* reset our CSS */
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#sketch {
  /* aspect ratio and width are set in sketch.js */
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sketch canvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

canvas {
  display: block;
  touch-action: none;
}

/* gui position */
#gui {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
}