html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
}

canvas {
  display: block;
  margin: 18px auto;
  height: 540px;
  width: 720ppx;
}

#ir-button {
  display: inline-block;
}

#current-effect-text {
  font-weight: 700;
  font-size: 2rem;
  border: 0.2rem solid #FFFFFF;
  border-radius: 4rem;
  padding: 0.8em;
  box-shadow: 0 0 .2rem #fff,
              0 0 .2rem #fff,
              0 0 2rem #13fe32,
              0 0 0.8rem #13fe32,
              0 0 2.8rem #13fe32,
              inset 0 0 1.3rem #13fe32;
  display: inline-block;
  margin: 24px;
}

.app {
  align-items: center;
  background-image: linear-gradient(
    300deg,
    hsl(221deg 98% 23%) 0%,
    hsl(215deg 100% 30%) 21%,
    hsl(210deg 100% 35%) 30%,
    hsl(205deg 100% 39%) 39%,
    hsl(200deg 100% 41%) 46%,
    hsl(192deg 100% 41%) 54%,
    hsl(182deg 100% 39%) 61%,
    hsl(170deg 100% 42%) 69%,
    hsl(158deg 100% 46%) 79%,
    hsl(148deg 100% 50%) 100%
  ); 
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  text-align: center;
}

.app-container {
  margin-top: 24px;
  background-color: #128bfc;
  border-radius: 24px;
  box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23);
  margin-bottom: 24px;
  padding: 18px;
  color: #FFFFFF;
  font-size: 1.1rem;
  max-width: 738px;
}

h1 {
  color: #FFFFFF;
  margin-top: 18px;
  margin-bottom: 0;
  text-shadow:
  -2px -2px 0 #000,  
   2px -2px 0 #000,
  -2px  2px 0 #000,
   2px  2px 0 #000;
}

p {
  margin: 0;
}

.emoji {
  text-shadow: none;
}

.effect-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}

.radio, label {
  cursor: pointer;
}

.active-effect-title {
  font-size: 24px;
  margin-top: 12px;
  margin-bottom: 4px;
}

.canvas-container {
  position: relative;
}

#loading-spinner {
  position: absolute;
  /* Width and height of the canvas / 2 minus half the height of the loading spinner. */
  left: 345px;
  top: 246px;
  width: 48px;
  height: 48px;
  border: 6px solid #FFFFFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

  @keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
  }

  #loading-spinner.hidden {
    display: none;
  }