:root {
  --arieMoneyGreen: linear-gradient(45deg, #85ffbde6 0%, #fffb7de6 100%);
}
html {
  font-size: 50px;
}

body {
  background: #00ff00
    url("https://cdn.midjourney.com/b551eef1-9753-4c26-a709-de8552339ec1/0_1.png");
  background-size: cover;
  transition: backgroundColor 2s;
  font-family: "Sancreek", serif;
  font-weight: 400;
  font-style: normal;
  overflow: hidden;
}

body.rich {
  background: gold;
}

body.shut-down {
  animation: flash 0.5s infinite;
  * {
    transition: opacity 5s;
    opacity: 0;
  }
}

@keyframes flash {
  0% {
    background: red;
  }
  50% {
    background: blue;
  }
  100% {
    background: red;
  }
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

body.no-money {
  background: red;
  animation: shake 0.2s;
  animation-iteration-count: infinite;
}

.app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 1fr;
  justify-content: center;
  align-items: center;
  justify-items: center;
  container: app / inline-size;
}

h2 {
  --sdr-gradient: linear-gradient(to bottom right, #fff700 0%, #ff6500 100%);
  background: var(--sdr-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 5cqw;
  color: transparent;
  font-family: "62dragz";
  margin: 0;
  font-weight: bold;
  text-align: center;
  grid-column: 1 / -1;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.5);
}

span.money {
  grid-column: 1 / -1;
  text-align: center;
  font-weight: bold;
}

button img {
  max-width: 100%;
  height: 100px;
  mix-blend-mode: darken;
}

button {
  color: black;
  font-family: inherit;
  display: flex;
  align-items: center;
  padding: 20px;
  border: 0;
  cursor: pointer;
  background: var(--arieMoneyGreen);
  border-radius: 20px;
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
  font-size: 50px;
}

button:hover {
  scale: 1.1;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 1);
}
.icon {
  margin: 0;
  --font: 50px;
  font-size: var(--font);
  position: absolute;
  display: block;
  width: 100%;
  left: 0;
  transition: all 0.2s;
}

.icon.shrink {
  transition: all 2s;
  font-size: 10px;
}

.count {
  position: fixed;
  top: 20px;
  right: 20px;
  pointer-events: none;
}

.items {
  grid-column: 1 / -1;
  gap: 20px;
  display: grid;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  text-align: center;
  width: 100%;
  align-content: center;
  justify-content: center;
  padding: 50px 0;
}

.item {
  position: relative;
  display: inline-block;
  padding: 0 20px;
  font-size: 60px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
  border-radius: 20px;
}

.item span {
  /* background: white; */
  font-size: 15px;
  padding: 2px 7px;
  border-radius: 50%;
  text-align: center;
  font-variant-numeric: tabular-nums;
  top: 0;
  position: absolute;
}

#animate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

. {
  position: absolute;
  bottom: 50px;
  right: 50px;
  opacity: 0;
  font-size: 10px;
}

.cheat {
  opacity: 0;
  position: relative;
  animation: dvd 5s infinite;
}

@keyframes dvd {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(100vw, 0);
  }
  50% {
    transform: translate(100vw, 100vh);
  }
  75% {
    transform: translate(0, 100%);
  }
  100% {
    transform: translate(0, 0);
  }
}
