@font-face {
  font-family: "CantedFXbold";
  src: url("../fonts/CantedFX Bold.otf") format("opentype");
}
@keyframes hue-rotate {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}
@keyframes fadeInOut {
  0% {
    box-shadow: 0 0 10px hsla(0, 0%, 100%, 0.5);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 234, 0, 0.9);
  }
  100% {
    box-shadow: 0 0 10px hsla(0, 0%, 100%, 0.5);
  }
}
div {
  user-select: none;
}
html,
body {
  height: 100%;
}
body {
  background-color: #31318e;
  animation: background ease-in-out 1s;
  margin: 0;
  position: relative;
  font-family: arial;
  overflow: hidden;
}
#wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
#wrapper.desktop {
  width: 1067px;
  height: 600px;
}
#wrapper .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*filter: hue-rotate(0deg);
        transition: filter ease-in-out 1s;*/
}
#wrapper.intro .bg.animate {
  animation: hue-rotate 40s linear infinite;
}
#wrapper.game #open_settings {
  display: none;
}
#wrapper.game #get_on_play {
  display: none;
}
section {
  position: absolute;
}
section:not(#gameOver) {
  display: none;
}
section.display {
  display: block;
}
.logo {
  margin-top: 10px;
  font-family: "CantedFXbold";
  font-size: min(54px, 11vw);
  margin: 0;
  letter-spacing: 4px;
  text-align: center;
  padding: 1% 0;
  box-sizing: border-box;
}
.logo#logo {
  color: yellow;
  background: linear-gradient(yellow 50%, #ff0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.logo#logoShadow {
  text-shadow: 1px 1px 0 #a85c00, 2px 2px 0 orange, 3px 3px 0 black, 4px 4px 0 black, 5px 5px 0 black, 6px 6px 0 black, 5px 5px 15px black;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  -webkit-text-fill-color: unset;
}
#bar {
  width: 400px;
  height: 30px;
  background-color: grey;
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid black;
}
#bar .bar-fill {
  width: 0;
  height: 100%;
  background-color: red;
  position: relative;
}
#game #colours {
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}
#colours,
.colours {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 600px;
  max-width: 600px;
  flex-wrap: wrap;
  bottom: 14%;
}
#colours div,
.colours div {
  font-size: 20px;
  font-weight: bold;
  font-family: arial;
  display: inline-block;
  padding: 10px;
  width: 70px;
  text-align: center;
  background-color: white;
  border: 3px solid black;
  border-radius: 30px;
  text-transform: capitalize;
  position: relative;
  margin: 0.5%;
  cursor: pointer;
  transition: box-shadow ease-in-out 1s;
}
#colours div.empty,
.colours div.empty {
  display: none;
}
#colours div.fadeInOut,
.colours div.fadeInOut {
  animation-name: fadeInOut;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
#score {
  display: inline-block;
  width: 100%;
  position: absolute;
  text-align: right;
  top: 90px;
  padding: 0 24%;
  box-sizing: border-box;
  font-family: "CantedFXbold";
  color: yellow;
}
#strip {
  width: 100%;
  top: 100px;
  bottom: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
}
#strip #chosenColour {
  font-size: 10vw;
  font-family: arial;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  /*width: 300px;*/
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  color: white;
  max-height: 100%;
}
#strip #chosenColour .bgEnd {
  width: 50px;
  height: 50px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}
section#intro {
  top: 0;
  height: 100%;
  width: 100%;
}
section#intro #strip {
  height: 300px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
section#intro ul.button-group {
  padding: 0;
  margin: 0;
  display: inline-block;
  position: relative;
  text-align: center;
  list-style: none;
  transition: transform 1s linear;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
