/* TYPOGRAPHY & COLORS
------------------------------------------------

"din-condensed-web"	Regular (400)
"ff-tisa-web-pro"	Regular (400)	Bold (700)
	
black	#424039
brown	#7C5531
green	#47746F
blue	#4F799E
pink	#A04E6C
											  */

/* RESET
--------------------------------------------- */
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,b, u, i, center,
dl, dt, dd, ol, ul, li,fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

/* UTILITIES
--------------------------------------------- */

.clear:before,
.clear:after {
    content: "";
    display: table;
}
.clear:after {
    clear: both;
}
.clear {
    zoom:1;
}
img,
embed,
object,
video {
	max-width: 100%;
}
::selection {
	background: #FFFF00;
	color: #F72E2A;
}
::-moz-selection {
	background: #FFFF00;
	color: #F72E2A;
}
*:focus {
	outline: none
}
::-webkit-input-placeholder {}
:-moz-placeholder {}
input[type=text],
input[type=submit] {
	-webkit-appearance: none;
	border-radius: 0;
}

/* TYPOGRAPHY
--------------------------------------------- */

body {	
	font-size: 62.5%;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	cursor: default;
	text-rendering: optimizeLegibility;
  font-family: "nimbus-sans",sans-serif;
  font-weight: 700;
  color: #F72E2A;
  text-align: center;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
a {
  color: #F72E2A;
}
h1 {
	font-size: 5.5vw;
	line-height: 1em;
	color: #fff;
	text-shadow: 
  	0px -1px 0px #F72E2A,
  	1px 0px 0px #F72E2A,
  	0px 1px 0px #F72E2A,
  	-1px 0px 0px #F72E2A;
  line-height: 1.5;
}
h1 .solid {
  color: #F72E2A;
  text-shadow: none;
	-webkit-text-stroke-width: 0px;
}
h1 .underline {
  background-image: url(../img/double-stroke.png);
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 4px 40px;
}
h2 {
	font-size: 2em;
	line-height: 1.1em;
}

/* Target webkit only */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  h1 {
    -webkit-text-stroke: 1px #F72E2A;
    text-shadow: none;
  }
}

/* LAYOUT
--------------------------------------------- */

html,
body {
  height: 100%;
}
.stop-scroll {
  height: 100%;
  overflow: hidden;
}
section {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.intro {
  z-index: 2;
}
body.dice-visible {
  background: #F72E2A;
}
.dice {
  display: none;
  z-index: 1;
  cursor: -webkit-grab;
  cursor: -moz-grab;
}
.dice:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
}
.mobile-dice {
  display: none;
  z-index: 1;
}
.actions {
  z-index: 8;
}
.shapes {
  overflow: hidden;
  z-index: 5;
}
.stage {
  width: 100%;
  height: 100%;
  position: relative;
}
.valign-wrap {
  display: table;
  width: 100%;
  height: 100%;
  text-align: center;
}
.valign {
  display: table-cell;
  vertical-align: middle;
  padding: 0 150px;
  width: 100%;
  text-align: center;
}
.shuffle {
  display: block;
  text-decoration: underline;
  font-size: 2em;
  display: inline-block;
  padding: 10px 20px;
  background: #F72E2A;
  color: #ffffff;
  position: absolute;
  width: 140px;
  margin-left: -70px;
  bottom: 140px;
}
.shuffle:hover {
  color: #F72E2A;
  background: #FFFF00;
}
.side-label {
  text-decoration: none;
  font-size: 2em;
  position: absolute;
  display: block;
  z-index: 10;
}
.side-label {
  padding: 10px 20px;
  background: #FFFFFF;
}
.dice-visible .side-label {
  background: #F72E2A;
}
.dice-visible .side-label a {
  color: #ffffff;
}
.dice-visible .side-label:hover a {
  color: #F72E2A;
}
.side-label:hover {
  background: #FFFF00;
}
.side-label-top {
  width: 250px;
  top: 20px;
  left: 50%;
  margin-left: -125px;
}
.side-label-right {
  width: 130px;
  top: 50%;
  right: -25px;
  transform:rotate(90deg);
  -ms-transform:rotate(90deg);
  -webkit-transform:rotate(90deg);
}
.side-label-bottom {
  width: 170px;
  bottom: 50px;
  left: 50%;
  margin-left: -85px;
}
.side-label-left {
  width: 130px;
  top: 50%;
  left: -25px;
  transform:rotate(-90deg);
  -ms-transform:rotate(-90deg);
  -webkit-transform:rotate(-90deg);
}
.colophon {
  background: #FFFFFF;
  display: block;
  font-size: 1.2em;
  font-weight: normal;
  position: absolute;
  padding: 5px 20px;
  width: 460px;
  left: 50%;
  margin-left: -230px;
  line-height: 2;
  bottom: 10px;
  z-index: 10;
}
.colophon li {
  display: inline-block;
  margin: 0 8px;
}
.dice-visible .colophon {
  background: #F72E2A;
  color: #ffffff;
}
.dice-visible .colophon a {
  color: #ffffff;
}
.wordmark {
  display: block;
  height: 20px;
  width: 88px;
  background-image: url(../img/wordmark.svg);
  background-position: 0 0;
  background-repeat: no-repeat;
  text-indent: -999px;
  overflow: hidden;
  margin: 0 auto;
}

