@font-face {
  font-family: "Intro";
  src: url("../fonts/intro_black_regular.woff2") format("woff2"), url("../fonts/intro_black_regular.ttf") format("truetype"), url("../fonts/intro_black_regular.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Intro";
  src: url("../fonts/intro_book_regular.woff2") format("woff2"), url("../fonts/intro_book_regular.ttf") format("truetype"), url("../fonts/intro_book_regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@keyframes buttonEntrance {
  from {
    opacity: 0;
    transform: translate3d(0, 2.4vh, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
:root {
  font-family: "Intro", sans-serif;
  font-weight: 900;
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

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

body * {
  color: white;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  place-items: center;
  height: 100dvh;
  width: 100dvw;
  font-weight: 500;
  overflow: hidden;
  background-size: cover;
}

button, a {
  outline: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-color: #112670;
  font-size: 2vh;
  font-weight: 900;
  padding: 2% 3.5%;
  border-radius: 15px;
  display: flex;
  margin: auto;
  border: 2px solid #1546A6;
}

.gameContainer button.active__font {
  font-size: 3.55vw;
}

button:focus,
button:focus-visible {
  outline: none;
}

.gameContainer button,
.gameContainer a {
  opacity: 0;
  animation: buttonEntrance 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

.alt__button {
  background-color: white;
  color: #112670;
  border-radius: 2000px;
  border: 2px solid #F35962;
  position: absolute;
  top: 44%;
  font-size: 1.35vh;
  padding: 1.5% 3.5%;
}

.gameContainer.active__font .alt__button {
  font-size: 2.4vw;
}

.overall__ranking__button {
  left: 12%;
}

.weekly__ranking__button {
  left: 48.6%;
}

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

.first__button {
  margin-top: 124%;
}

.home-back-button {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #F35962;
  border-radius: 999px;
  background: #fff;
  opacity: 1;
  animation: none;
}

.home-back-button::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-left: 3px solid #112670;
  border-bottom: 3px solid #112670;
  transform: rotate(45deg);
}

.gameContainer {
  position: absolute;
  margin: auto;
  height: 177.777dvw;
  width: 100dvw;
  max-height: 100dvh;
  max-width: 56.25dvh;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.recaptcha-popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 38, 112, 0.64);
}

.recaptcha-popup.is-visible {
  display: flex;
}

.recaptcha-popup *,
.recaptcha-popup {
  box-sizing: border-box;
}

.recaptcha-popup__panel {
  position: relative;
  width: min(94vw, 390px);
  padding: 24px 12px 20px;
  border: 2px solid #F35962;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 38, 112, 0.34);
  text-align: center;
}

.recaptcha-popup__title,
.recaptcha-popup__text {
  color: #112670;
}

.recaptcha-popup__title {
  margin: 0 34px 8px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 900;
}

.recaptcha-popup__text {
  margin: 0 auto 14px;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 400;
}

.recaptcha-popup__widget {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 78px;
  transform-origin: center top;
}

.recaptcha-popup__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 2px solid #1546A6;
  border-radius: 999px;
  background: #112670;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  opacity: 1;
  animation: none;
}

#snakeboard {
  position: absolute;
  top: 44%;
  left: 50%;
  height: 83.3333vw;
  width: 83.3333vw;
  max-height: 46.87vh;
  max-width: 46.87vh;
  transform: translate(-50%, -50%);
  border: 0;
  outline: none;
}

#score {
  position: absolute;
  font-size: 3.7vh;
  top: 18.45%;
  left: 11%;
  color: #112670;
  font-weight: 900;
  white-space: nowrap;
  line-height: 0.7;
  transform: translateY(-50%);
}

#score.active__font {
  font-size: 6.65vw;
}

#timer {
  position: absolute;
  font-size: 3.7vh;
  top: 18.45%;
  left: 68%;
  color: #112670;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-50%);
  transform-origin: left center;
}

#timer.active__font {
  font-size: 6.65vw;
}

#lives {
  position: absolute;
  top: 18.1%;
  left: 49.6%;
  width: 18.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.lifeIcon {
  width: 23%;
  opacity: 0;
  transition: opacity 160ms ease;
}