section#intro ul.button-group li {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}
section#intro ul.button-group li:not(.container):hover {
  transform: scale(1.3);
}
section#intro ul.button-group li.container {
  height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: ease-in-out 250ms height, ease-in-out 250ms margin-top 150ms;
}
section#intro ul.button-group li.container.show {
  height: 40px;
  margin-top: 20px;
}
section#intro ul.button-group li button {
  background-color: #31318e;
  color: white;
  outline: none !important;
  cursor: default;
}
section#intro ul.button-group li:first-of-type {
  margin-bottom: 2vh;
}
section#intro ul.button-group li:last-of-type {
  margin-top: 2vh;
}
section#intro #instructions-box {
  display: inline-block;
  min-width: 300px;
  max-width: 800px;
  height: 100%;
  background-color: white;
  position: relative;
  border-radius: 10px;
  /*left: 50%;
        transform: translateX(-50%);*/
  padding: 10px;
  box-sizing: border-box;
}
section#game {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
section#game .unit {
  display: none;
}
section#gameOver {
  position: absolute;
  top: 0;
  padding: 100px 0;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}
section#gameOver p {
  font-family: "CantedFXbold";
}
section#gameOver #strip {
  bottom: 100px;
}
section#gameOver .list-of-medals {
  padding: 0;
}
section#gameOver .list-of-medals li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
}
section#gameOver .list-of-medals li.unlocked {
  filter: grayscale(1);
}
section#gameOver .list-of-medals li span {
  vertical-align: top;
}
section#gameOver .unit {
  width: 300px;
  height: 250px;
  position: relative;
}
section#scoreSubmit,
section#settings,
section#leaderboard {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
section#scoreSubmit .panel,
section#settings .panel,
section#leaderboard .panel {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  padding: 20px 30px 10px;
  border-radius: 35px;
  pointer-events: all;
  min-width: 225px;
  min-height: 204px;
}
section#scoreSubmit .panel p,
section#settings .panel p,
section#leaderboard .panel p {
  font-size: 20px;
  font-family: 'CantedFXbold';
}
section#scoreSubmit .panel input,
section#settings .panel input,
section#leaderboard .panel input {
  font-size: 20px;
  margin-top: 5px;
}
section#scoreSubmit .panel #submit,
section#settings .panel #submit,
section#leaderboard .panel #submit {
  background-color: #758e31;
  outline: none !important;
  cursor: pointer;
}
section#scoreSubmit .panel #cancel,
section#settings .panel #cancel,
section#leaderboard .panel #cancel {
  background-color: #8e3131;
  position: absolute;
  right: 0;
  top: 0;
  padding: 6px 12px;
  border-radius: 50%;
  margin: -10px;
  outline: none !important;
  cursor: pointer;
}
section#scoreSubmit .panel footer,
section#settings .panel footer,
section#leaderboard .panel footer {
  font-size: 8px;
  position: relative;
  bottom: 0;
  margin-top: 20px;
}
section#scoreSubmit .panel #colours,
section#settings .panel #colours,
section#leaderboard .panel #colours {
  left: auto;
  transform: none;
  position: relative;
}
section#scoreSubmit .panel span,
section#settings .panel span,
section#leaderboard .panel span {
  display: inline-block;
  position: relative;
  pointer-events: all;
  cursor: pointer;
}
section#scoreSubmit .panel span.selected,
section#settings .panel span.selected,
section#leaderboard .panel span.selected {
  font-weight: bold;
}
section#scoreSubmit .panel table,
section#settings .panel table,
section#leaderboard .panel table {
  display: none;
}
section#settings {
  background-color: rgba(255, 255, 255, 0.1);
}
section#settings .panel {
  background-color: #ffd700;
}
section#settings div[data-colour].selected {
  background-color: black;
  color: white;
}
section#scoreSubmit,
section#leaderboard {
  pointer-events: none;
}
section#scoreSubmit .panel,
section#leaderboard .panel {
  background-color: rgba(255, 215, 0, 0.9);
}
section#scoreSubmit .panel #cancel,
section#leaderboard .panel #cancel {
  margin: -20px;
}
section#scoreSubmit table tr td,
section#leaderboard table tr td {
  max-width: 240px;
}
section#scoreSubmit table tr td:first-of-type,
section#leaderboard table tr td:first-of-type {
  min-width: 170px;
}
section#scoreSubmit {
  pointer-events: none;
}
section#scoreSubmit .panel {
  pointer-events: none;
}
section#scoreSubmit button,
section#scoreSubmit input {
  pointer-events: all;
}
section#scoreSubmit div.display {
  display: inline-block;
  vertical-align: middle;
}
section#scoreSubmit a {
  width: 40px;
  height: 40px;
  background-size: 100%;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  pointer-events: all;
}
section#scoreSubmit a#facebook {
  background-image: url("../images/facebook.png");
}
section#scoreSubmit a#twitter {
  background-image: url("../images/twitter.png");
}
section#scoreSubmit a#whatsapp {
  background-image: url("../images/whatsapp.png");
  display: none;
}
section button {
  padding: 10px 20px;
  border: 3px white solid;
  font-family: "CantedFXbold";
  font-size: 30px;
  border-radius: 20px;
  color: white;
  cursor: pointer;
}
section button#play {
  position: relative;
  background-color: yellow;
  color: black;
}
section button#reset {
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  position: absolute;
  bottom: 3%;
  background-color: #31318e;
  color: white;
  outline: none !important;
}
.bottom-buttons {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 10px;
  width: calc(100% - 20px);
  pointer-events: none;
}
.bottom-buttons #toggle_fullscreen {
  width: 40px;
  height: 40px;
  background-image: url("../images/fullscreen.svg");
  background-size: 100%;
  position: relative;
  margin-left: 5px;
  display: inline-block;
  cursor: pointer;
  pointer-events: all;
}
.bottom-buttons #toggle_fullscreen.fullscreen_exit {
  background-image: url("../images/fullscreen_exit.svg");
}
.bottom-buttons #open_settings {
  width: 40px;
  height: 40px;
  background-image: url("../images/settings.svg");
  background-size: 100%;
  position: relative;
  cursor: pointer;
  display: inline-block;
  pointer-events: all;
}
.bottom-buttons a#get_on_play {
  width: 120px;
  height: 40px;
  background-image: url("../images/getOnPlay.png");
  background-size: 110%;
  background-position: center;
  position: relative;
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  margin-left: 5px;
  pointer-events: all;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
