* {
  margin: 0;
  padding: 0;
}

html,
body {
  overflow: hidden;
  font-family: sans-serif;
  font-size: 12px;
  width: 100%;
  height: 100vh;
}

.webgl {
  position: fixed;
  top: 0;
  left: 0;
  outline: none;
}

#bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column nowrap;
}

#caption {
  margin: auto;
  position: absolute;
  top: 45%;
  color: white;
}

#loader {
  position: absolute;

  top: 50%;
  background: #ffffff;
  width: 100%;
  height: 2px;
  transform-origin: top left;
  transform: scaleX(0);
  transition: transform 0.5s;
  will-change: transform;
}

#loader.ended {
  transform-origin: top right;
  transition: transform 1.5s ease-in-out;
}