.lifeIcon--active {
  opacity: 1;
}

.controlBttn {
  background-color: transparent;
  cursor: pointer;
  position: absolute;
  width: 15.1%;
  height: 8.6%;
  top: 70.3%;
  border-radius: 200px;
  border: 0;
}

#bottomBttn {
  left: 33.3%;
}

#topBttn {
  left: 15.7%;
}

#leftBttn {
  left: 51.5%;
}

#rightBttn {
  left: 69.1%;
}

form textarea, form input {
  position: absolute;
  resize: none;
  margin: 0;
  outline: none;
  border: 0;
  color: white;
  font-family: "Intro", sans-serif;
  font-size: 1.7vh;
  background-color: white;
  font-weight: 400;
}
form textarea.active__font,
form input.active__font {
  font-size: 3.02vw;
}
form textarea {
  width: 88.8%;
  height: 11.9%;
  top: 41.6%;
  left: 1.6%;
  padding: 3.6%;
  border-radius: 30px;
  border: 2px solid white;
}
form input {
  height: 3.6%;
  width: 69%;
  left: 14.5%;
  padding-left: 1.5%;
  color: #112670;
}
form textarea::-moz-placeholder, form input::-moz-placeholder {
  color: #777;
}
form textarea::placeholder, form input::placeholder {
  color: #777;
}
form #email {
  top: 56.7%;
}
form #nickname {
  top: 63.8%;
}
form #code {
  top: 49.7%;
  width: 35%;
}
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 !important;
  background: url(../img/checkbox.png) no-repeat;
  height: 2.6%;
  width: 45.4%;
  top: 66.4%;
  background-size: contain !important;
}
form .rules_checkbox + .rules_label {
  left: 3.3%;
}
form .privacy_checkbox + .privacy_label {
  left: 50.4%;
}
form input[type=checkbox]:checked + label {
  background: url(../img/checkbox_ok.png) no-repeat !important;
  background-size: contain !important;
}
form .checkbox_error {
  background: url(../img/checkbox_bad.png) no-repeat !important;
  background-size: contain !important;
}
form .send-button {
  margin-top: 124%;
}

.form-error {
  position: absolute;
  top: 68.5%;
  left: 8%;
  width: 84%;
  color: #ff0033;
  font-size: 1.15vh;
  line-height: 1.2;
  text-align: center;
  font-weight: 900;
}

.gameContainer.active__font .form-error {
  font-size: 2vw;
}

.points {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24.7%;
  position: absolute;
  font-size: 1.8vh;
  top: 34%;
  left: 63.4%;
  color: #112670;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-50%);
  transform-origin: center;
}

.points.active__font {
  font-size: 3.2vw;
}

.ranking-panel {
  position: absolute;
  top: 22%;
  left: 9%;
  width: 82%;
  max-height: 56%;
  overflow: hidden;
  color: #112670;
  font-size: 1.15vh;
  font-weight: 900;
}

.gameContainer.active__font .ranking-panel {
  font-size: 2vw;
}

.ranking-title {
  color: #112670;
  text-align: center;
  margin-bottom: 2.5%;
  font-size: 1.45em;
}

.ranking-row {
  display: grid;
  grid-template-columns: 12% 1fr 18% 22%;
  gap: 2%;
  align-items: center;
  min-height: 1.55em;
  padding: 0.35em 0;
  border-bottom: 1px solid rgba(17, 38, 112, 0.18);
}

.ranking-row,
.ranking-row span,
.ranking-title,
.ranking-panel--message {
  color: #112670;
}

.ranking-row--head {
  color: #f35962;
}

.ranking-row--head span {
  color: #f35962;
}

.ranking-row--empty,
.ranking-panel--message {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8vh;
  text-align: center;
}

.ranking-back__button {
  top: 82%;
  left: 39%;
}

#score,
#timer,
.points,
.ranking-panel,
.alt__button,
button,
input,
textarea {
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .gameContainer button,
  .gameContainer a,
  .gameContainer .send-button {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
@media (max-width: 340px) {
  .recaptcha-popup__widget {
    height: 70px;
    transform: scale(0.88);
  }
}/*# sourceMappingURL=style.css.map */