@font-face {
  font-family: "Monocraft";
  src: url('../fonts/Monocraft.woff2') format('woff2'), url('../fonts/Monocraft.woff') format('woff'), url("../fonts/Monocraft.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Monocraft';
  src: url('../fonts/Monocraft-Light.woff2') format('woff2'),
  url('../fonts/Monocraft-Light.woff') format('woff'),
  url("../fonts/Monocraft-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

html, body {
  height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: white;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 100%;
  color: black;
  font-family: Monocraft;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.buttons {
  position: absolute;
  bottom: 0;
}

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

.page {
  position: absolute;
  left: 0;
  top: 0;
  transition: left .2s linear, top .2s linear;
}

.field {
  background-repeat: no-repeat;
}

.with-bgr .field {
  background-size: cover;
}

.field-row {
  display: flex;
}

.field-cell {
  width: var(--block-width);
  height: var(--block-height);
  position: relative;
}

.item {
  /*z-index: 2;*/
}

.item:after {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  animation: glow-effect 2s infinite;
}

.item.answered:after {
  animation: none;
}

@keyframes glow-effect {
  50% {
    filter: brightness(.9) hue-rotate(10deg);
    /*filter: brightness(.8) hue-rotate(20deg);*/
  }
}

/*
.with-net .field-cell {
  outline: 1px rgba(0, 0, 255, 0.4) solid;
}


.with-blocks .field-cell {
  background: rgba(255, 0, 0, .5);
}

.with-blocks .field-cell.cell-1 {
  background: rgba(0, 255, 0, .5);
}

.with-blocks .field-cell.cell-2 {
  background: rgba(0, 0, 255, .5);
}

.field-cell.cell-3 {
  background: green;
}
*/

.char {
  width: var(--block-width);
  height: var(--block-height);
  position: absolute;
  transition: left .2s linear, top .2s linear;
  z-index: 1;
}

.char div {
  content: '';
  width: 39px;
  height: 56px;
  position: absolute;
  left: calc((var(--block-width) - 39px)/2);
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.char.look-left div {
}

.inactive-blocker {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  z-index: 11;
}

.inactive-blocker div {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%);
  font-size: 18px;
}

.dialog-blocker {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: calc(868px + 50px);
  max-height: calc(609px + 50px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s linear;
  pointer-events: none;
}

.dialog-blocker.shown {
  opacity: 1;
  pointer-events: all;
}

.dialog {
  position: absolute;
  left: 50%;
  top: -150%;
  transform: translate(-50%, -50%);
  width: 546px;
  padding: 10px 45px 0 46px;
  background-repeat: repeat-y;
  min-height: 100px;
  transition: top 0.5s ease-in-out;
}

.dialog-blocker.shown .dialog {
  left: 50%;
  top: 50%;
}

.dialog:before, .dialog:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
}

.dialog:before {
  height: 27px;
  top: -27px;
}

.dialog:after {
  height: 26px;
  bottom: -26px;
}

.q-a {
  /*font-weight: 300;*/
}


.q-a .q {
  font-size: 20px;
}

.as {
  margin-top: 20px;
}

.as .a {
  margin: 10px 0;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.as .a:hover {
  filter: brightness(.9);
}

.as .a span {
  display: block;
  margin: 20px 0 22px 0;
  padding: 0 20px;
}

.as .a:before, .as .a:after {
  position: absolute;
  left: 0;
  right: 0;
  content: '';
}

.as .a:before {
  height: 20px;
  top: 0;
}

.as .a:after {
  height: 22px;
  bottom: 0;
}

.dialog-content {
  display: none;
  padding-bottom: 10px;
}

.a-r-title {
  text-transform: uppercase;
  font-size: 32px;
  line-height: 61px;
  background-repeat: no-repeat;
  background-position: 0 0;
  padding-left: 76px;
  margin-bottom: 18px;
  display: none;
  background-size: contain;
}

.a-r-text {
  font-size: 20px;
  line-height: 110%;
  font-weight: 300;
}

.button {
  width: 311px;
  height: 64px;
  display: flex;
  font-size: 23px;
  padding-bottom: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button:hover {
  filter: brightness(.9);
}

.dialog .button {
  margin: 25px auto 0 auto;
}

.results-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-transform: uppercase;
  font-size: 22px;
  margin-bottom: 20px;
}

.cup {
  width: 82px;
  height: 75px;
}

.result-count {
  margin-bottom: 12px;
}

.results-text, .result-count {
  font-size: 20px;
  line-height: 120%;
  text-align: center;
}

.summary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--summary-height);
  background: #c9c9c9;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.summary .button {
  transform: scale(.6);
}