/*colours*/
/*green: #147B45;*/
/*light green: #1EC482;*/

@import url('https://fonts.googleapis.com/css?family=Roboto');


@font-face {
  font-family: 'superstar';
  src:url('../fonts/Unibet Pro (superstar edit).ttf');
}

html, body {
  padding: 0;
  margin: 0;
  /*overflow-x: hidden;*/
}

body {
  color: white;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

a:link,
a:visited {
  color: #fff;
  text-decoration: none;
}

#cover {
  width: 100%;
  background-color: #2b3137;
  min-height: 100vh;
  transition: .2s background-color ease-out;
}

#intro-cover {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(56, 92, 168, 0.8) 0%, rgba(81, 223, 182, 0.8) 100%), url('../img/intro-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transition: .2s all ease-out;
}

#intro-cover.finish {
  background: rgba(28, 30, 33, 1);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

#intro-cover.quiz {
  background: linear-gradient(135deg, rgba(33, 33, 33, 0.8) 0%, rgba(33, 33, 33, 0.8) 100%), url('../img/intro-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

@media screen and (min-width: 768px) {
  #cover {
    height: 100vh;
  }
}

#audio-button.active {
  fill: #1EC482;
}

#cover.finish {
  background-color: #1C1E21;
}

h1, h2, h3, h4, h5, .info {
  font-family: 'superstar', sans-serif;
}

h1 {
  font-size: 48px;
}

h3 {
  font-size: 30px;
}

.info-num {
  text-align: left;
  top: 0;
  left: 0;
}

.container-fluid {
  margin: 0;
  padding: 0;
}

/*preloader*/
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #147B45; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: calc(50% - 60px);
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#content {
  display: none;
}

#intro {
  /*display: none;*/
}

#quiz {
  display: none;
}

#finish {
  display: none;
}

#logo {
  position: fixed;
  bottom: 35px;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 167px;
}

@media screen and (min-width: 768px) {
  #logo {
    position: fixed;
    bottom: 35px;
    right: 35px;
    left: auto;

  }
}

.page-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

.card {
  width: 100%;
  height: auto;
  display: inline-block;
  max-width: 750px;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
}

.rel-card {
  width: 100%;
  height: 100vh;
  min-height: 875px;
  display: inline-block;
  /*max-width: 750px;*/
  padding: 15px;
  /*box-sizing: border-box;*/
  position: relative;
  padding: 0;
}

#finish-screen {
  height: 100vh;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

#intro .img-container {
  display: inline-block;
  margin: 0 auto;
  padding: 20px 0 40px;
  height: 100px;
  text-align: center;
}

.control, .control:visited {
  width: 235px;
  font-family: 'superstar', sans-serif;
  font-size: 25px;
  text-align: center;
  padding: 15px 0 10px;
  background-color: #2A3137;
  border-radius: 4px;
  border: none;
  margin-bottom: 10px;
}

.control:focus {
  outline: 0;
  -webkit-appearance: none;
}

.control:hover, .control:active {
  color: white;
}
.control-container {
  margin-top: 50px;
}

.tutorial {
  max-width: 345px;
  margin: 0 auto;
  float: left;
}

#tutorial {
  margin-top: 50px;
}

@media screen and (min-width: 768px) {
  .tutorial {
    float: left;
  }

}

.tutorial:first-of-type {
  border-right: 1px solid #fff;
}


#quiz-count {
  list-style-type: none;
  font-family: 'superstar', sans-serif;
  font-size: 20px;
  color: #898D93;
  padding: 0;
}

#quiz-count li {
  display: inline-block;
  margin-right: 8%;
}

#quiz-count li:last-of-type {
  margin-right: 0;
}

@media screen and (min-width: 768px) {
  #quiz-count li {
    margin-right: 10px;
  }
}

.question-num.active {
  color: #00ABF1;
}

.answer-button {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  background-color: #1C1E21;
  transition: .15s all ease-out;
  margin-bottom: 10px;
}

.answer-button.correct-answer {
  background-color: #1EC482;
}

.answer-button.wrong-answer {
  background-color: #FA5454;
}

.answer-button.flip {
  color: rgba(0,0,0,0);
}

.answer-button:hover {
  background-color: #4485CC;
}

.answer-button.active {
  background-color: #4485CC;
}

@media screen and (min-width: 768px) {
  .answer-button {
    margin-bottom: 20px;
  }
}

#next {
  background-color: #898D93;
  color: rgba(255,255,255,0.6);
  transition: .2s all ease-out;
  margin-bottom: 20px;
}

#next.active {
  background-color: #1EC482;
  color: #fff;
}

#restart {
  background-color: #1EC482;
  width: 215px;
  /*padding: 15px 50px 10px;*/
}

#reveal {
  background-color: #1EC482;
  width: 215px;
  /*padding: 15px 50px 10px;*/
}

#facebook {
  background-color: #3C5A99;
  /*margin-bottom: 20px;*/
  width: 215px;
}

