@font-face {
  font-family: "latowf400";
  src: url("../fonts/lato-medium-webfont.eot");
  src: url("../fonts/lato-medium-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/lato-medium-webfont.woff2") format("woff2"),
    url("../fonts/lato-medium-webfont.woff") format("woff"),
    url("../fonts/lato-medium-webfont.ttf") format("truetype"),
    url("../fonts/lato-medium-webfont.svg#latomedium") format("svg");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  background: #000;
  height: 100%;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.state-win {
  animation: party 4000ms linear infinite;
}

@keyframes party {
  100% {
    filter: hue-rotate(360deg);
  }
}

body {
  background: linear-gradient(
    to bottom left,
    hsla(0, 75%, 30%, 1),
    hsla(-75, 75%, 30%, 1)
  );
}

.font-load {
  height: 0;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  visibility: hidden;
  width: 0;
}

.font-1 {
  font-family: "latowf400";
}

canvas {
  animation: fade-in 500ms forwards;
  cursor: none;
  display: block;
  opacity: 0;
  outline: none;
  -ms-touch-action: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.touch canvas {
  cursor: default;
}

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