* {
  box-sizing: border-box;

  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: #080808;
  color: white;
}


/* MAIN */

#app {
  width: 100%;
  height: 100dvh;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 25px;

  transition: 0.3s;
}


/* AYUMIIZZ BRAND */

.brand {
  position: fixed;

  top: 18px;
  left: 50%;

  transform: translateX(-50%);

  font-size: 13px;
  font-weight: 900;

  letter-spacing: 5px;

  color: #777;

  z-index: 5;
}


/* TAP COUNTER */

#count {
  position: fixed;

  top: 18px;
  right: 18px;

  color: #555;

  font-size: 13px;

  z-index: 5;
}


/* WARNING */

.warning {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  padding: 15px;

  background: #ff1744;

  text-align: center;

  font-size: 13px;
  font-weight: 900;

  transform: translateY(-100%);

  transition: 0.3s;

  z-index: 100;
}

.warning.show {
  transform: translateY(0);
}


/* EMOJI */

.emoji {
  font-size: 82px;

  margin-bottom: 20px;

  transition: 0.3s;
}


/* TEXT */

h1 {
  font-size: 32px;

  line-height: 1.15;

  margin: 0 0 12px;
}

p {
  max-width: 340px;

  color: #999;

  font-size: 17px;

  line-height: 1.5;

  margin: 0;
}


/* BUTTON */

button {
  border: none;

  border-radius: 22px;

  padding: 20px 35px;

  margin-top: 28px;

  background: white;

  color: black;

  font-size: 18px;

  font-weight: 900;

  box-shadow:
    0 10px 35px rgba(255,255,255,0.12);

  transition: 0.2s;

  touch-action: manipulation;
}

button:active {
  transform: scale(0.9);
}


/* SHAKE */

.shake {
  animation: shake 0.3s;
}

@keyframes shake {

  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-12px);
  }

  40% {
    transform: translateX(12px);
  }

  60% {
    transform: translateX(-12px);
  }

  80% {
    transform: translateX(12px);
  }

  100% {
    transform: translateX(0);
  }

}


/* FLASH */

.flash {
  animation: flash 0.15s 3;
}

@keyframes flash {

  50% {
    background: #ff1744;
  }

}


/* FAKE UPDATE */

.fake-update {
  position: fixed;

  inset: 0;

  background: #111;

  display: none;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 30px;

  z-index: 20;
}

.update-logo {
  font-size: 14px;

  font-weight: 900;

  letter-spacing: 6px;

  color: #777;

  margin-bottom: 25px;
}

.fake-update h2 {
  font-size: 26px;

  margin: 0 0 10px;
}


/* PROGRESS BAR */

.progress {
  width: 90%;

  max-width: 350px;

  height: 12px;

  background: #333;

  border-radius: 20px;

  overflow: hidden;

  margin-top: 25px;
}

.progress-bar {
  width: 0%;

  height: 100%;

  background: white;

  transition: width 0.7s;
}


/* FINAL SCREEN */

.final {
  position: fixed;

  inset: 0;

  background: #050505;

  display: none;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 30px;

  z-index: 50;
}

.final-logo {
  font-size: 14px;

  font-weight: 900;

  letter-spacing: 6px;

  color: #555;

  margin-bottom: 30px;
}

.final-emoji {
  font-size: 80px;
}

.final h2 {
  font-size: 48px;

  margin: 10px 0;
}

.final button {
  background: white;
}


/* SMALL PHONES */

@media (max-width: 380px) {

  h1 {
    font-size: 28px;
  }

  .emoji {
    font-size: 65px;
  }

  button {
    padding: 18px 28px;

    font-size: 16px;
  }

}
