html,
body {
  margin: 0;
  height: 100%;
}

html {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  overflow: hidden;
  height: inherit;
}

canvas {
  display: block;
}

canvas {
  display: block;
  background: url("./magicpattern.jpg") no-repeat center center fixed;
  background-size: cover;
}

h1 {
  font-size: 2rem;
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 20px;
  color: white;
  text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.582);
}

#restartBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  background: #0084ff;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: none;
  box-shadow: 0px 0px 10px #0084ff;
  transition: 0.3s;
}

#restartBtn:hover {
  background: #3ba0ff;
  box-shadow: 0px 0px 20px #3ba0ff;
}
