html, body{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /* margin-top: 100vh; */
}

body{
  background: #eee;
  overflow-x: hidden;
}

.container{
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.next, .prev{
  background: #181818;
  width: 50px;
  height: 50px;
  cursor: pointer;
  color: #181818;
  line-height: 42px;
  font-size: 2em;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0) rotate(-90deg);
  z-index: 4;
}

.next{
  bottom: 0;
}

h1{
  color: #eee;
}

.center{
  position: absolute;
  margin: auto;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}

.rect{
  width: 50px;
  height: 50px;
  background: #eee;
  z-index: 0;
  background: #eee;
}

.rect, canvas, .next, .prev{
  will-change: transform;
}

canvas{
  z-index: 1;
}

svg{
  width: 100%;
  height: 100%;
}