/* Presets */
* {
  font-family: monospace, serif, sans-serif;
  margin: 0px;
  margin: 0px;
}
html {
  scroll-behavior: smooth;
}
button {
  border-radius: 8px;
  border: 2px solid goldenrod;
  font-size: 16pt;
  padding: 5px 10px;
  margin: 0px 5px;
  cursor: pointer;
  transition: all 0.3s;

  &:hover {
    transform: rotate(4deg);
  }
  &:active {
    transform: translateY(4px);
  }
}
p, h2 {
  margin: 10px 0px;
}
body {
  background-color: black;
  color: white;
  transition: all 0.5s;
  overflow-x: hidden;
}
.black {
  background-color: black;
  color: white;
  transition: all 0.5s;
}
.white {
  background-color: white;
  color: black;
  text-shadow: 0px 0px 5px white;
  transition: all 0.5s;
}
.red {
  background-color: crimson;
  color: white;
  text-shadow: 0px 0px 5px black;
  transition: all 0.5s;
}
.green {
  background-color: rgb(0, 50, 0);
  color: white;
  text-shadow: 0px 0px 5px black;
  transition: all 0.5s;
}
.teal {
  background-color: rgb(0, 141, 217);
  color: black;
  text-shadow: 0px 0px 5px white;
}
.blue {
  background-color: navy;
  color: white;
  text-shadow: 0px 0px 5px black;
  transition: all 0.5s;
}
.purple {
  background-color: rebeccapurple;
  color: white;
  text-shadow: 0px 0px 5px black;
  transition: all 0.5s;
}
.red-orange {
  background-image: linear-gradient(to right, crimson, darkorange);
  color: white;
  text-shadow: 0px 0px 5px black;
  transition: all 0.5s;
}
.green-yellow {
  background-image: linear-gradient(to right, darkgreen, yellow);
  color: white;
  text-shadow: 0px 0px 5px black;
  transition: all 0.5s;
}
.blue-purple {
  background-image: linear-gradient(to right, navy, rebeccapurple);
  color: white;
  text-shadow: 0px 0px 5px black;
  transition: all 0.5s;
}

.primary {
  background-color: goldenrod;
  color: black;

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;

    &:hover, &:active {
      transform: none;
      background-color: goldenrod;
      color: black;
    }
  }
  &:hover {
    background-color: transparent;
    color: goldenrod;
  }
  &:active {
    background-color: goldenrod;
    color: black;
  }
}
.secondary {
  background-color: transparent;
  color: goldenrod;

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    
    &:hover, &:active {
      transform: none;
      background-color: transparent;
      color: goldenrod;
    }
  }
  &:hover {
    background-color: goldenrod;
    color: black;
  }
  &:active {
    background-color: transparent;
    color: goldenrod;
  }
}
.teritry {
  background-color: transparent;
  color: grey;
  border-color: gray;
  margin: 10px;

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;

    &:hover, &:active {
      transform: none;
      color: grey;
      border-color: grey;
      background-color: transparent;
    }
  }
  &:hover {
    border-color: goldenrod;
    color: goldenrod;
  }
  &:active {
    background-color: goldenrod;
    color: black;
  }
}

/* Extras */
.holder {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  & > h1 {
    margin: 0px;
  }
}

.img-div {
  background-image: url("./assets/slot-machine-bg.png");
  height: 200px;
  width: 400px;
  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;
}
.number {
  font-size: 40px;
  margin: 10px;
  padding-bottom: 10px;
}

.money {
  margin: 20px 0px;
  & > p {
    margin: 0px;
  }
}

.upg-redirect-btn {
  width: 100%;
  margin: 0px;
}
#upgrades {
  transition: all 0.5s ease-in-out;
}

