html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
  font-size: 12px;
  color: #ebf8f3;
}

html {  
  flex-direction: column;
}

body {
  flex-direction: row;
  overflow: hidden;
  touch-action: none;
  position: relative;
}

main {
  position: relative;
  background: #111;
}

canvas, img {
  z-index: 100;
  margin: auto;
  display: block;
  height: auto;
  width: auto;
  max-height: 100vh;
  max-width: 100vw;
  
  position: absolute;
  top: auto;
  left: auto;
}

canvas.hidden {
  display: none;
}

#c0 {
  display: block;
  width: min(100vw, 100vh);
  height: min(100vw, 100vh);
}

#intro {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  text-align: center;
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 0;
  background: #111;
  z-index: 99999;
}

#intro.hidden {
  display: none;
}

#intro #text {
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

#intro #text h1,
#intro #text h2 {
  color: #ffffff !important;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: .3em;
  line-height: 100%;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}