|  | body {
  font-family: Sans-Serif;
  user-select: none;
  -moz-user-select: none;
  touch-action: manipulation;
}
body.dark {
  background: #111;
  color: #eee;
}
.hidden {
  display: none !important;
}
button {
  background-color: #444;
  color: #eee;
}
#tasty-micro {
  color: #ddd;
  background-color: #211;
  width: 300px;
  height: 200px;
  position: relative;
  top: 30px;
  margin: auto;
  font-size: 60px;
}
#top-bar {
  font-size: 36px;
  background-color: #322;
  position: absolute;
  width: 100%;
  height: 10%;
  top: 0%;
  left: 0%;
  text-align: center;
  margin: auto;
}
#top-bar > button {
  font-size: 36px;
}
#resources-area {
  position: absolute;
  text-align: center;
  width: 35%;
  left: 0%;
  top: 10%;
  height: 90%;
  margin: auto;
  font-size: 36px;
}
.resource-quantity {
  font-size: 30px;
}
.resource-rate {
  font-size: 18px;
  color: #bbb;
}
#buildings-area {
  position: absolute;
  width: 20%;
  right: 5%;
  top: 10%;
  height: 90%;
  overflow-x: hidden;
  overflow-y: scroll;
}
@media (max-aspect-ratio: 1/1) {
  #buildings-area {
    top: 50%;
    left: 50%;
    width: 50%;
    height: 45%;
  }
}
#building-tooltip {
  position: fixed;
  width: 400px;
  background: #333;
  display: none;
  z-index: 1;
  left: 0px;
  top: 0px;
}
#building-tooltip-name {
  font-size: 24px;
  color: #eee;
  margin: 10px;
  top: 10px;
  left: 10px;
}
#building-tooltip-desc {
  font-size: 18px;
  color: #bbb;
  margin: 10px;
  left: 10px;
}
#building-tooltip-cost {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
}
#building-tooltip-prod {
  font-size: 14px;
  color: #ccc;
  margin: 10px;
}
.building-button {
  position: relative;
  display: block;
  width: 90%;
  height: 75px;
  background-color: #222;
  color: #eee;
  border: 5px;
  border-color: #666;
  border-style: solid;
  user-select: none;
}
.building-button-disabled {
  background-color: #111;
  color: #999;
}
.building-button-name {
  font-size: 24px;
  position: absolute;
  left: 10%;
  top: 15%;
  user-select: none;
  -moz-user-select: none;
}
.building-button-cost {
  font-size: 18px;
  position: absolute;
  left: 10%;
  bottom: 15%;
}
.building-button-cost-invalid {
  color: #f22;
}
.building-button-cost-valid {
  color: #1a1;
}
#buildings-area:hover > #buildings:hover ~ .building-button:not(:hover) {
  opacity: 1;
}
#buildings-area:hover > .building-button:hover {
  opacity: 1;
}
#buildings-area:hover > .building-button:not(:hover) {
  opacity: 0.6;
}
.building-button-disabled:hover {
  background-color: #111 !important;
}
.building-button:active {
  border-color: #333;
  background-color: #111;
}
.building-button-disabled:active {
  background-color: #111 !important;
  border-color: #666 !important;
}
#upgrades-area {
  position: absolute;
  width: 20%;
  right: 35%;
  top: 10%;
}
@media (max-aspect-ratio: 1/1) {
  #upgrades-area {
    position: absolute;
    left: 50%;
    height: 35%;
    width: 50%;
  }
}
.title {
  font-size: 48px;
  height: 10%;
  text-align: center;
}
#upgrades-list {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}
#upgrade-tooltip {
  position: absolute;
  width: 200px;
  background: #333;
  display: none;
  z-index: 1;
  left: 0px;
  top: 0px;
}
#upgrade-tooltip-name {
  font-size: 24px;
  color: #eee;
  margin: 10px;
  top: 50%;
  left: 10px;
}
#upgrade-tooltip-desc {
  font-size: 14px;
  color: #bbb;
  margin: 10px;
}
#upgrade-tooltip-effect {
  font-size: 20px;
  margin: 10px;
}
#upgrade-tooltip-cost {
  margin: 10px;
}
#upgrade-tooltip-prereqs {
  margin: 10px;
}
.cost-met {
  color: #0f0;
}
.cost-unmet {
  color: #f00;
}
.upgrade-button {
  width: 100px;
  height: 100px;
  margin: 10px;
  display: block;
  background-color: #444;
  transition: 0.2s;
}
.upgrade-button:hover {
  transform: scale(1.25, 1.25);
}
@media (max-aspect-ratio: 1/1) {
  .upgrade-button {
    width: 13vw;
    height: 13vw;
  }
}
.upgrade-button-inactive {
  background-color: #222 !important;
  color: #999 !important;
}
.upgrade-button-name {
  pointer-events: none;
  position: relative;
  text-align: center;
  width: 100px;
  height: 100px;
  top: 50%;
  bottom: 50%;
  right: 50%;
  left: 50%;
  margin: -25px -50px;
}
.click-popup-food {
  pointer-events: none;
  transform-origin: -100% 50%;
  text-align: center;
  position: fixed;
  animation: click-popup-food 2s linear;
  animation-fill-mode: both;
  font-size: 36px;
  --target: -200px;
}
.click-popup-gulp {
  pointer-events: none;
  transform-origin: -100% 50%;
  text-align: center;
  position: fixed;
  animation: click-popup-gulp 2s linear;
  animation-fill-mode: both;
  font-size: 36px;
  --target: 200px;
}
.click-popup-upgrade {
  pointer-events: none;
  transform-origin: -50% 50%;
  text-align: center;
  position: fixed;
  animation: click-popup-upgrade 2s linear;
  animation-fill-mode: both;
  font-size: 36px;
  --target: -200px;
}
@keyframes click-popup-food {
  0% {
    transform: translate(0px, 0px) scale(1, 1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--target), -200px) scale(0.5, 0.5);
    opacity: 0;
  }
}
@keyframes click-popup-gulp {
  0% {
    transform: translate(0px, 0px) scale(1, 1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--target), 200px) scale(0.5, 0.5);
    opacity: 0;
  }
}
@keyframes click-popup-upgrade {
  0% {
    transform: translate(0px, 0px) scale(1, 1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--target), 200px) scale(0.5, 0.5);
    opacity: 0;
  }
}
div::-webkit-scrollbar {
  width: 3px;
  height: 2px;
}
div::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
div::-webkit-scrollbar-thumb {
  background: #e1e1e1;
  border: 0px none #ffffff;
  border-radius: 50px;
}
div::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}
div::-webkit-scrollbar-thumb:active {
  background: #000000;
}
div::-webkit-scrollbar-track {
  background: #666666;
  border: 0px none #ffffff;
  border-radius: 50px;
}
div::-webkit-scrollbar-track:hover {
  background: #666666;
}
div::-webkit-scrollbar-track:active {
  background: #333333;
}
div::-webkit-scrollbar-corner {
  background: transparent;
}
 |