@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4&display=swap');

body {
    background-color: #224;
}

h1 {
    font-size: 72px;
    margin-bottom: 10px;
}

.gameBox {
    text-align: center;
    color: white;
    font-family: 'Source Serif 4';
}

.row {
    text-align: center;
    border-radius: 10px;
    border-color: #777;
    width: pa;
}

.data {
    text-align: center;
    display: inline-block;
    background-color: #335;
    height: 64px;
    width: 64px;
    margin-left: 2em;
    padding: 20px;
    border-radius: 10px;
    align-items: center;
    background-repeat: no-repeat;
    background-origin: content-box;
    border: 3px solid #db5;
}

.data img {
    display: inline-block;
    height: 64px;
    width: 64px;
    object-fit: contain;
}

.data p {
    margin: 0;
    font-size: 64px;
    color: #000;
}

.rarity img {
    height: 48px;
    margin-top: 18px;
}

.rarity p {
    font-size: 36px;
    margin-top: 28px;
}

.incorrect {
    background-color: #f66;
}

.correct {
    background-color: #6f6;
}

.lessthan {
    background-image: url("./signs/lessthan.png");
}

.greaterthan {
    background-image: url("./signs/greaterthan.png");
}

.equals {
    background-image: url("./signs/equals.png");
}

#guessLabel {
    font-size: 24px;
}

#guessInput {
    margin-top: 56px;
    font-size: 24px;
    padding: 8px;
    width: 400px;
    border: 3px solid #db5;
    border-radius: 8px;
    background-color: #335;
    color: #fff;
    font-family: 'Source Serif 4';
    font-style: italic;
}

#resetButton {
    margin-top: 24px;
    font-size: 24px;
    padding: 8px;
    width: 100px;
    border: 3px solid #db5;
    border-radius: 8px;
    background-color: #335;
    color: #fff;
    font-family: 'Source Serif 4';
    transition: 0.2s linear;
}

#resetButton:hover {
    text-shadow: 0 0 6px #d00;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

#header {
    text-align: center;
}

#header p {
    display: inline-block;
    width: 110px;
    margin: 1em;
}

#currentRow {
    margin-top: 36px;
}

#currentRow data {
    margin-left: 0px;
}

footer {
    margin-top: 10em;
    bottom: 8px;
    text-align: center;
}

footer p {
    color: #aaa
}
