@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/pxiKyp0ihIEF2isfFJU.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


#game-container {
  position: relative;

  display: flex;
  align-items: center;
  flex-direction: column;
  flex-grow: 1;
  justify-content: start;

  background-color: gainsboro;
}

#info-card {
  display: flex;
  overflow: hidden;
  align-items: center;
  flex-direction: column;

  margin-top: 36px;
  margin-bottom: 24px;
  padding: 12px;

  border-radius: 8px;
  background-color: rgb(173, 173, 173);
  box-shadow: 0 3px 10px;
}

#image-container {
  display: flex;
  overflow: hidden;
  justify-content: center;

  width: 300px;
  height: 300px;
  margin-bottom: 10px;

  border-radius: 8px;
  background-color: white;
}

#product-image {
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#product-info {
  font-size: 24px;

  width: 300px;
}

#game-stats {
  margin-bottom: 12px;
}

#guesses-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;

  width: 324px;
  height: 275px;
  padding: 3px;

  border-radius: 8px;
  background-color: transparent;
}

.guess-container {
  display: flex;
  overflow: hidden;
  flex: 1;
  flex-direction: row;

  margin-bottom: 5px;

  border-radius: 8px;
  background-color: gray;
  box-shadow: inset 0 0 5px;
}

.guess-value-container {
  font-size: 28px;

  display: flex;
  overflow: hidden;
  align-items: center;
  flex: 2;
  justify-content: center;

  border-radius: 8px;
  background-color: gray;
  box-shadow: inset 0 0 5px;
}

#text-input-container {
  font-size: 28px;

  display: flex;
  overflow: hidden;
  align-items: center;
  flex: 2;
  justify-content: center;

  border: 1px solid black;
  border-radius: 8px;
  background-color: gray;
}

.guess-value-container,
.guess-direction-container {
  animation: flipInX;
  animation-duration: 1s;
}

.guess-direction-container,
#button-container {
  font-size: 28px;
  font-weight: bold;

  display: flex;
  overflow: hidden;
  align-items: center;
  flex: 1;
  justify-content: center;

  margin-left: 5px;

  color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  box-shadow: inset 0 0 5px;
}

.guess-win {
  background-color: rgb(1, 154, 1);
}

.guess-near {
  background-color: rgb(255, 196, 37);
}

.guess-far {
  background-color: rgb(255, 37, 37);
}

#warning-toast {
  position: absolute;
  z-index: 1;
  top: 50px;
  left: 52px;

  font-size: 24px;
  width: 220px;
  padding: 18px;

  color: white;
  border-radius: 8px;
  background-color: rgb(0, 0, 0);
}

#input-label {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;

  height: 40px;
  padding-left: 4px;
  margin-right: 8px;

  border-right: 2px solid black;
  background-color: rgb(173, 173, 173);
}

#guess-input {
  font-family: "VT323", monospace;
  font-size: 24px;

  width: 180px;
  height: 40px;
  padding-left: 16px;

  color: gainsboro;
  border: none;
  border-radius: 0 8px 8px 0;
  background-color: rgb(94, 94, 94);
}

#guess-input::placeholder {
  font-size: 24px;

  color: gainsboro;
}

#guess-button {
  font-family: "VT323", monospace;
  font-size: 24px;

  width: 100%;
  height: 100%;

  color: rgb(227, 42, 54);
  border: none;
  background-color: rgb(173, 173, 173);
}

#guess-button.active:hover {
  cursor: pointer;

  background-color: rgba(0, 96, 169, 0.5);
}

#share-button {
  width: 100%;
  font-size: 28px;

  font-family: "VT323", monospace;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  border: none;
  border-radius: 32px;
  background-color: rgb(227, 42, 54);
}

#share-button:hover {
  background-color: rgba(227, 42, 54, 0.8);
}

.share-icon {
  height: 80%;
  margin-left: 10px;
}

#share-toast {
  position: absolute;
  top: 16px;
  z-index: 1;

  width: 300px;
  padding: 18px;

  font-size: 24px;
  color: white;
  border-radius: 8px;
  background-color: rgb(0, 0, 0);
}
