@import url("https://fonts.googleapis.com/css?family=Roboto");
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffdd59;
}

#canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  transition: all .4s;
  -webkit-transform-origin: 100% 50%;
          transform-origin: 100% 50%;
  z-index: 1;
}
#canvas.animated {
  -webkit-transform: scale(0.6);
          transform: scale(0.6);
  box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.6);
}

.buttons {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.buttons i {
  padding: .5em;
  box-sizing: border-box;
  color: #1e272e;
  font-size: 1.5em;
  cursor: pointer;
}

#popup {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40vw;
  padding: 1em;
  box-sizing: border-box;
  z-index: 0;
}
#popup p {
  color: #1e272e;
  font-family: 'Roboto', Arial;
}