.functions {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

h1 {
  font-size: 50px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 25px;
}
.upg-box {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 100px;
}
.upgrade-container {
  border: 2px solid goldenrod;
  padding: 30px;
  border-radius: 8px;
  margin: 10px;
}
.upgrade-container > p {
  margin-bottom: 30px;
}

.prize-log {
  margin-top: 50px;
}
.prize-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.game-screen {
  height: 100vh;
  width: 100vw;
  z-index: 200;
  overflow-x: hidden;
  overflow-y: hidden;
  text-align: center;
  
  position: fixed;
  top: 0px;
  margin: 0px;

  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.game-over-screen, .game-over-loan-screen {
  background-color: rgba(255, 0, 0, 0.75);
  margin: 0px;
}
.game-won-screen {
  background-color: rgba(0, 128, 0, 0.75);
  margin: 0px;
}
.button-endscreen {
  color: white;
  border-color: white;
  margin-top: 10px;

  &:hover {
    background-color: white;
  }
  &:active {
    background-color: transparent;
    color: white;
  }
}

.collectibles {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  & > h1 {
    margin: 10px 0px;
  }
}

.shop > h1 {
  margin: 50px 0px;
}
.items {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-evenly;
  align-items: center;

  margin-bottom: 100px;

  & > div {
    width: 100px;
    border: 2px solid goldenrod;
    border-radius: 8px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.backgrounds {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.bg-shop-item {
  width: 100px;
  height: 100px;
  border: 4px solid goldenrod;
  border-radius: 8px;
  padding: 20px;
  margin: 20px;

  line-height: 100px;
  text-align: center;
  font-size: 20px;

  cursor: pointer;
  transition: all 0.3s;

  &:hover {
    height: 120px;
    width: 120px;
    margin: 10px;
    line-height: 120px;
  }
  &:active {
    transform: rotate(4deg);
    opacity: 0.5;
  }
}

.stats {
  display: flex;
  gap: 50px;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  margin: 25px;
  margin-bottom: 100px;

  & > * {
    margin: 10px;
  }
}

#loans {
  margin-bottom: 100px;
}
.loans {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px ;
}
.loan-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.owned-trophies {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  & > h1 {
    margin: 10px 0px;
  }
}
.trophies {
  display: flex;
  gap: 50px;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  margin: 25px;
  margin-bottom: 100px;

  & > div {
    width: 200px;
    border: 2px solid goldenrod;
    border-radius: 8px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.box-display, .crypto-box-display {
  word-wrap: break-word;
}
.lb-btns {
  display: flex;
  justify-content: center;
}
.lb-terminal {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 100px;
}

@keyframes ultra-fade-theme {
  0% {
    background-position: 0% 70%;
  }
  25% {
    background-position: 100% 70%;
  }
  50% {
    background-position: 0% 70%;
  }
  75% {
    background-position: 100% 70%;
  }
  100% {
    background-position: 0% 70%;
  }
}

.ultra-theme {
  background-image: linear-gradient(to right, navy, rebeccapurple, crimson, darkorange);
  background-size: 200% 100%;
  background-position: 0% 50%;
  animation: ultra-fade-theme infinite 10s ease-in-out;
  color: white;
  text-shadow: 0px 0px 5px black;
}
.super-theme {
  background-image: linear-gradient(to right, navy, rebeccapurple, crimson, darkorange);
  color: white;
  text-shadow: 0px 0px 5px black;
}

.credits {
  text-align: center;
  margin-bottom: 20px;
  border-top: 1px solid rgba(128, 128, 128, 0.5);
  cursor: pointer;
}

.img-1 {
  background-image: url('./assets/backgrounds/bg-1.png');
  color: white;
  text-shadow: 0px 0px 5px black;
}
.img-2 {
  background-image: url('./assets/backgrounds/bg-2.png');
  color: black;
  text-shadow: 0px 0px 5px white;
}
.img-3 {
  background-image: url('./assets/backgrounds/bg-3.png');
  color: black;
  text-shadow: 0px 0px 5px white;
}
.img-4 {
  background-image: url('./assets/backgrounds/bg-4.png');
  color: black;
  text-shadow: 0px 0px 5px white;
}
.img-5 {
  background-image: url('./assets/backgrounds/bg-5.png');
  color: black;
  text-shadow: 0px 0px 5px white;
}
.img-6 {
  background-image: url('./assets/backgrounds/bg-6.png');
  color: white;
  text-shadow: 0px 0px 5px black;
}
.img-7 {
  background-image: url('./assets/backgrounds/bg-7.png');
  color: white;
  text-shadow: 0px 0px 5px black;
}
.img-8 {
  background-image: url('./assets/backgrounds/bg-8.png');
  color: white;
  text-shadow: 0px 0px 5px black;
}
.img-9 {
  background-image: url('./assets/backgrounds/bg-9.png');
  color: black;
  text-shadow: 0px 0px 5px white;
}
.img-10 {
  background-image: url('./assets/backgrounds/bg-10.png');
  color: black;
  text-shadow: 0px 0px 5px white;
}

.crypto-coin-buy {
  height: 300px;
  width: 150px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  & img {
    height: 75px;
    width: 75px;
    border-radius: 50%;
  }
  & > div {
    display: flex;
    justify-content: center;
  }
}

/* Crypto */

.title-crypto {
  padding-bottom: 20px;
}
.crypto-main {
  justify-content: space-evenly;
  padding: 25px 30px;
}

.car-shop {
  height: 150px;
  width: 100px;
  margin: 20px;
  padding: 20px;
  transition: all 0.3s;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  flex-direction: column;

  & * {
    margin: 10px;
    padding: 0px;
  }

  &:hover {
    margin: 0px 10px;
    padding: 30px;
  }
  &:active {
    opacity: 0.5;
    transform: rotate(4deg) translateY(4px);
  }
}
.bought-car {
  height: 150px;
  width: 100px;
  margin: 20px;
  padding: 20px;
  transition: all 0.3s;

  display: flex;
  justify-content: space-between;
  flex-direction: column;
  cursor: not-allowed;

  & * {
    margin: 10px;
    padding: 0px;
    text-align: center;
  }
}

.crypto-bg-1 {
  background-image: url("./assets/crypto/backgrounds/bg-1.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}
.crypto-bg-2 {
  background-image: url("./assets/crypto/backgrounds/bg-2.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}
.crypto-bg-3 {
  background-image: url("./assets/crypto/backgrounds/bg-3.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}
.crypto-bg-4 {
  background-image: url("./assets/crypto/backgrounds/bg-4.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}
.crypto-bg-5 {
  background-image: url("./assets/crypto/backgrounds/bg-5.png");
  color: white;
  text-shadow: 0px 0px 5px rgb(255, 255, 255);
}
.crypto-bg-6 {
  background-image: url("./assets/crypto/backgrounds/bg-6.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}
.crypto-bg-7 {
  background-image: url("./assets/crypto/backgrounds/bg-7.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}
.crypto-bg-8 {
  background-image: url("./assets/crypto/backgrounds/bg-8.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}
.crypto-bg-9 {
  background-image: url("./assets/crypto/backgrounds/bg-9.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}
.crypto-bg-10 {
  background-image: url("./assets/crypto/backgrounds/bg-10.png");
  color: white;
  text-shadow: 0px 0px 5px black;
}

.menu-holder {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000000a0;
  width: 100vw;
  height: 50px;
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
}
.menu {
  color: #fff;
  cursor: pointer;
  margin: 0px 20px;
  padding: 5px 20px 0px 20px;
  font-size: 30px;
  transition: all 0.3s;
  text-shadow: none;

  &:hover {
    color: goldenrod;
  }
  &:active {
    border-bottom: 1px solid goldenrod;
  }
}
.navigation {
  position: fixed;
  top: 55px;
  left: -250px;
  /* height: 100%; */
  height: calc(100vh - 80px);
  color: #fff;
  transition: 0.5s;
  width: 250px;
  background-color: #00000075;
  padding: 15px 0px;
  overflow-y: scroll;

  scrollbar-width: thin;
  scrollbar-color: #daa52075 #0000;

  p {
    margin: 10px 35px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    display: inline-block;
    text-decoration: underline;
    text-shadow: none;

    &:hover {
      color: goldenrod;
    }
    &:active {
      text-decoration: none;
    }
  }
}
.nav-holder {
  z-index: 101;
  background-color: white;
  width: 100vw;
}
.show-nav {
  left: 0px;
}

/* The Final Update */

.adblocker-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0px 100px 0px;

  & > h1 {
    margin: 10px 0px;
  }
}

#purchased-ads, #adblock, .scam-coin-sell-price, p.adblock-btn, p.purchased-ads-btn {
  display: none;
}

#ad-item {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 70vh;
  width: 80vw;
  border-radius: 48px;
  text-shadow: none;
  color: white;
  border: 8px solid goldenrod;
  z-index: 100;

  & .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: darkred;
    transition: all 0.3s;

    &:hover {
      color: rgb(74, 0, 0);
    }
    &:active {
      transform: rotate(4deg);
      opacity: 0.5;
    }
  }
  & h1 {
    margin: 20px;
  }
  & button {
    margin: 30px 0px;
    width: 200px;
  }
  & h3 {
    margin: 10px 0px 0px 0px;
    font-size: 20px;
  }
}

.achievements {
  position: fixed;
  top: 100px;
  right: -50vw;
  transform: translateX(50%);
  background-color: rgba(0, 0, 0, 0.8);
  height: 70vh;
  width: 80vw;
  border-radius: 48px;
  border: 8px solid goldenrod;
  text-shadow: none;
  color: white;
  transition: all 0.5s ease-in-out;
  z-index: 102;

  & .achievement-box {
    overflow-y: scroll;
    scrollbar-width: none;
    height: 45vh;
    width: 100%;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;

    & > div {
      width: 300px;
    }
    & * {
      text-wrap: break-word;
      margin: 10px;
    }
  }
  & .achievement {
    display: flex;
    opacity: 0.5;
    &.unlocked {
      opacity: 1;
    }
  }
}
.you-found-me {
  cursor: pointer;
}

.thing {
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: rgb(128, 128, 128);
  text-shadow: none;
  border: 2px solid goldenrod;
  border-radius: 8px;
  font-size: 10px;
  cursor: pointer;
}

.achievement-popup-box {
  position: fixed;
  top: 75px;
  width: 300px;
  right: -325px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  text-wrap: break-word;
  border: 2px solid goldenrod;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  color: white;
  text-shadow: none;
  z-index: 99;

  & h1 {
    margin: 0px
  }
}

@keyframes achievement-earned {
  0% {
    right: -325px;
  }
  20%, 80% {
    right: 15px;
  }
  100% {
    right: -325px;
  }
}

.cheats {
  position: fixed;
  /* left: 50%; */
  left: calc(-40vw + 49px);
  transform: translateX(-50%);
  width: 80vw;
  height: 70vh;
  top: 100px;
  display: none;
  justify-content: center;
  transition: all 0.5s ease-in-out;
  z-index: 101;

  & h1 {
    margin: 30px 0px 20px 0px;
  }
  & > button {
    height: 50px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin: 0px 0px 0px -2px;
    background-color: rgba(0, 0, 0, 0.8);

    &:hover {
      transform: rotate(0deg);
    }
  }
}
.cheat-popup {
  overflow-y: scroll;
  scrollbar-width: none;
  border: 2px solid goldenrod;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-shadow: none;
  border-radius: 8px;
  border-top-right-radius: 0px;
}
.cheat-buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: calc(100% - 120px);
  gap: 20px;

  & > div {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
  }
}
