@import 'https://fonts.googleapis.com/css?family=Erica+One|Roboto+Condensed:300';

@mixin font($type:light) {
  @if $type == light {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  @if $type == fat {
    font-family: 'Erica One', cursive;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

}

*, 
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  position: relative;
  display: flex;
  background: #222;
  text-align: center;
  
  cursor: -webkit-grab;
  cursor: grab;
  user-select: none;
}

body:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.block {
  margin: auto;
}

.block span {
  margin-left: 6px;
  @include font(light);
  font-size: 0.85rem;
  line-height: 0.7rem;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.32rem;
}

.block h1 {
  @include font(fat);
  color: white;
  font-size: 40px;
  line-height: 30px;
  text-transform: uppercase;
}

canvas {
  pointer-events: none;
}

.stage {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
