/* Emerald Valley Library - Interactive Mathematics, generated by Mathigon Studio */
article.casino .page-background {
  background-image: url("/content/chaos/images/felt.png"), -webkit-radial-gradient(50% 40%, circle farthest-corner, #527C14, #243a0a);
  background-size: 180px 180px, auto;
  transform: translate3D(0, 0, 0);
}

x-water-canvas canvas {
  border-radius: 4px;
}

.butterfly {
  width: 60px;
  height: 43px;
  background: url("/content/chaos/images/butterfly.png");
  background-size: cover;
  position: absolute;
  top: 220px;
  left: 170px;
  cursor: pointer;
  transition: transform 0.2s;
  transform: rotate(20deg);
}
.butterfly.flap {
  transform: rotate(20deg) scaleX(0.4);
}

.tornado {
  width: 50px;
  height: 60px;
  background: url("/content/chaos/images/tornado.png");
  background-size: cover;
  position: absolute;
  top: 70px;
  left: 70px;
  transition: transform 1s, opacity 1s;
  transform: scale(0.4);
  opacity: 0;
  transform-origin: center bottom;
}
.tornado.active {
  transform: scale(1);
  opacity: 1;
}

.pool-table {
  stroke: white;
  fill: none;
  stroke-width: 10px;
}