@charset "UTF-8";
*, :after, :before {
  box-sizing: border-box;
}

body {
  font: 10px/1.5 JMHC, sans-serif;
  line-height: 1;
  background-color: #f0f7fa;
  color: white;
}

@font-face {
  font-family: "JMHC";
  src: url(16442.otf);
  font-weight: 400;
  font-style: normal;
}
input {
  text-align: center;
  width: 100%;
  height: 100%;
}

html, body {
  width: 100%;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.game {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.levels {
  background: url(images/clouds.png) repeat;
  background-size: contain;
}

.name {
  color: #132f63;
  font-size: 10em;
  left: 50%;
  top: 10%;
  transform: translate(-50%, 0);
  position: absolute;
}

.content, .property {
  width: 100%;
  height: 100%;
}

.start, .blackout {
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.start {
  background: #fff;
  z-index: 9999999999;
}

.blackout {
  opacity: 0.5;
  background: black;
  cursor: pointer;
}

/*Уровни*/
.levelHead {
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  margin: 10px auto;
  width: 100%;
  text-align: center;
  font-size: 4rem;
}

.winsAndAnswers {
  font-size: 1.5rem;
  color: #4f461b;
}

.amountOfStars {
  font-size: 2.5rem;
  font-weight: bold;
}

.levels {
  position: relative;
  padding: 0 1%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  justify-content: center;
}

.levelsNames {
  width: 100%;
}

.mainMenu .levelsNames {
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
}

.level {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2.2rem;
  line-height: 2.2rem;
  background: none;
  margin: 5px auto 30px auto;
  width: 300px;
  height: 80px;
  padding: 10px;
  cursor: pointer;
  color: white;
  -webkit-tap-highlight-color: transparent;
}

.level:hover {
  transform: scale(1.2);
}

/*Игра*/
.topMenu, .bottomMenu {
  width: 100%;
}

.topMenu {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  z-index: 2;
  height: 50px;
  padding: 10px;
  background-color: rgba(59, 100, 154, 0.7);
}

.myScoreCoins, .coins {
  display: flex;
  justify-content: center;
  align-items: center;
}

.coins {
  margin-left: auto;
}

.coin {
  margin-left: 5px;
  width: 45px;
  height: 45px;
}

.pause, .sounds {
  width: 45px;
  height: 45px;
  background-size: 100%;
  cursor: pointer;
}

.pause {
  background: url(images/pause.svg) center center no-repeat;
}

.pause:active, .sounds:active {
  transform: scale(0.97);
}

.sounds {
  margin: 0 10px;
  background: url(images/soungOff.svg) center center no-repeat;
}

.soundsOn {
  background: url(images/soundOn.svg) center center no-repeat;
}

.pauseContainer, .endGame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(59, 100, 154, 0.85);
}

.pauseContainer {
  cursor: pointer;
}

.newRecord {
  margin-bottom: 20px;
}

.myScore {
  margin-bottom: 30px;
}

.endButtons, .clickForContinue, .tip {
  position: absolute;
  left: 50%;
  font-size: 1.9rem;
  text-align: center;
  color: white;
}

.endButtons, .clickForContinue {
  top: 50%;
  transform: translate(-50%, -50%);
}

.tip {
  top: 10%;
  font-size: 1.2rem;
  transform: translateX(-50%);
  width: 300px;
  line-height: 2.5rem;
}

.endButtons {
  line-height: 2.5rem;
  min-width: 80%;
  font-size: 1.7rem;
}

.endButton {
  display: block;
  margin: 20px auto;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.endButton:hover {
  transform: scale(1.14);
}

.container {
  position: relative;
  background: url(images/clouds.png) repeat;
  background-size: contain;
  overflow: hidden;
}

canvas {
  margin: 0 auto;
  display: block;
  border-left: 2px solid black;
  border-right: 2px solid black;
}

/*Правила игры*/
.result {
  padding: 55px 10px 10px 10px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: left;
  font-size: 1rem;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url(images/clouds.png);
  background-size: contain;
  animation: show forwards linear 1.5s;
  z-index: 999999;
  overflow-y: auto;
  line-height: 3rem;
  border: 2px solid #3B649A;
}

h2 {
  text-align: center;
  font-size: 1.7rem;
  color: #eeffff;
}

.exitWindow {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #3B649A;
  padding: 5px 20px;
  cursor: pointer;
  color: white;
  font-size: 1.4rem;
}

.statLi {
  display: flex;
  justify-content: space-between;
}

.lvl1 {
  color: #efa459;
}

.lvl2 {
  color: #d7d7d7;
}

.lvl3 {
  color: #ffd700;
  margin-bottom: 30px;
}

.did {
  text-decoration: line-through black;
}

/*Достижения*/
.achiev {
  display: flex;
  flex-flow: column nowrap;
  font-size: 0.9rem;
}

.achievName {
  font-size: 1.2rem;
}

.none {
  display: none;
}

@media (min-width: 1200px) {
  .result {
    width: 1000px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .levelHead {
    font-size: 5rem;
  }
}

/*# sourceMappingURL=index.css.map */
