@font-face {
  font-family: "bungee";
  src: url("../../data/fonts/Bungee-Regular.ttf") format("truetype");
}
p, h1, h2, h3, h5, h6 {
  font-family: "bungee";
  line-height: 0.79em;
}

body::after {
  position: absolute;
  width: 0;
  height: 0;
  content: url("../../data/ui/hud/button_booster_on.svg") url("../../data/ui/hud/button_booster_off.svg");
  overflow: hidden;
  z-index: -1;
}

.mainMenu h1 {
  position: absolute;
  margin: 0;
  right: 0;
  left: 0;
  top: 12.5%;
  text-align: center;
  color: #07ef00;
  font-size: 4em;
}
.mainMenu ul {
  position: relative;
  text-align: center;
  margin: 0 auto;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 500px;
}
.mainMenu li {
  margin: 35px 0;
  cursor: pointer;
}
.mainMenu li p {
  display: inline-block;
  margin: 0;
}
.mainMenu .play {
  padding: 20px 40px;
  border-image: url("../../data/ui/button_menu.svg");
  border-image-slice: 49% fill;
  border-image-width: 20px;
  border-image-repeat: stretch;
  color: #07ef00;
  font-size: 2.25em;
  border-radius: 30px;
  transform: rotate(0deg);
  transition: all 0.25s ease;
  animation: 2s ease tremb;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.mainMenu .play:hover {
  background-color: rgba(7, 239, 0, 0.2);
  transform: rotate(0deg);
  animation-iteration-count: 0;
}
.mainMenu .play:active {
  filter: brightness(70%);
  font-size: 2em;
}
.mainMenu .fullScreenButton {
  position: absolute;
  top: 4.6%;
  left: 2.6%;
  width: 20px;
  height: 20px;
  background: url("../../data/ui/icon_fullScreen_on.svg") center no-repeat;
  background-size: 100%;
  cursor: pointer;
  transition: all ease 0.05s;
}
.mainMenu .fullScreenButton:hover {
  filter: invert(61%) sepia(93%) saturate(3099%) hue-rotate(78deg) brightness(200%) contrast(122%);
}
.mainMenu .fullScreenButton:active {
  background-size: 90%;
  filter: invert(61%) sepia(93%) saturate(3099%) hue-rotate(78deg) brightness(125%) contrast(122%);
}
.mainMenu .fFLogo {
  position: absolute;
  bottom: 4.6%;
  right: 2.6%;
  height: 60px;
  width: 200px;
  background: url("../../data/ui/logo_firefalcom_white.svg") bottom no-repeat;
  background-size: 100%;
}
.mainMenu .contact {
  position: absolute;
  bottom: 4.6%;
  left: 2.6%;
}
.mainMenu .contact p {
  font-size: 0.9em;
}
@keyframes tremb {
  0% {
    transform: rotate(0deg);
  }
  5% {
    transform: rotate(-3deg);
  }
  10% {
    transform: rotate(3deg);
  }
  15% {
    transform: rotate(0deg);
  }
}

.levelMenu {
  backdrop-filter: brightness(70%);
}
.levelMenu ul {
  padding: 0;
}
.levelMenu h1 {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 3.5em;
  color: #07ef00;
}
.levelMenu .window {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  width: 100%;
  height: 480px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-image: url("../../data/ui/panel/panel_menu.svg");
  border-image-slice: 49% fill;
  border-image-width: 125px;
  border-image-repeat: stretch;
}
.levelMenu .content {
  position: absolute;
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.levelMenu .levelBar.locked {
  pointer-events: none;
  opacity: 0.6;
  filter: brightness(50%);
}
.levelMenu .levelBar {
  position: relative;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  padding: 0 7.5%;
  margin: 5px 0;
  align-items: center;
  border-image: url("../../data/ui/button_menu.svg");
  border-image-slice: 49% fill;
  border-image-width: 15px;
  border-image-repeat: stretch;
  border-radius: 20px;
  transition: background-color ease 0.1s;
  cursor: pointer;
}
.levelMenu .levelBar:hover {
  background-color: rgba(7, 239, 0, 0.2);
}
.levelMenu .levelBar:active {
  filter: brightness(0.8);
}
.levelMenu .levelBar p {
  font-size: 1.2em;
  color: #07ef00;
}
.levelMenu .starsArea {
  position: relative;
  width: 80px;
  height: 30px;
}
.levelMenu .starsArea .stars {
  position: absolute;
  height: 100%;
  width: 100%;
}
.levelMenu .starsArea .stars ul {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.levelMenu .starsArea .stars li {
  width: 27.5%;
  height: 100%;
  background: url("../../data/ui/star-won.png") center no-repeat;
  background-size: 100%;
}
.levelMenu .starsArea .slot {
  position: absolute;
  height: 100%;
  width: 100%;
}
.levelMenu .starsArea .slot ul {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.levelMenu .starsArea .slot li {
  width: 27.5%;
  height: 100%;
  background: url("../../data/ui/star-slot.png") center no-repeat;
  background-size: 100%;
}

.win {
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  /* STARS */
  /* DATA */
  /* BUTTONS */
}
.win h1 {
  color: #07ef00;
  font-size: 4.5em;
  top: 7%;
  animation: 0.6s ease transFromTop;
  animation-delay: 0.1s;
  animation-fill-mode: forwards;
  transform: translateY(-1.5em);
}
.win h1, .win .window, .win .levelNumber, .win .blocTitle, .win .starsArea, .win .gameData, .win .buttons, .win .buttons p {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.win .window {
  width: 400px;
  height: 410px;
  transform: translateY(-50%);
  top: 25%;
  border-image: url("../../data/ui/panel/panel_01.svg");
  border-image-slice: 49% fill;
  border-image-width: 250px;
  border-image-repeat: stretch;
  animation: 0.6s ease scaleOp;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
  opacity: 0;
}
.win .levelNumber {
  display: block;
  position: absolute;
  margin: 0;
  color: #05a700;
  font-size: 1.5em;
  transform: translate(-50%, -50%);
  top: 6%;
  left: 50%;
}
.win .blocTitle {
  margin: 0;
  top: 20%;
  font-size: 1.8em;
  color: #07ef00;
}
.win .starsArea {
  height: 90px;
  width: 100%;
  top: 32.5%;
}
.win .star, .win .starSlot {
  position: absolute;
  width: 100%;
}
.win .star ul, .win .starSlot ul {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0;
  padding: 0 60px;
}
.win .star li, .win .starSlot li {
  width: 75px;
  height: 75px;
}
.win .star li:nth-child(2), .win .starSlot li:nth-child(2) {
  width: 90px;
  height: 90px;
}
.win .star {
  z-index: 2;
}
.win .star li {
  background: url("../../data/ui/star-won.png") center no-repeat;
  background-size: 100%;
  opacity: 0;
  transition: opacity 0.5s;
}
.win .starSlot {
  z-index: 1;
}
.win .starSlot li {
  background: url("../../data/ui/star-slot.png") center no-repeat;
  background-size: 100%;
}
.win .gameData {
  position: absolute;
  width: 60%;
  bottom: 7%;
}
.win .gameData [class^=line] {
  display: flex;
  justify-content: space-between;
  font-size: 0.85em;
  margin: 10% 0;
}
.win .gameData [class^=line]:last-child {
  margin-top: 18%;
  font-size: 1.5em;
}
.win .gameData p {
  margin: 0;
  letter-spacing: 1px;
}
.win .buttons {
  bottom: 10%;
  animation: 0.6s ease transFromBottom;
  animation-delay: 0.1s;
  animation-fill-mode: forwards;
  transform: translateY(5em);
}
.win .buttons p {
  margin: 0;
  color: #0ad803;
  font-size: 1.25em;
}
.win .buttons ul {
  padding: 0;
  display: flex;
  justify-content: space-between;
  width: 25%;
  margin: 0 auto;
}
.win .buttons li {
  position: relative;
  width: 125px;
  height: 50px;
  border-image: url("../../data/ui/button_off.svg");
  border-image-slice: 35% fill;
  border-image-width: 50px;
  border-image-repeat: stretch;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: all 0.15s ease;
}
.win .buttons li:hover {
  background-color: rgba(7, 239, 0, 0.2);
  transform: scale(1.1);
}
.win .buttons li:active {
  filter: brightness(0.8);
}
.win .buttons li:nth-child(2) {
  width: 65px;
}
.win .buttons .imgLvlProg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../data/ui/icon_levelProgress_off.svg") center no-repeat;
  background-size: 40%;
}
@keyframes scaleOp {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes transFromTop {
  0% {
    transform: translateY(-1.5em);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes transFromBottom {
  0% {
    transform: translateY(5em);
  }
  100% {
    transform: translateY(0);
  }
}

.hud {
  pointer-events: none;
  cursor: url("../../data/ui/cursor_target.png") 16 16, auto;
}
.hud p {
  margin: 0;
  font-family: "bungee";
}
.hud .hudInfo {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  pointer-events: auto;
}
.hud .top {
  width: calc(100% - 2 * 2.6%);
  margin: 2.6%;
  position: relative;
}
.hud .top [class^=infoBloc] {
  position: absolute;
  max-width: 300px;
}
.hud .top .infoBloc-1 {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  height: 27px;
  width: 150px;
}
.hud .top .infoBloc-1 .life, .hud .top .infoBloc-1 .timer {
  width: 50%;
}
.hud .top .infoBloc-1 .life {
  position: relative;
  display: flex;
  align-items: center;
}
.hud .top .infoBloc-1 .life .imgLife {
  background: url("../../data/ui/hud/icon_life.svg") center no-repeat;
  width: 12.17px;
  height: 37px;
}
.hud .top .infoBloc-1 .life p {
  position: absolute;
  left: 25px;
  color: #07ef00;
  font-size: 0.95em;
}
.hud .top .infoBloc-1 .timer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hud .top .infoBloc-1 .timer .imgTimer {
  background: url("../../data/ui/hud/icon_timer.svg") center no-repeat;
  width: 20px;
  height: 20px;
}
.hud .top .infoBloc-1 .timer p {
  position: absolute;
  left: 30px;
  color: #07ef00;
  font-size: 0.95em;
}
.hud .top .infoBloc-2 {
  left: 0;
  right: 0;
  margin: calc(-2.6% - 0.2%) auto 0 auto;
  text-align: center;
}
.hud .top .infoBloc-2 .levelNumber {
  transform: translateY(-15px);
}
.hud .top .infoBloc-2 .levelNumber .imgLevelNumber {
  border-image: url("../../data/ui/button_off.svg");
  border-image-slice: 35% fill;
  border-image-width: 50px;
  border-image-repeat: stretch;
  width: 60px;
  height: 50px;
  margin: 0 auto;
}
.hud .top .infoBloc-2 .levelNumber p {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #07ef00;
  font-size: 1.2em;
}
.hud .bottom {
  position: absolute;
  bottom: 0;
  margin: 2.6%;
  width: 100%;
}
.hud .bottom .infoBloc-1 .buttonBooster {
  position: relative;
  width: 100px;
  height: 100px;
}
.hud .bottom .infoBloc-1 .imgButtonBoosterOff {
  position: absolute;
  background: url("../../data/ui/hud/button_booster_off.svg") center no-repeat;
  width: 100px;
  height: 100px;
  visibility: visible;
  cursor: pointer;
}
.hud .bottom .infoBloc-1 .imgButtonBoosterOn {
  position: absolute;
  background: url("../../data/ui/hud/button_booster_on.svg") center no-repeat;
  width: 100px;
  height: 100px;
  visibility: hidden;
  cursor: pointer;
}
.hud .bottom .infoBloc-3 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 128px;
}
.hud .bottom .infoBloc-3 .buttonPause {
  pointer-events: auto;
  padding: 0 0 15px 15px;
  display: flex;
  align-items: center;
  transition: all 0.15s ease;
  cursor: pointer;
}
.hud .bottom .infoBloc-3 .buttonPause:hover {
  transform: scale(1.2);
}
.hud .bottom .infoBloc-3 .buttonPause:active {
  transform: scale(1);
  filter: brightness(75%);
}
.hud .bottom .infoBloc-3 .buttonPause .imgButtonPause {
  background: url("../../data/ui/hud/button_pause.svg") center no-repeat;
  width: 19px;
  height: 20px;
}
.hud .gameOver {
  pointer-events: none;
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}
.hud .gameOver .backgroundFilter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: brightness(80%) grayscale(40%);
  animation: 2s ease opacityIn;
  animation-fill-mode: forwards;
  opacity: 0;
}
.hud .gameOver h1 {
  position: absolute;
  width: 90%;
  top: 35%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  color: #07ef00;
  font-size: 5em;
  z-index: 4;
  animation: 1.5s ease scaleOpInOut;
  animation-delay: 0.25s;
  animation-fill-mode: forwards;
  opacity: 0;
}
.hud .hudInfo {
  z-index: 1;
}
.hud .pauseMenu {
  display: none;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 239, 0, 0.05);
  backdrop-filter: brightness(60%);
  z-index: 2;
}
.hud .pauseMenu .window {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 225px;
  height: 240px;
  margin: 0 auto;
  text-align: center;
  border-image: url("../../data/ui/panel/panel_01.svg");
  border-image-slice: 49% fill;
  border-image-width: 250px;
  border-image-repeat: stretch;
}
.hud .pauseMenu .content {
  position: relative;
  margin: 0;
  height: 100%;
}
.hud .pauseMenu h3 {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  color: #07ef00;
  font-size: 1.6em;
}
.hud .pauseMenu ul {
  position: absolute;
  padding: 0;
  top: 65%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
}
.hud .pauseMenu li {
  margin: 10% 0;
  cursor: pointer;
}
.hud .pauseMenu li p {
  font-size: 0.95em;
  transition: all ease 0.1s;
}
.hud .pauseMenu li p:hover {
  letter-spacing: 1px;
  color: #07ef00;
}
.hud .pauseMenu li p:active {
  color: #06b900;
}
.hud .tutoPanel {
  z-index: 2;
  pointer-events: auto;
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: brightness(60%);
  cursor: default;
}
.hud .tutoPanel .window {
  position: absolute;
  width: 450px;
  height: 480px;
  border-image: url("../../data/ui/panel/panel_menu.svg");
  border-image-slice: 49% fill;
  border-image-width: 250px;
  border-image-repeat: stretch;
}
.hud .tutoPanel h3 {
  position: absolute;
  margin: 0;
  top: 15px;
  left: 0;
  right: 0;
  text-align: center;
  color: #036000;
  font-size: 1.5em;
}
.hud .tutoPanel .content {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 85%;
}
.hud .tutoPanel .content p {
  line-height: 1.1em;
}
.hud .tutoPanel .content .forWin p {
  color: #07ef00;
  text-align: center;
}
.hud .tutoPanel .content .controls {
  width: 100%;
}
.hud .tutoPanel .content .controls ul {
  margin: 15% 0 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}
.hud .tutoPanel .content .controls li {
  position: relative;
  height: 130px;
  width: 32%;
}
.hud .tutoPanel .content .controls li p {
  text-align: center;
  color: #07ef00;
  font-size: 0.85em;
}
.hud .tutoPanel .content .controls .iconImg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
}
.hud .tutoPanel .content .controls ul li:nth-child(1) .iconImg {
  background: url("../../data/ui/tutorial/icon_spacebar.svg") center no-repeat;
  background-size: 65%;
}
.hud .tutoPanel .content .controls ul li:nth-child(2) .iconImg {
  background: url("../../data/ui/tutorial/icon_leftClick.svg") center no-repeat;
}
.hud .tutoPanel .content .controls ul li:nth-child(3) .iconImg {
  background: url("../../data/ui/tutorial/icon_moveMouse.svg") center no-repeat;
}
.hud .tutoPanel .button {
  position: absolute;
  width: 90px;
  height: 50px;
  bottom: 8%;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-image: url("../../data/ui/button_menu.svg");
  border-image-slice: 49% fill;
  border-image-width: 17px;
  border-image-repeat: stretch;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.15s ease;
}
.hud .tutoPanel .button:hover {
  background-color: rgba(7, 239, 0, 0.2);
  transform: scale(1.1);
}
.hud .tutoPanel .button:active {
  filter: brightness(0.8);
  transform: scale(1);
}
.hud .tutoPanel .button p {
  color: #07ef00;
  font-size: 1.35em;
}
@keyframes opacityIn {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes scaleOpInOut {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  25% {
    transform: scale(1);
    opacity: 1;
  }
  75% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.5);
    opacity: 0;
  }
}