* {
  user-select: none;
}

html {
  height: 100%;
}

html,
body {
  background: #000000;
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 100%;
  width: 100%;
}

body {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overscroll-behavior-y: contain;
}

body,
a {
  color: #777;
}

h1 {
  color: #ddd;
  font-family: "Montserrat", sans-serif;
  font-weight: 100;
  margin-bottom: 0;
}

#clearnotes {
  margin-right: 10px;
  padding: 7px;
}

canvas {
  margin: -4px 0;
  cursor: pointer;
}

.canvaswrap {
  position: relative;
  visibility: hidden;
}

canvas,
.canvaswrap {
  height: 500px;
  width: auto;
}

#clipboard-input {
  background-color: #222;
  border: solid #444 1px;
  border-radius: 3px 0 0 3px;
  color: #999;
  font-size: 0.7em;
  height: 24px;
  padding: 0 5px;
  width: 300px;
}

.clipboard {
  border-radius: 0 3px 3px 0;
  color: #aaa;
  height: 26px;
}

#muteButton {
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
  width: 40px;
  height: 40px;
  background-image: url("volume-up.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: invert(1);
  opacity: 0.6;
  cursor: pointer;
}

#muteButton.muted {
  background-image: url("volume-mute.svg");
}

button,
.button {
  background: #333;
  border: solid #808080 1px;
  border-radius: 4px;
  color: #ddd;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
}
button :hover,
.button :hover {
  background: #555;
  cursor: pointer;
}

.icon {
  filter: invert(1);
  height: 1em;
  vertical-align: middle;
}

.share-wrap {
  font-size: 0.8em;
}

.share-wrap > * {
  vertical-align: middle;
}

body:not(.playing) canvas {
  filter: blur(5px);
  opacity: 0.3;
  overflow: hidden;
  pointer-events: none;
}
body:not(.playing) .canvaswrap {
  border: solid #444 1px;
}
body:not(.playing) .play-btn {
  background: radial-gradient(rgba(255, 0, 128, 0.8) 60%, rgb(255, 255, 255) 62%);
  border-radius: 50%;
  box-shadow: 0 0 25px 3px rgba(255, 0, 128, 0.8);
  display: block;
  height: 50px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
}
body:not(.playing) .play-btn::after {
  border-bottom: 9px solid transparent;
  border-left: 13px solid #fff;
  border-top: 9px solid transparent;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  transform-origin: center center;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
  width: 0;
  z-index: 100;
}
body:not(.playing) .play-btn::before {
  animation: pulsate1 2s;
  animation-delay: 0s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  background: rgba(198, 16, 0, 0);
  border: 5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  content: "";
  height: 150%;
  left: -35%;
  opacity: 1;
  position: absolute;
  top: -35%;
  width: 150%;
}

@keyframes pulsate1 {
  0% {
    box-shadow: inset 0 0 25px 3px rgba(255, 255, 255, 0.75), 0 0 25px 10px rgba(255, 255, 255, 0.75);
    opacity: 1;
    transform: scale(0.6);
  }
  100% {
    box-shadow: none;
    opacity: 0;
    transform: scale(1);
  }
}