.central {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto; }

.central__content {
  display: flex;
  min-height: 740px; }

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3); }
  50% {
    opacity: 1; } }

.intro {
  width: 800px;
  height: 740px;
  background: url("../img/egg_big.png") no-repeat center;
  background-size: contain;
  position: relative;
  animation-name: zoomIn;
  animation-duration: 0.8s; }

.intro__asterisk {
  text-align: center;
  font-size: 172px;
  color: #de1f1f;
  cursor: pointer;
  position: relative;
  top: 220px;
  left: 30px; }
  .intro__asterisk:hover {
    color: #df4e4e; }
  .intro__asterisk:active {
    color: #af3636; }

.intro__motto {
  font-size: 18px;
  position: absolute;
  bottom: 0; }

@keyframes bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0); }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0); }
  75% {
    transform: translate3d(-10px, 0, 0); }
  90% {
    transform: translate3d(5px, 0, 0); }
  to {
    transform: translate3d(0, 0, 0); } }

.greeting {
  position: relative;
  width: 780px;
  height: 740px;
  transition: background-image 1s ease-in-out;
  background: url("../img/egg_distort.png") no-repeat center;
  background-size: contain;
  animation-name: bounceInLeft;
  animation-duration: 0.8s; }

.greeting__asterisk {
  font-size: 80px;
  color: #de1f1f;
  text-align: center; }

.greeting__logo {
  text-align: center; }

.greeting__challenge {
  margin: 0 auto;
  text-align: center; }
  .greeting__challenge h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: bold;
    line-height: 30px; }
  .greeting__challenge p {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 34px; }

.greeting__continue {
  position: absolute;
  right: -20px;
  top: 300px;
  cursor: pointer; }

@keyframes bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0); }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0); }
  75% {
    transform: translate3d(0, -10px, 0); }
  90% {
    transform: translate3d(0, 5px, 0); }
  to {
    transform: translate3d(0, 0, 0); } }

.rules {
  padding-top: 100px;
  text-align: center;
  animation-name: bounceInDown;
  animation-duration: 0.8s; }

.rules__title {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: bold;
  line-height: 30px; }

.rules__description {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 34px; }

.rules__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; }

