html,
body,
#main {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  width: 100%; }

#main.dark {
  background-color: #383838; }

.board {
  display: block;
  position: relative; }

.board.disabled * {
  pointer-events: none;
  touch-action: none; }

.dot {
  align-items: center;
  cursor: grab;
  display: flex;
  font-size: 18px;
  height: 40px;
  justify-content: center;
  position: absolute;
  width: 40px;
  z-index: 10; }
  @media screen and (max-width: 540px) {
    .dot {
      font-size: 17px;
      height: 36px;
      width: 36px; } }
  @media screen and (max-width: 440px) {
    .dot {
      font-size: 15px;
      height: 32px;
      width: 32px; } }
  @media screen and (max-width: 380px) {
    .dot {
      font-size: 14px;
      height: 30px;
      width: 30px; } }

.dot.switching {
  transition: transform 0.2s ease-in-out; }

.board.dropping .dot {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.66, 1.4, 0.86, 0.89); }

.dot.fading-in {
  animation: fade-in 0.16s ease-in-out; }

.dot.dragging {
  cursor: grabbing;
  transition: none;
  z-index: 15; }

.drop-zone {
  cursor: grabbing;
  height: 48px;
  position: absolute;
  width: 48px;
  z-index: 20; }

.explosions-container {
  display: none;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 5; }

.explosions-container.explode {
  display: block; }

.explosion {
  height: 0;
  position: absolute;
  width: 0; }

.particle {
  animation-duration: 1.2s;
  animation-timing-function: jump-out;
  background-color: currentColor;
  border-radius: 50%;
  height: 8px;
  position: absolute;
  width: 8px; }

.create-sphere-animation .particle {
  animation-duration: 1.8s;
  animation-timing-function: ease-in-out; }

.dot.rainbow-virus.create-sphere {
  animation: sphere-creation;
  animation-duration: 1.8s;
  animation-timing-function: ease-in-out; }

.dark .dot.rainbow-virus.create-sphere {
  animation: sphere-creation-dark; }

.pink {
  color: #ff66c2; }

.red {
  color: #ec5151; }

.orange {
  color: #fab54e; }

.yellow {
  color: #faed4e; }

.green {
  color: #49e46b; }

.aqua {
  color: #4bedee; }

.teal {
  color: #2dc377; }

.blue {
  color: #34b3ff; }

.indigo {
  color: #8787ff; }

.purple {
  color: #c18be2; }

.dark .pink {
  color: #ff7ccb; }

.dark .red {
  color: #ff6c6c; }

.dark .orange {
  color: #fab54e; }

.dark .yellow {
  color: #f9f191; }

.dark .green {
  color: #80cc77; }

.dark .aqua {
  color: #84f0f1; }

.dark .teal {
  color: #66efa9; }

.dark .blue {
  color: #52b4ef; }

.dark .indigo {
  color: #9090ff; }

.dark .purple {
  color: #be88e0; }

.grey-out,
.dark .grey-out {
  color: #b1b1bc; }

.dot.rainbow-virus {
  color: #ff66c2;
  text-shadow: 0px 0px 4px #9a9a9a;
  animation-name: rainbow-virus;
  animation-duration: 3s;
  animation-timing-function: ease;
  animation-iteration-count: infinite; }

.dark .dot.rainbow-virus {
  color: #ff7ccb;
  animation-name: rainbow-virus-dark; }

.board.black-out .dot {
  animation: black-out-anim 0.5s ease;
  color: white;
  text-shadow: none; }

.dummy-animation-300 {
  animation: dummy 0.3s linear; }

.dummy-animation-700 {
  animation: dummy 0.7s linear; }

@keyframes dummy {
  0% { }
  100% { } }

@keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }

@keyframes black-out-anim {
  50% {
    color: #3e3f50; }
  100% {
    color: transparent; } }

@keyframes rainbow-virus {
  0% {
    color: #ff66c2; }
  10% {
    color: #ec5151; }
  20% {
    color: #fab54e; }
  30% {
    color: #faed4e; }
  40% {
    color: #49e46b; }
  50% {
    color: #2dc377; }
  60% {
    color: #4bedee; }
  70% {
    color: #34b3ff; }
  80% {
    color: #8787ff; }
  90% {
    color: #c18be2; }
  100% {
    color: #ff66c2; } }

@keyframes sphere-creation {
  0% {
    font-size: 0px; }
  50% {
    color: #ff66c2;
    font-size: 0px; }
  55% {
    color: #ec5151; }
  60% {
    color: #fab54e; }
  65% {
    color: #faed4e; }
  70% {
    color: #49e46b; }
  75% {
    color: #2dc377; }
  80% {
    color: #4bedee; }
  85% {
    color: #34b3ff;
    font-size: 24px; }
  90% {
    color: #8787ff; }
  95% {
    color: #c18be2; }
  100% {
    color: #ff66c2;
    font-size: 18px; } }

@keyframes rainbow-virus-dark {
  0% {
    color: #ff7ccb; }
  10% {
    color: #ff6c6c; }
  20% {
    color: #fab54e; }
  30% {
    color: #f9f191; }
  40% {
    color: #80cc77; }
  50% {
    color: #66efa9; }
  60% {
    color: #84f0f1; }
  70% {
    color: #52b4ef; }
  80% {
    color: #9090ff; }
  90% {
    color: #be88e0; }
  100% {
    color: #ff7ccb; } }

@keyframes sphere-creation-dark {
  0% {
    font-size: 0px; }
  50% {
    color: #ff7ccb;
    font-size: 0px; }
  55% {
    color: #ff6c6c; }
  60% {
    color: #fab54e; }
  65% {
    color: #f9f191; }
  70% {
    color: #80cc77; }
  75% {
    color: #66efa9; }
  80% {
    color: #84f0f1; }
  85% {
    color: #52b4ef;
    font-size: 24px; }
  90% {
    color: #9090ff; }
  95% {
    color: #be88e0; }
  100% {
    color: #ff7ccb;
    font-size: 18px; } }

html, body, header, nav, h1, a,
ul, li, strong, main, button, i,
section, img, div, h2, p, form,
fieldset, label, input, textarea,
span, article, footer, time, small, div, img {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  text-decoration: inherit;
  vertical-align: inherit;
  box-sizing: inherit;
  background: transparent; }

ul {
  list-style: none; }

img {
  display: block;
  width: 100%;
  height: auto; }

input[type="password"],
input[type="email"],
input[type="text"],
input[type="submit"],
textarea,
button {
  -webkit-appearance: none;
  -moz-appearance: none; }

button,
input[type="submit"] {
  cursor: pointer; }

