@font-face {
  font-family: "Pan-text";
  src: url("../fonts/pantextbold.otf") format("opentype");
  src: url("../fonts/pantextbold.ttf") format("truetype");
  src: url("../fonts/pantextbold.woff2") format("woff2");
  font-weight: bold;
}
@font-face {
  font-family: "Pan-text";
  src: url("../fonts/pantextlight.otf") format("opentype");
  src: url("../fonts/pantextlight.ttf") format("truetype");
  src: url("../fonts/pantextlight.woff2") format("woff2");
  font-weight: light;
}
@font-face {
  font-family: "Pan-text";
  src: url("../fonts/pantextregular.otf") format("opentype");
  src: url("../fonts/pantextregular.ttf") format("truetype");
  src: url("../fonts/pantextregular.woff2") format("woff2");
  font-weight: 500;
}
:root {
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  --app-height: 100%;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  margin: auto;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: flex;
  place-items: center;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: white;
  color: #282626;
  font-family: Pan-text sans-serif;
}

html,
canvas {
  height: -webkit-fill-available;
  width: -webkit-fill-available;
}

button {
  border: 0;
  background-color: transparent;
  position: absolute;
  border-radius: 12px;
  cursor: pointer;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.loader {
  position: absolute;
  width: 100%;
  height: 100%;
  font-size: 18px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gameContainer,
.overlay {
  position: absolute;
  margin: auto;
  height: 149.68vw;
  width: 100vw;
  max-height: 100vh;
  max-width: 66.8vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.button__start {
  width: 69.1%;
  height: 5.7%;
  left: 15.8%;
  top: 86.6%;
}

.memo-game {
  position: absolute;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  perspective: 1000px;
  width: 67.2%;
  height: 59.8%;
  top: 30.7%;
  justify-content: center;
  left: 16.4%;
}

.memory-card {
  display: flex;
  margin: 2%;
  position: relative;
  transform: scale(1);
  transform-style: preserve-3d;
  transition: transform 0.5s;
  flex-basis: 29.3%;
  cursor: pointer;
}

.memory-card:active {
  transform: scale(0.97);
  transition: transform 0.2s;
}

.memory-card.flip {
  transform: rotateY(180deg);
}

.front-face,
.back-face {
  position: absolute;
  border-radius: 5px;
  background: transparent;
  backface-visibility: hidden;
  width: 100%;
  height: auto;
}

.front-face {
  transform: rotateY(180deg);
}

.timer {
  font-family: Pan-text, sans-serif;
  font-weight: bold;
  position: absolute;
  margin: 0;
  top: 20.9%;
  left: 49%;
  font-size: 2.7vh;
}

.timer.active__font {
  font-size: 4.04vw;
}

form textarea, form input {
  position: absolute;
  background-color: transparent;
  resize: none;
  margin: 0;
  outline: none;
  border: 0;
  color: black;
  font-family: Pan-text, sans-serif;
  font-size: 1.8vh;
  width: 69.1%;
  left: 13.4%;
}
form textarea.active__font,
form input.active__font {
  font-size: 2.7vw;
}
form textarea::-moz-placeholder, form input::-moz-placeholder {
  font-family: Pan-text, sans-serif;
}
form textarea::placeholder, form input::placeholder {
  font-family: Pan-text, sans-serif;
}
form textarea {
  height: 12.1%;
  top: 45.8%;
  padding: 2%;
  background: white;
  border-radius: 10px;
}
form input {
  height: 2.7%;
  padding: 2%;
  background: white;
  border-radius: 10px;
}
form #email {
  top: 69.3%;
}
form .checkbox_error {
  background: url(../img/checkbox_bad.png) center no-repeat !important;
}
form input:-webkit-autofill.show-error,
form input:-webkit-autofill:hover.show-error,
form input:-webkit-autofill:focus.show-error,
form input:-webkit-autofill:active.show-error,
form .show-error {
  background-color: #ff0033;
}
form input[type=checkbox] {
  display: none;
}
form input[type=checkbox] + label {
  cursor: pointer;
  display: inline-block;
  position: absolute;
  padding: 0 0 0 0px;
  background-position: left top !important;
  left: 13.2%;
  background: url(../img/checkbox.png) no-repeat;
  height: 2.6%;
  width: 66.9%;
}
form .rules_checkbox + .rules_label {
  top: 76.2%;
}
form .marketing_checkbox + .marketing_label {
  top: 79.7%;
  height: 4%;
  width: 69.2%;
}
form input[type=checkbox]:checked + label {
  background: url(../img/checkbox_ok.png) center no-repeat;
}
form .send-button {
  cursor: pointer;
  top: 86.6%;
  left: 52.7%;
  width: 34%;
  height: 5.7%;
  padding: 0;
  background-color: transparent;
}

.play__again {
  cursor: pointer;
  top: 86.6%;
  left: 13.3%;
  width: 34%;
  height: 5.7%;
  padding: 0;
  background-color: transparent;
}

.timer__form__text {
  font-family: Pan-text, sans-serif;
  font-weight: bold;
  font-size: 1.9vh;
  color: #383636;
  font-weight: 500;
  display: flex;
  justify-content: center;
  margin-top: 44.3%;
}

.timer__form__text.active__font {
  font-size: 2.83vw;
}

.timer__form {
  padding: 0 3px;
  color: #c81e55;
}

.chars__counter {
  font-family: Pan-text, sans-serif;
  position: absolute;
  top: 43.9%;
  right: 13.3%;
  color: black;
  font-size: 1.5vh;
  z-index: 99;
}

.chars__counter.active__font {
  font-size: 2.25vw;
}

.rules_link {
  position: absolute;
  width: 6.2%;
  top: 76.3%;
  height: 1.1%;
  left: 40.8%;
}/*# sourceMappingURL=style.css.map */