.rules__input {
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  line-height: 30px;
  height: 50px;
  text-align: center;
  border-radius: 5px;
  border: 2px transparent;
  border-style: solid; }
  .rules__input:hover {
    border-color: #e2a0a1; }
  .rules__input:focus {
    border-color: #d74040; }

.rules__button {
  margin-top: 50px;
  width: 90px;
  height: 90px;
  cursor: pointer;
  display: block;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  line-height: 60px;
  color: #ffffff;
  background-color: #df4e4e;
  border-width: 0;
  border-radius: 45px; }
  .rules__button:enabled:hover {
    background-color: #ff6969; }
  .rules__button:active {
    background-color: #af3636; }
  .rules__button:disabled {
    background-color: #c6a5a5; }

.header {
  height: 100px; }

.header__back {
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 20px; }

.social-link {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 2px;
  font-size: 0;
  vertical-align: top;
  text-decoration: none;
  background: transparent url("../img/icons.png") no-repeat center; }
  .social-link--academy {
    width: 120px;
    height: 40px;
    background-position: -108px -10px; }
  .social-link--tw {
    background-position: -59px -59px; }
  .social-link--ins {
    background-position: -10px -59px; }
  .social-link--fb {
    background-position: -59px -10px; }
  .social-link--vk {
    background-position: -10px -10px; }

.footer {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px; }

.footer__made-in {
  display: block;
  margin-top: 5px;
  margin-bottom: 15px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: 12px; }

.footer__link {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: 12px; }
  .footer__link:hover {
    color: #df4e4e; }
  .footer__link:active {
    color: #af3636; }

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0); }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0); } }

.game {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  animation-name: fadeInLeft;
  animation-duration: 0.8s; }

.game__timer {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: bold;
  line-height: 30px;
  font-size: 60px;
  position: absolute;
  margin-top: 0;
  top: 25px;
  left: 50%;
  transform: translateX(-50%); }

.game__lives {
  position: absolute;
  top: 20px;
  right: 0; }

.game__task {
  font-size: 22px;
  line-height: 35px; }

.game__content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between; }

.game__option {
  position: relative;
  border: 10px solid transparent;
  width: 468px;
  height: 458px;
  font-size: 0;
  text-align: center;
  vertical-align: middle; }
  .game__option img {
    object-fit: cover; }

.game__answer input {
  position: absolute;
  left: -99999px; }
  .game__answer input + span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 70px;
    background: rgba(0, 0, 0, 0.5) no-repeat center;
    font-size: 0; }
    .game__answer input + span:hover {
      background-color: #000000; }
  .game__answer input:checked + span {
    background-color: #df4e4e; }

.game__answer {
  position: absolute;
  width: 78px;
  height: 78px;
  bottom: 30px; }
  .game__answer--photo {
    left: 30px; }
    .game__answer--photo input + span {
      background-image: url("../img/photo_big.png"); }
  .game__answer--paint {
    right: 30px; }
    .game__answer--paint input + span {
      background-image: url("../img/paint_big.png"); }

.game__content--wide .game__option {
  width: 705px;
  height: 455px; }

.game__content--wide .game__answer {
  top: 208px; }

.game__content--wide .game__answer--photo {
  left: -100px; }

.game__content--wide .game__answer--paint {
  right: -100px; }

.game__content--triple .game__option {
  cursor: pointer;
  width: 304px;
  height: 455px; }
  .game__content--triple .game__option:hover {
    border-color: #df4e4e; }
  .game__content--triple .game__option:active::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(223, 78, 78, 0.4); }

.stats {
  padding: 0;
  list-style: none;
  font-size: 0;
  display: flex;
  flex-direction: row;
  align-items: center; }

.stats__result {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  width: 30px;
  height: 30px;
  margin: 5px; }
  .stats__result--unknown {
    background: url("../img/unknown.svg") no-repeat center; }
  .stats__result--wrong {
    background: url("../img/wrong.svg") no-repeat center; }
  .stats__result--correct {
    background: url("../img/correct.svg") no-repeat center; }
  .stats__result--slow {
    background: url("../img/turtle.svg") no-repeat center; }
  .stats__result--fast {
    position: relative;
    background: url("../img/correct.svg") no-repeat center; }
    .stats__result--fast::after {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 30px;
      height: 30px;
      background: url("../img/flash.svg") no-repeat center; }
  .stats__result--alive {
    background: url("../img/heart__full.svg") no-repeat center; }

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3); }
  50% {
    opacity: 1; } }

@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1); }
  50% {
    transform: scale3d(1.05, 1.05, 1.05); }
  to {
    transform: scale3d(1, 1, 1); } }

.result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  animation-name: zoomIn;
  animation-duration: 0.8s; }
  .result h1 {
    animation-name: pulse;
    animation-duration: 0.8s;
    animation-iteration-count: infinite; }

.result__table {
  width: 670px;
  margin-bottom: 40px; }
  .result__table td {
    border: 10px solid transparent; }
  .result__table .stats {
    justify-content: flex-end; }

.result__number {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: bold;
  line-height: 30px;
  font-size: 22px; }

.result__extra {
  min-width: 50px;
  text-align: right; }

.result__total {
  min-width: 40px;
  text-align: right;
  text-transform: uppercase; }
  .result__total--final {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: bold;
    line-height: 30px; }

html {
  min-height: 100%;
  margin: 0;
  padding: 0; }

body {
  background: #a8c8c4 linear-gradient(to bottom left, #ccdeeb, #84b39e) no-repeat;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 34px;
  color: #00222d;
  min-height: 100%; }

a {
  color: #00222d; }

.back {
  border: 0;
  background-color: transparent;
  cursor: pointer; }
