/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/
@import url("https://fonts.googleapis.com/css?family=Nunito:400,600,700,800");
@import url("https://fonts.googleapis.com/css?family=Open+Sans");
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent; }

body {
  line-height: 1; }

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

nav ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent; }

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none; }

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold; }

del {
  text-decoration: line-through; }

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0; }

input, select {
  vertical-align: middle; }

/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent; }

body {
  line-height: 1; }

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

nav ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent; }

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none; }

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold; }

del {
  text-decoration: line-through; }

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0; }

input, select {
  vertical-align: middle; }

body {
  font-family: 'Open Sans', sans-serif;
  background: none transparent; }

h1, h2, h3, h4, h5, h6, em, b {
  font-family: 'Nunito', sans-serif;
  font-weight: 800; }

#stage {
  max-width: 960px;
  max-height: 550px; }

main {
  width: 100%;
  height: 100%; }

.feedback-panel {
  width: 40%;
  left: 30%;
  top: 20%;
  margin: 1em auto;
  height: 180px;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  position: absolute;
  z-index: 99; }
  .feedback-panel h1 {
    margin: 20px;
    background-color: #15A477;
    font-size: 5em;
    line-height: 1.4em;
    text-align: center;
    height: 70%;
    border-radius: 5px; }
    .feedback-panel h1.wrong {
      background-color: #A4152E; }

.intro-modal-panel {
  width: 40%;
  left: 30%;
  top: 20%;
  margin: 1em auto;
  height: auto;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  position: absolute;
  z-index: 99; }
  .intro-modal-panel h1 {
    margin: 20px;
    background-color: #0DA4C3;
    font-size: 1.5em;
    line-height: 1.4em;
    text-align: center;
    padding: 10px;
    height: auto;
    border-radius: 5px; }
    .intro-modal-panel h1.wrong {
      background-color: #A4152E; }
  .intro-modal-panel .button {
    font-size: 2em;
    margin: 0px auto 20px auto;
    display: block; }

.menu {
  width: 80%;
  margin: 1em auto;
  height: 200px; }
  .menu-title {
    font-size: 3em;
    text-align: center;
    clear: both; }
  .menu-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
  .menu-option {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    /* Rectangle 5: */
    background: #FFFFFF;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
            box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: block;
    text-align: center;
    height: 0px;
    padding-top: 35%;
    position: relative;
    cursor: pointer;
    margin: 1em;
    color: #FFFFFF; }
    .menu-option-frame {
      background: #15A477;
      border-radius: 8px;
      margin: 5%;
      position: absolute;
      top: 0;
      width: 90%;
      height: 84%; }
    .menu-option h2 {
      font-size: 1.5em;
      padding: .5em; }
    .menu-option p {
      font-size: 1em;
      padding: 1em; }

#enter-fs {
  position: absolute;
  top: 60%;
  left: 43.5%;
  margin: -40px 0 0 -100px;
  width: 250px;
  height: 80px;
  font-size: 28px;
  background-color: #66ac03;
  color: #fff;
  line-height: 80px;
  text-align: center;
  border-radius: 30px;
  border: none;
  z-index: 9999;
  border: 10px solid #fff;
  display: none; }
  @media screen and (max-height: 500px) {
    #enter-fs {
      display: block; } }

#exit-fs {
  position: absolute;
  bottom: 1%;
  right: 1%;
  margin: -40px 0 0 -100px;
  width: 150px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.53);
  color: #fff;
  line-height: 40px;
  text-align: center;
  border-radius: 30px;
  border: none;
  z-index: 9999;
  display: none; }

#stage {
  width: 960px;
  height: 550px;
  background-color: #419AD8; }
  #stage main {
    overflow: hidden; }
  #stage.fullscreen #enter-fs {
    display: none; }
  #stage.fullscreen #exit-fs {
    display: block; }

