@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap); /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
footer,
header,
nav,
section {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
figcaption,
figure,
main {
  display: block;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
dfn {
  font-style: italic;
}
mark {
  background-color: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
audio,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
img {
  border-style: none;
}
svg:not(:root) {
  overflow: hidden;
}
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[type='reset'],
[type='submit'],
button,
html [type='button'] {
  -webkit-appearance: button;
}
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  display: inline-block;
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details,
menu {
  display: block;
}
summary {
  display: list-item;
}
canvas {
  display: inline-block;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
@font-face {
  font-family: RotondaC-Bold;
  src: url(../fonts/RotondaC-Bold.woff) format('woff');
  font-weight: 700;
}
@font-face {
  font-family: RotondaC;
  src: url(../fonts/RotondaC.woff) format('woff');
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-size: 16px;
  min-width: 320px;
  position: relative;
  line-height: 1.65;
  font-family: VT323, monospace;
  overflow-x: hidden;
  opacity: 1;
}
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}
.text-center {
  text-align: center;
}
.preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.7254901961);
  z-index: 1001;
}
.preloader__image {
  position: relative;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  text-align: center;
  -webkit-animation: preloader-rotate 2s infinite linear;
  animation: preloader-rotate 2s infinite linear;
}
body {
  font-family: Montserrat, sans-serif;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  background: #000;
  position: relative;
}
.main {
  max-width: 480px;
  background: #243353;
  margin: 0 auto;
}
.main__content {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.logo {
  width: 125px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  margin-top: 28px;
}
.logo img {
  width: 180px;
}
.counter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 260px;
  height: 50px;
  border: 3px solid #4fe2ff;
  border-radius: 8px;
  margin: 40px 0 20px 0;
  font-weight: 700;
  font-size: 30px;
  color: #fff;
}
.counter img {
  width: 30px;
  margin-right: 10px;
}
.game {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
}
.game__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 10px;
  position: relative;
  z-index: 2;
}
.game__img {
  width: 100%;
}
.game__title {
  font-style: normal;
  font-weight: 800;
  font-size: 32px;
  line-height: 39px;
  color: #fff;
  text-align: center;
}
.game__start {
  position: relative;
  width: 95px;
  height: 95px;
  background: #44df00;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 30px;
  font-weight: 700;
  margin-top: 20px;
  color: #262626;
}
.game__start span {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  top: 1px;
  left: 1px;
  width: 93px;
  height: 93px;
  border: 2px solid #202f44;
  border-radius: 50%;
}
.game__boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  margin-top: -20px;
}
.game__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 10%;
  height: 28px;
  color: #fff;
  margin: 1px;
  border: 3px solid #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px 5px 5px 5px;
}
.game__box:nth-child(1) {
  background: #7b48f5;
}
.game__box:nth-child(2) {
  background: #c897ff;
}
.game__box:nth-child(3) {
  background: #f498f8;
}
.game__box:nth-child(4) {
  background: #ff98cd;
}
.game__box:nth-child(5) {
  background: #ffcdf6;
}
.game__box:nth-child(6) {
  background: #ff98cd;
}
.game__box:nth-child(7) {
  background: #f498f8;
}
.game__box:nth-child(8) {
  background: #c897ff;
}
.game__box:nth-child(9) {
  background: #7b48f5;
}
.game__rate {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 90%;
  height: 50px;
  border-radius: 8px;
  background: #202f44;
  margin: 30px 0;
  padding: 0 10px;
}
.game__rate span {
  font-weight: 700;
  font-size: 24px;
  line-height: 55px;
  color: #fff;
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 42, 59, 0.8431372549);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  -o-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 7;
}
.popup__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: rgba(45, 54, 83, 0.9254901961);
  padding: 20px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  border: 3px solid #4fe2ff;
}
.popup__content h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  color: #fff;
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
}
.popup__content h2 span {
  font-weight: 700;
  font-size: 40px;
  color: #ffd600;
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
}
.popup__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  font-family: Montserrat, sans-serif;
  width: 242px;
  height: 61px;
  background: #4fe2ff;
  -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3),
    inset 0 10px 10px rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3),
    inset 0 10px 10px rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  margin-top: 33px;
  color: #262626;
  margin-bottom: 20px;
}
.cards__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.cards__content h2 {
  width: 80%;
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  color: #fff;
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  margin: 0;
}
.cards__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 10px 0;
}
.cards__item {
  width: 280px;
  height: 140px;
  cursor: pointer;
  z-index: 5;
  position: relative;
  margin: 10px;
}
.cards__item img {
  width: 100%;
  height: 100%;
  z-index: 2;
}
.cards__active {
  position: absolute;
}
.cards__used {
  padding: 10px;
}
.cards__bonus-text {
  width: 300px;
  text-align: center;
  color: #ff0;
  font-weight: 700;
  font-size: 4em;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
  text-shadow: 0 1px 0 #ff531f, 0 -1px 0 #ff531f;
  z-index: 1;
}
.cards__bonus-text.visible {
  opacity: 1;
}
.fz-3 {
  font-size: 3em;
}
.space {
  width: 100%;
  height: 15px;
  background: #202f44;
  margin-top: 20px;
}
.pulse {
  -webkit-animation: pulse 0.5s infinite;
  animation: pulse 0.5s infinite;
}
.pulse-min {
  -webkit-animation: pulse-min 0.2s infinite;
  animation: pulse-min 0.2s infinite;
}
.hidden {
  display: none;
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@-webkit-keyframes pulse-min {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes pulse-min {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@media only screen and (max-width: 992px) {
  footer {
    width: 360px;
  }
  .brands img {
    width: 30%;
  }
}
@media only screen and (max-width: 480px) {
  main {
    width: 100%;
    padding: 0 10px;
  }
  .game__bg {
    top: 260px;
  }
  footer {
    position: absolute;
    left: 50%;
    bottom: 0;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}
@media only screen and (max-width: 380px) {
  .game__rate span {
    font-size: 20px;
  }
}
