/* Made by Eugene Lysy for lysy.me, 2023 */


.main-container {
    padding: 3.5em auto 0 auto;
}

.geonumbers-container {
    height: calc(85vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em
}

.geonumbers-number {
    font-size: 9em;
    font-weight: bold;
    line-height: 1em;
}

.dim {
    opacity: 0.4;
}

.animate {
    animation: glow 1s infinite;
}

@keyframes glow {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.4;
    }
}

.geonumbers-word {
    font-size: 2em;
    line-height: 1.6em;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .geonumbers-number {
        font-size: 7em;
    }
    .geonumbers-word {
        font-size: 1.4em;
        line-height: 1.1em;
    }
}
@media screen and (max-width: 480px) {
    .geonumbers-number {
        font-size: 5em;
    }
    .geonumbers-word {
        font-size: 1.2em;
        line-height: 1em;
    }
}

.keys {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 400px;
  gap: 1%;
  justify-content: center;
  margin-top: auto;
  margin-bottom: 1em;
}

.key {
  width: 32%;
  height: 3em;
  font-size: 1em;
  line-height: 1em;
  margin-bottom: 1%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.25em;
  background: rgba(32,45,52,0.07);
  cursor: pointer;
  transition: background 0.4s;
}
.key:active {
  background: rgba(32,45,52,0.2);
  transition: background 0s;
}
@media (prefers-color-scheme: dark) {
    .key {
        background: rgba(255,255,255,0.2);
    }
    .key:active {
        background: rgba(255,255,255,0.4);
    }
}

.key__backspace {
  font-size: 1.5em;
  height: 2em;
  background: rgba(255,255,255,0.1);
  font-family: Arial;
}

.key__plusminus {
  background: rgba(255,255,255,0.1);
  cursor: none;
  pointer-events: none;
  opacity: 0%;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}


@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30% { transform: translateX(-3px); }
  20%, 40% { transform: translateX(3px); }
  50%, 70% { transform: translateX(-2px); }
  60%, 80% { transform: translateX(2px); }
}

.shake-animation {
  animation: shake 0.4s;
}
