* {
  user-select: none;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: subpixel-antialiased;
}

html,
body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #0c0e0d;
  display: flex;
  justify-content: center;
  overflow: hidden;
  min-width: 750px;
}

#money-container {
  position: absolute;
  top: 85px;
  width: calc(100vw - 500px);
  min-width: 350px;
  height: calc(100% - 85px);
  display: flex;
  justify-content: center;
  align-items: center;
}

#money {
  width: 43.5vh;
  height: 43.5vh;
  rotate: 0deg;
  animation: _flow 1250ms infinite ease-in-out;
  transition: 75ms ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

#money-rays {
  position: absolute;
  margin-top: 75px;
  width: auto;
  height: 55%;
  animation: rotate 20000ms infinite linear;
  z-index: 0;
}

#money-img {
  width: auto;
  height: 100%;
  position: absolute;
  bottom: 25px;
  /* z-index: 1; */
  transition: 75ms ease-in-out;
}

#money-img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

#money-img:active {
  transform: scale(0.975);
}

@keyframes rotate {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@keyframes _flow {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.popup {
  font-family: Helvetica;
  color: #fff;
  /* font-weight: bolder; */
  font-size: 28px;
  pointer-events: none;
  user-select: none;
}

#logo {
  position: fixed;
  top: -65px;
  left: calc((100vw - 500px) / 2);
  transform: translateX(-50%);
  width: auto;
  height: 250px;
  pointer-events: none;
  user-select: none;
}

#net-worth {
  position: fixed;
  top: 110px;
  text-align: center;
  width: calc(100vw - 500px);
  height: 50px;
  display: flex;
  justify-content: center;
  font-size: 45px;
  color: #fff;
  font-family: Helvetica;
  font-weight: bolder;
  pointer-events: none;
}

#sub-worth {
  position: fixed;
  top: 160px;
  text-align: center;
  width: calc(100vw - 500px);
  height: 50px;
  display: flex;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  opacity: 0.65;
  font-family: Helvetica;
  pointer-events: none;
}

#game {
  width: calc(100vw - 500px);
  height: 100vh;
}

#upgrades {
  width: 500px;
  height: 100vh;
  border-left: 5px solid #030504;
  background-color: #030504;
  z-index: 2;
}

iframe {
  display: none !important;
  opacity: 0 !important;
}

#upgrades-title {
  position: relative;
  top: 37.5px;
  font-size: 30px;
  font-weight: bold;
  font-family: Helvetica;
  color: #fff;
  text-align: center;
}

#upgrades-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.upgrade {
  width: 100%;
  height: 100px;
  box-sizing: border-box;
  padding: 3px;
  border: 3px solid #ffffff66;
  /* position: absolute; */
  overflow: hidden;
  transition: 175ms ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upgrade-master-container {
  width: 100%;
  height: 100%;
  transition: 150ms;
  display: flex;
  align-items: center;
  position: relative;
  border: 1px solid transparent;
}

.upgrade-master-container:hover {
  border: 1px solid white;
  background-color: #0c0609;
  transform: scale(0.9925);
}

.upgrade:hover {
  cursor: pointer;
}

.upgrade-name {
  font-size: 28px;
  font-family: Helvetica;
  color: #fff;
  margin: 0;
  padding: 0;
}

.upgrade-cost {
  font-size: 20px;
  font-family: Helvetica;
  color: #fff;
  opacity: 0.85;
  margin: 0;
  padding: 0;
}

.upgrade-amt {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-size: 36px;
  font-family: Helvetica;
  color: #fff;
  transition: 150ms;
}

.upgrade-master-container:hover > .upgrade-amt {
  opacity: 0;
}

.upgrade-info-container {
  height: 75%;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-overflow: none;
  white-space: nowrap;
  background-color: transparent;
}

.upgrade-desc {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  height: 87.5%;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-family: Helvetica;
  color: #fff;
  margin: 3px 5px;
  text-align: right;
  opacity: 0;
  transition: 250ms;
}

.upgrade-master-container:hover > .upgrade-desc {
  opacity: 0.45;
}

.upgrade-img {
  height: 65%;
  width: auto;
  margin: 10px;
}

#upgrades-wrapper {
  overflow-y: scroll !important;
  position: absolute;
  top: 115px;
  height: calc(100vh - 115px);
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#upgrades-wrapper::-webkit-scrollbar {
  width: 0;
  height: 0;
}