.button {
  padding: .2em .4em .2em .4em;
  text-align: center;
  display: inline-block;
  width: 100px;
  border-radius: 16.66667px;
  border-radius: 15px;
  margin: .5em auto;
  color: #fff;
  background: #03223F;
  font-family: 'Nunito';
  font-weight: 900;
  -webkit-box-shadow: 0 3px 0 2px #FFFFFF;
          box-shadow: 0 3px 0 2px #FFFFFF;
  cursor: pointer; }
  .button:hover {
    background-color: #073764;
    -webkit-box-shadow: 0 5px 0 2px #FFFFFF;
            box-shadow: 0 5px 0 2px #FFFFFF; }

.intro {
  width: 960px;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  top: 0px;
  left: 0px;
  overflow: hidden; }
  .intro object {
    position: absolute;
    z-index: 1; }
  .intro-panel {
    width: 610px;
    padding: 20px;
    margin: 20px auto;
    color: #fff;
    position: relative;
    z-index: 2; }
    .intro-panel h1, .intro-panel p {
      text-align: center;
      padding: 10px;
      font-size: 2em; }
    .intro-panel img.leader {
      display: block;
      margin: auto; }
    .intro-panel p {
      width: 50%;
      line-height: 1.2;
      margin: auto; }
    .intro-panel h1 {
      font-size: 4em; }
  .intro-modal-panel.active {
    display: block; }

.demo-panel {
  width: 610px;
  padding: 20px;
  margin: 20px auto;
  color: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  top: 0px;
  left: 0px;
  overflow: hidden;
  background-image: url("../assets/images/house.svg"); }
  .demo-panel h1, .demo-panel p {
    text-align: center;
    padding: 10px;
    font-size: 2em; }
  .demo-panel img.leader {
    display: block;
    margin: auto; }
  .demo-panel p {
    width: 50%;
    line-height: 1.2;
    margin: auto; }
  .demo-panel h1 {
    font-size: 4em; }

.demo-modal-panel {
  display: none; }
  .demo-modal-panel.active {
    display: block; }

.clipboard {
  background-image: url("../assets/interface/clip-board.svg");
  pointer-events: none;
  background-size: cover;
  width: 280px;
  height: 400px;
  right: 20px;
  top: 50px;
  -webkit-transform: rotate(3deg);
          transform: rotate(3deg);
  z-index: 2;
  position: absolute; }
  .clipboard ul {
    margin: 30% 9% 0 11%;
    color: #000;
    list-style: none; }
    .clipboard ul li {
      margin: 3% 0 0% 0;
      font-size: 1em;
      line-height: 1.1em;
      font-family: 'Nunito';
      position: relative;
      padding-left: 22px;
      border-bottom: 1px solid #dddbdb;
      padding-bottom: 3px;
      color: #aaaaaa; }
      .clipboard ul li.current {
        color: #000; }
      .clipboard ul li.complete {
        color: #000;
        text-decoration: line-through; }
        .clipboard ul li.complete:before {
          content: " ";
          display: block;
          position: absolute;
          width: 28px;
          height: 28px;
          left: -8px;
          top: -7px;
          background-image: url("../assets/images/green-tick.png"); }

.brush {
  background-color: #fff;
  border-radius: 10px;
  color: #fff;
  float: left;
  width: 50px;
  height: 50px;
  line-height: 40px;
  text-align: center;
  z-index: 2;
  padding: 5px;
  font-size: .5em;
  margin: 5px 10px 5px 10px; }
  .brush object {
    pointer-events: none;
    border: none; }
  .brush[data-type="colour"] {
    position: relative; }
    .brush[data-type="colour"]:before {
      content: " ";
      display: block;
      position: absolute;
      width: 49%;
      height: 49%;
      top: 10%;
      left: 10%;
      -webkit-transform: rotate(45deg);
              transform: rotate(45deg); }
    .brush[data-type="colour"]:after {
      content: " ";
      display: block;
      position: absolute;
      top: 0%;
      left: 0%;
      width: 100%;
      height: 100%;
      background-image: url("../assets/interface/paint-brush.svg");
      background-size: contain; }
  .brush[data-color="paint_black"]:before {
    background-color: #2C1C10; }
  .brush[data-color="paint_brown"]:before {
    background-color: #B97329; }
  .brush[data-color="paint_yellow"]:before {
    background-color: #FFE029; }
  .brush[data-color="paint_red"]:before {
    background-color: #EA4E18; }
  .brush[data-color="paint_green"]:before {
    background-color: #409444; }
  .brush.invisible {
    pointer-events: none;
    position: absolute;
    background-color: transparent; }
  .brush.dragging {
    position: absolute !important;
    border: 5px solid red;
    margin: 0; }

.game {
  position: relative;
  height: 550px;
  width: 100%;
  color: #fff; }
  .game #illustration {
    z-index: 1;
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none; }
  .game .tool-bar {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3; }
    .game .tool-bar .brush {
      overflow: hidden; }
      .game .tool-bar .brush object {
        pointer-events: none; }
  .game .feedback-panel {
    position: absolute;
    width: 50%;
    top: 40%;
    left: 25%;
    z-index: 99;
    text-align: center; }
    .game .feedback-panel h1 {
      font-size: 9em; }
  .game .cards {
    list-style: none; }
    .game .cards .card {
      width: 90px;
      height: 120px;
      float: left;
      margin: 20px;
      border: 1px solid black;
      border-radius: 10px;
      position: relative;
      -webkit-perspective: 200px;
              perspective: 200px; }
      .game .cards .card .back, .game .cards .card .front {
        -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
        -webkit-transition: -webkit-transform 600ms ease-in-out;
        transition: -webkit-transform 600ms ease-in-out;
        transition: transform 600ms ease-in-out;
        transition: transform 600ms ease-in-out, -webkit-transform 600ms ease-in-out;
        display: table; }
        .game .cards .card .back img, .game .cards .card .front img {
          width: 100%; }
      .game .cards .card .back {
        text-align: center;
        height: 100%;
        background-color: #d2fdaa;
        -webkit-transform: rotateX(180deg);
                transform: rotateX(180deg);
        -webkit-transition: -webkit-transform 600ms ease-in-out;
        transition: -webkit-transform 600ms ease-in-out;
        transition: transform 600ms ease-in-out;
        transition: transform 600ms ease-in-out, -webkit-transform 600ms ease-in-out;
        width: 100%; }
        .game .cards .card .back p {
          padding: 0 20px 0 20px;
          display: table-cell;
          height: 100%;
          vertical-align: middle; }
      .game .cards .card .front {
        height: 100%;
        width: 100%;
        background-color: #ff6b6b;
        position: absolute;
        -webkit-transform: rotateX(0deg);
                transform: rotateX(0deg); }
      .game .cards .card.flipped .back {
        -webkit-transform: rotateX(0deg);
                transform: rotateX(0deg); }
      .game .cards .card.flipped .front {
        -webkit-transform: rotateX(-180deg);
                transform: rotateX(-180deg); }

.completed {
  z-index: 99;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  display: none; }

.exit-panel {
  width: 520px;
  top: 10%;
  left: 50%;
  margin-left: -260px;
  height: auto;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  position: absolute;
  z-index: 99;
  right: 5%;
  top: 2%;
  bottom: auto;
  z-index: 1; }
  .exit-panel h1 {
    margin: 20px;
    background-color: #0DA4C3;
    font-size: 2em;
    line-height: 1.4em;
    text-align: center;
    height: 70%;
    border-radius: 5px; }
    .exit-panel h1.wrong {
      background-color: #A4152E; }
    .exit-panel h1 span {
      font-size: .7em;
      display: block;
      margin-top: .2em;
      line-height: 1.5;
      margin-bottom: .5em; }
  .exit-panel a {
    padding: .2em .4em .2em .4em;
    text-align: center;
    display: inline-block;
    width: 130px;
    border-radius: 21.66667px;
    border-radius: 15px;
    margin: .5em auto;
    color: #fff;
    background: #03223F;
    font-family: 'Nunito';
    font-weight: 900;
    -webkit-box-shadow: 0 3px 0 2px #FFFFFF;
            box-shadow: 0 3px 0 2px #FFFFFF;
    cursor: pointer;
    margin: .5em auto;
    font-size: 2em;
    display: block; }
    .exit-panel a:hover {
      background-color: #073764;
      -webkit-box-shadow: 0 5px 0 2px #FFFFFF;
              box-shadow: 0 5px 0 2px #FFFFFF; }
  .exit-panel h1 {
    font-size: 3em; }
    .exit-panel h1 span {
      font-size: 0.4em; }
  .exit-panel .next-actions {
    text-align: center; }
    .exit-panel .next-actions a {
      padding: .2em .4em .2em .4em;
      text-align: center;
      display: inline-block;
      width: 145px;
      border-radius: 24.16667px;
      border-radius: 15px;
      margin: .5em auto;
      color: #fff;
      background: #03223F;
      font-family: 'Nunito';
      font-weight: 900;
      -webkit-box-shadow: 0 3px 0 2px #FFFFFF;
              box-shadow: 0 3px 0 2px #FFFFFF;
      cursor: pointer;
      margin: .5em auto;
      padding-top: 0.7em;
      padding-bottom: 0.7em;
      font-size: 1.2em;
      display: inline-block;
      text-decoration: none; }
      .exit-panel .next-actions a:hover {
        background-color: #073764;
        -webkit-box-shadow: 0 5px 0 2px #FFFFFF;
                box-shadow: 0 5px 0 2px #FFFFFF; }
  .exit-panel .fireworks {
    position: absolute;
    z-index: 999;
    background-color: red;
    top: 0px;
    left: 0px;
    pointer-events: none; }
    .exit-panel .fireworks .star {
      position: absolute; }
      .exit-panel .fireworks .star .spark {
        width: 50px;
        height: 50px;
        position: absolute;
        background-repeat: no-repeat;
        background-position: center center;
        -webkit-transition: -webkit-transform 2800ms ease-out;
        transition: -webkit-transform 2800ms ease-out;
        transition: transform 2800ms ease-out;
        transition: transform 2800ms ease-out, -webkit-transform 2800ms ease-out;
        background-size: contain; }
        .exit-panel .fireworks .star .spark.gold {
          background-image: url("../assets/images/apple.png"); }
        .exit-panel .fireworks .star .spark.red {
          background-image: url(../assets/images/marbles.png); }
        .exit-panel .fireworks .star .spark.purple {
          background-image: url(../assets/images/turnip.png); }
        .exit-panel .fireworks .star .spark.lime {
          background-image: url(../assets/images/coin.png); }
        .exit-panel .fireworks .star .spark.blue {
          background-image: url(../assets/images/red-star.png); }
        .exit-panel .fireworks .star .spark.green {
          background-image: url(../assets/images/gold-star.png); }
    .exit-panel .fireworks.explode .star .spark {
      -webkit-transform: translateY(1200px) scale(0.1);
              transform: translateY(1200px) scale(0.1); }

.exit-animation {
  position: absolute;
  top: 90px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none; }
  .exit-animation .arman, .exit-animation .anaya {
    position: absolute;
    -webkit-animation-name: jump;
            animation-name: jump;
    -webkit-animation-duration: 800ms;
            animation-duration: 800ms;
    -webkit-animation-iteration-count: 1500000;
            animation-iteration-count: 1500000;
    width: 250px; }
  .exit-animation .arman {
    left: 20px; }
    .exit-animation .arman svg #right-arm {
      -webkit-animation-name: wave;
              animation-name: wave;
      -webkit-animation-duration: 800ms;
              animation-duration: 800ms;
      -webkit-animation-iteration-count: 1500000;
              animation-iteration-count: 1500000;
      -webkit-transform-origin: left center;
              transform-origin: left center; }
    .exit-animation .arman svg #left-arm {
      -webkit-animation-name: wave;
              animation-name: wave;
      -webkit-animation-duration: 800ms;
              animation-duration: 800ms;
      -webkit-animation-iteration-count: 1500000;
              animation-iteration-count: 1500000;
      -webkit-transform-origin: 50% 55%;
              transform-origin: 50% 55%; }
  .exit-animation .anaya {
    right: 20px; }
    .exit-animation .anaya svg #left-arm-anaya {
      -webkit-animation-name: wave;
              animation-name: wave;
      -webkit-animation-duration: 800ms;
              animation-duration: 800ms;
      -webkit-animation-iteration-count: 1500000;
              animation-iteration-count: 1500000;
      -webkit-transform-origin: right center;
              transform-origin: right center; }
    .exit-animation .anaya svg #right-arm-anaya {
      -webkit-animation-name: wave;
              animation-name: wave;
      -webkit-animation-duration: 800ms;
              animation-duration: 800ms;
      -webkit-animation-iteration-count: 1500000;
              animation-iteration-count: 1500000;
      -webkit-transform-origin: 65% 55%;
              transform-origin: 65% 55%; }

@-webkit-keyframes wave {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }
  45% {
    -webkit-transform: rotate(-4deg);
            transform: rotate(-4deg); }
  48% {
    -webkit-transform: rotate(-4.5deg);
            transform: rotate(-4.5deg); }
  100% {
    -webkit-transform: rotate(0);
            transform: rotate(0); } }

@keyframes wave {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }
  45% {
    -webkit-transform: rotate(-4deg);
            transform: rotate(-4deg); }
  48% {
    -webkit-transform: rotate(-4.5deg);
            transform: rotate(-4.5deg); }
  100% {
    -webkit-transform: rotate(0);
            transform: rotate(0); } }

@-webkit-keyframes jump {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0); }
  45% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px); }
  48% {
    -webkit-transform: translateY(-21px);
            transform: translateY(-21px); }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0); } }

@keyframes jump {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0); }
  45% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px); }
  48% {
    -webkit-transform: translateY(-21px);
            transform: translateY(-21px); }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0); } }

.game.complete .completed {
  display: block; }

.game.complete .tool-bar {
  display: none; }

.game.complete .clipboard {
  display: none; }
