@import url(fonts.css);
html, body {
  margin: 0;
  padding: 0;
  background-color: #fff; }

body {
  font-family: 'Dosis', sans-serif;
  font-size: 12px;
  font-weight: 300;
  text-align: center; }
  body article {
    padding: 10px; }
    body article section h2 {
      font-size: 230%;
      line-height: 110%;
      margin: 0;
      padding: 5px 0 10px 0; }
    body article section h3 {
      color: #009e3f;
      font-size: 180%;
      padding: 0 0 5px 0;
      margin: 0; }
      body article section h3 em {
        font-style: normal; }
    body article section .progress {
      position: relative;
      display: block;
      width: 100%;
      height: 23px;
      background-color: #ccc;
      border-bottom: 1px solid #adadad;
      text-align: right; }
      body article section .progress time {
        display: inline-block;
        width: 100%;
        transition: width 1s;
        -webkit-transition: width 1s;
        height: 23px;
        color: #fff;
        background-color: #009e3f; }
        body article section .progress time.yellow {
          background-color: #ffb900; }
        body article section .progress time.red {
          background-color: #9e0000; }
        body article section .progress time span {
          display: block;
          position: absolute;
          top: 0;
          right: 5px;
          font-size: 140%; }
          body article section .progress time span em {
            font-style: normal; }
    body article section ul {
      list-style: none;
      padding: 0;
      margin: 20px 0 0 -10px; }
      body article section ul li {
        display: inline-block;
        width: 130px;
        height: 130px;
        margin: 0 0 10px 10px;
        border: 5px solid #e3e3e3; }
        body article section ul li a {
          display: table;
          width: 130px;
          height: 130px;
          background-color: #ccc;
          text-decoration: none; }
          body article section ul li a span {
            display: table-cell;
            vertical-align: middle;
            width: 100%;
            background-repeat: no-repeat;
            background-size: 110px auto;
            background-position: center center; }
          body article section ul li a:hover {
            background-color: #666; }
      body article section ul.icon li a strong {
        display: none; }
      body article section ul.photo li a strong {
        display: none; }
      body article section ul.photo li a span {
        background-size: 130px auto; }
      body article section ul.text li a span {
        display: none; }
      body article section ul.text li a strong {
        display: table-cell;
        vertical-align: middle;
        font-weight: 300;
        font-size: 180%;
        color: #000; }
  body .endScreenBackground {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #000;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.8; }
  body .endScreen {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%; }
    body .endScreen .inner {
      display: block;
      background-color: #fff;
      margin: 20px;
      padding: 10px; }
      body .endScreen .inner h2 {
        padding: 0;
        margin: 0;
        font-size: 450%;
        line-height: 120%;
        color: #333; }
        body .endScreen .inner h2 em {
          font-style: normal;
          font-weight: bold; }
        body .endScreen .inner h2.correct {
          color: #007c14; }
        body .endScreen .inner h2.incorrect {
          color: #ac0000; }
      body .endScreen .inner .photo {
        display: block;
        width: 190px;
        height: 190px;
        margin: 10px auto;
        background-size: 190px auto;
        border: 5px solid #11bb0c; }
      body .endScreen .inner h3 {
        padding: 10px 0 10px 0;
        margin: 0;
        color: #009e3f;
        font-size: 240%; }
        body .endScreen .inner h3 em {
          font-style: normal; }
        body .endScreen .inner h3 small {
          display: block;
          color: #666;
          font-size: 70%; }
          body .endScreen .inner h3 small i {
            font-style: normal; }
        body .endScreen .inner h3 strong {
          display: block;
          font-weight: 300;
          font-size: 70%; }
      body .endScreen .inner .stars {
        list-style: none;
        padding: 0;
        margin: 10px 0; }
        body .endScreen .inner .stars li {
          display: inline-block;
          width: 80px;
          height: 80px;
          background: url("../img/StarsSprite.png") no-repeat 0 0;
          background-size: 80px auto; }
          body .endScreen .inner .stars li.active {
            background-position: 0 -97px; }
      body .endScreen .inner .tryAgain {
        font-size: 170%;
        margin: 10px 0 20px 0; }
    body .endScreen.photo .inner h2 {
      font-size: 250%; }
    body .endScreen.photo .inner h3 {
      padding: 0;
      font-size: 200%; }
    body .endScreen.photo .inner .stars {
      zoom: 0.6; }
    body .endScreen.gameover .inner h3 {
      font-size: 320%; }
    body .endScreen.correct .inner h2 {
      color: #009a1d; }
  body .highscore {
    padding: 0;
    margin: 10px 0;
    font-size: 200%;
    line-height: 100%;
    text-transform: uppercase; }
    body .highscore em {
      font-style: normal; }
  body .nextQuestion, body .newGame, body .startGame {
    display: block;
    padding: 15px;
    background-color: #009e3f;
    border-bottom: 1px solid #00752f;
    font-size: 200%;
    color: #fff;
    line-height: 100%;
    text-decoration: none; }
  body .startGame {
    margin: 40px 10px 0 10px; }
  body .hide {
    display: none !important; }
  body .startScreen {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff; }
    body .startScreen h1 {
      display: block;
      height: 175px;
      margin: 40px 0 20px 0;
      padding: 0;
      text-indent: -10000px;
      text-align: left;
      background: url("../img/Logo.png") no-repeat center 0;
      background-size: 220px auto; }
    body .startScreen h2 {
      margin: 0;
      padding: 0;
      color: #999;
      font-size: 180%; }
    body .startScreen .startGame {
      display: none;
      cursor: pointer; }
    body .startScreen .moreGames {
      margin-top: 30px; }

@media only screen and (min-width: 641px) {
  body article {
    padding: 20px; }
    body article section h2 {
      padding: 5px 10px 10px 10px;
      font-size: 450%; }
    body article section h3 {
      font-size: 300%; }
    body article section ul {
      list-style: none;
      padding: 0;
      margin: 40px 0 0 -30px; }
      body article section ul li {
        width: 250px;
        height: 250px;
        margin: 0 0 30px 30px; }
        body article section ul li a {
          width: 250px;
          height: 250px; }
          body article section ul li a span {
            background-size: 250px auto; }
      body article section ul.photo li a span {
        background-size: 250px auto; }
  body .startScreen h1 {
    height: 280px;
    background-size: 350px auto; }
  body .startScreen .startGame {
    margin: 50px auto 0 auto;
    width: 50%;
    font-size: 300%; }
  body .endScreen .inner .photo {
    width: 300px;
    height: 300px;
    background-size: 300px auto; } }
@media only screen and (min-width: 961px) {
  body article section ul li {
    width: 210px;
    height: 210px; }
    body article section ul li a {
      width: 210px;
      height: 210px; }
      body article section ul li a span {
        background-size: 210px auto; }
  body article section ul.photo li a span {
    background-size: 210px auto; } }