#twitter {
  background-color: #00ABF1;
  width: 215px;
}

@media screen and (min-width: 768px) {
  #twitter {
    width: auto;
    padding: 15px 35px 10px;
  }
  #facebook {
    margin-right: 10px;
    width: auto;
    padding: 15px 35px 10px;
  }
  #reveal {
    width: auto;
    padding: 15px 50px 10px;
  }
  #restart {
    margin-right: 10px;
    width: auto;
    padding: 15px 50px 10px;
  }
}

#audio-player {
  padding: 20px 0;
  margin: 0 auto;
  display: inline-block;
  cursor: pointer;
}
#audio-player img {
  width: 100px;
  transform: scale(1);
  transition: .2s all ease-out;
}



#audio-player img:hover {
  transform: scale(1.1);
}

#audio-player.active img {
  transform: scale(1.1) !important;
}

.audio-button-reveal {
  transition: .2s all ease-out;
  transform: scale(1);
}

.audio-button-reveal.active {
  transform: scale(1.1) !important;
}

@media screen and (min-width: 768px) {
  #audio-player {
    width: 135px;
  }
}


.hero-text {
  max-width: 477px;
  margin: 0 auto;
  margin-bottom: 75px;
  line-height: 24px;
}

.tip-container {
  width: 100px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .tip-container {
    width: 200px;
    float: none;
  }
}

.wrong {
  color: #FA5454;
}

.correct {
  color: #1EC482;
}

/*@media screen and (min-width: 768px) {
  .tutorial:first-of-type {
    padding-left: 80px;
  }
  .tutorial:nth-child(2) {
    padding-right: 60px;
    padding-left: 20px;
  }
}*/

#user-img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

#user-answer-score {
  list-style-type: none;
  font-family: 'superstar', sans-serif;
  font-size: 20px;
  /*color: #898D93;*/
  padding: 0;
}

#user-answer-score li {
  display: inline-block;
  margin-right: 10px;
}

#user-answer-score li:last-of-type {
  margin-right: 0;
}

#answer-container {
  max-width: 530px;
  margin: 0 auto;
  float: none;
  padding: 0;
}

#answer-container .col-xs-12 {
  padding: 0;
}

.mobile-logo {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

/*.mobile-logo {
  text-align: center;
}

.mobile-logo img {
  display: inline-block;
  margin: 0 auto;
}*/

.share i {
  margin-right: 10px;
}

#ar {
  display: none;
  padding: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%), url('../img/reveal-bg.jpg');
  background-size: cover;
  background-position: center center;
  margin-top: 50px;
  height: 100vh;
  min-height: 875px;
  /*padding-top: 50px;*/
}

#ar p {
  font-size: 14px;
}

#ar h2 {
  margin-bottom: 0;
  font-size: 22px;
}

#ua h2 {
  padding-right: 15px;
}


.reveal-row {
  margin-bottom: 25px;
  margin-top: 25px;
  height: 50px;
  position: relative;
}

.reveal-row h2 {
  font-size: 30px !important;
}

#ra {
  text-align: right;
  /*padding: 0;*/
}

#ra p {
  position: absolute;
  bottom: -12px;
  right: 0;
}

#ua {
  /*padding: 0;*/
}

.audio-button-reveal {
  width: 20px;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 7px;
}

#reveal-container {
  max-width: 650px;
  margin: 0 auto;
}

@media screen and (min-width: 370px) {
  #ar h2 {
    display: inline;
    white-space: nowrap;
  }

  #ar p {
    display: inline;
  }

  #ua {
    overflow-x: visible;
  }

  #ua p {
    white-space: nowrap;
    position: absolute;
    bottom: -9px;
    left: 30px;
  }

  #ua h2 {
    padding-right: 0px;
  }

  .reveal-row {
    height: 25px;
  }

  #ra p {
    right: 30px;
    bottom: -9px;
  }

  .audio-button-reveal {
    top: 7px;
  }
}

@media screen and (min-width: 768px) {

  #ua p {
    position: relative;
    text-align: center;
  }

  #ra p {
    position: relative;
    text-align: center;
  }

  #ar h2 {
    font-size: 30px;
    text-align: center;
  }

  #ua h2 {
    text-align: center;
    margin-right: -55px;
  }

  #ra h2 {
    margin-left: -55px;
  }

  #ua {
    text-align: center;
  }

  #ra {
    text-align: center;
  }

  .reveal-row {
    text-align: center;
  }

  .leg {
    position: absolute;
    left: 0;
    top: -13px;
  }

  #ar {
    position: relative;
  }

  #reveal-container {
    position: absolute;
    width: 95%;
    max-width: 650px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #finish-screen {
    position: absolute;
    width: 95%;
    height: auto;
    max-width: 650px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #ar p {
    font-size: 16px;
  }

  .audio-button-reveal {
    width: 25px;
  }
}

#totop {
  background-color: #1EC482;
  text-align: center;
}