/* SHAPES
--------------------------------------------- */
.shape {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.shape div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #FFFFFF;
  font-size: 1.4em;
  text-align: center;
  line-height: 1.3;
  padding: 0 10px;
}
.shape em {
  text-decoration: underline;
}
.rotate-left {
  transform:rotate(-10deg) translateZ(0);
  -ms-transform:rotate(-10deg) translateZ(0);
  -webkit-transform:rotate(-10deg) translateZ(0);
}
.rotate-right {
  transform:rotate(-0deg) translateZ(0);
  -ms-transform:rotate(10deg) translateZ(0);
  -webkit-transform:rotate(10deg) translateZ(0);
}

/* APPROVED
--------------------------------------------- */

.approved {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}
.approved h1 {
  display: inline-block;
  padding: 10px;
  color: #F72E2A;
	line-height: 1.2em;
  text-shadow: none;
	-webkit-text-stroke-width: 0px;
	background: #ffffff;
	letter-spacing: -.01em;
}
.approved.hide {
  display: none;
}

/* DICE
--------------------------------------------- */
#canvas {
  position: relative;
  z-index: 1;
}
.shape-instructions {
  z-index: 3;
  top: 30%;
  left: auto;
  right: 20%;
}
.shape-instructions div {
  color: #F72E2A;
}



@media only screen 
and (max-width : 1100px) {

  .side-label-top:hover {
    background: none;
  }
  .dice-visible .side-label-top:hover a {
    color: #FFFFFF;
  }
  .shuffle {
    position: relative;
    top: -120px;
    margin: 0;
  }

}


@media only screen 
and (max-width : 880px) {

  .valign {
    padding: 0 100px; 
  }
  .shuffle {
    top: 0;
  }

}


@media only screen 
and (max-width : 700px) {

  h1 {
    font-size: 2.8em;
  }
  section {
    height: auto;
    position: relative;
  }
  .stage {
    height: auto;
  }
  .intro .valign-wrap {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 500px;
  }
  .valign {
    padding: 0 20px; 
  }
  .side-label-top {
    position: static;
    text-align: center;
    padding: 30px 0;
    margin: 0;
    width: 100%;
  }
  .side-label-left,
  .side-label-right,
  .side-label-bottom {
    position: static;
    margin: 0 auto;
    transform:rotate(0deg);
    -ms-transform:rotate(0deg);
    -webkit-transform:rotate(0deg);
  }
  .side-label-right {
    margin-top: 30px;
  }
  .colophon {
    margin: 30px 0 0 0;
    width: auto;
    padding: 0 20px 30px 20px;
    position: static;
  }

}

@media only screen 
and (max-width : 420px) {


}