html, body {
  margin: 0;
  padding: 0;
  background: white;
}
canvas {
  display: block;
}

.modal-wrapper {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  pointer-events: all;
  font-family: sans-serif;
  display: none;
}

.modal-background {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0,0,0,0);  
}

.modal {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 20px;
  width: 80%;
  min-height: 30%;
  max-height: 60%;
  max-width: 700px;
  min-width: 280px;
  border-radius: 8px;
  overflow: auto;
  box-shadow: 0 4px 19px rgba(0,0,0,0.22);
}

.modal h1 {
  margin: 0 0 0.5em 0;
  font-size: 25px;
}

.modal p {
  margin: 0 0 1em 0;
  font-size: 18px;
}

.modal button {
  min-width: 20%;
  padding: 8px 8px;
}