#wrapper.gameOver .bottom-buttons {
  margin-bottom: 3%;
}
#wrapper.gameOver .bottom-buttons .float-right {
  padding-bottom: 15px;
  padding-right: 8px;
}
.blur {
  filter: blur(2px);
}
.centre {
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}
.temp {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (orientation: portrait) {
  #strip {
    width: 100%;
  }
  #bar {
    width: 90%;
  }
  #colours {
    width: 100%;
    bottom: 3%;
    max-height: 35%;
    transform-origin: top left;
  }
  #score {
    padding: 0 20px;
  }
}
@media screen and (min-width: 1628px) {
  #strip #chosenColour {
    font-size: 176px;
  }
}
@media screen and (max-width: 816px) {
  .bottom-buttons #toggle_fullscreen {
    display: none;
  }
  #wrapper {
    width: 100%;
    height: 100%;
  }
  #gameOver p.inner {
    text-align: center;
  }
  section#scoreSubmit .panel {
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    text-align: center;
  }
  section#scoreSubmit .panel button {
    font-size: 20px;
    border-radius: 20px;
    color: white;
    position: relative;
    float: none;
    float: none !important;
    margin-bottom: 1vh;
  }
  section#scoreSubmit .panel div.display {
    display: block;
  }
  section#scoreSubmit .panel a#whatsapp {
    display: inline-block;
  }
  section#settings .panel {
    width: 100%;
    box-sizing: border-box;
  }
  section#settings .panel #colours {
    margin: 0 -30px;
    width: calc(100% + 60px);
  }
  section#settings .panel #cancel {
    margin: -10px 0;
  }
  .float-left {
    float: left;
    width: 100%;
    text-align: center;
    margin-bottom: 13%;
  }
}
/*# sourceMappingURL=./main.css.map */