@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --bg-color: black;
  --text-color: white;
  --other-color: lightgray
}

* {
  user-select: none;
  user-zoom: none;
  font-family: 'Poppins';
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  padding: 0
}

body {
  background: var(--bg-color);
  height: 100vh;
  transition: 0.5s all
}

header {
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row
}

main {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column
}

footer {
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row
}

#clickButton {
  background: transparent;
  height: 40vh;
  width: 40vh;
  color: var(--text-color);
  font-size: 6vh;
  font-weight: 900;
  border: 1vh var(--text-color) solid;
  border-radius: 50%;
  margin: 5vh 0
}

#balance {
  color: var(--text-color);
  font-weight: 900;
  font-size: 8vh
}

.floating-text {
  position: absolute;
  font-size: 6vh;
  font-weight: 800;
  color: var(--other-color);
  opacity: 1;
  transition: all 2s ease
}

.float-anim {
  color: var(--text-color);
  transform: translateY(-300px);
  opacity: 0
}


#loading-screen{
  position: absolute;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

.loading-text{
  font-size: 50px;
  font-weight: 900;
}

.loading-bar{
  width: 8vw;
  height: 8vw;
  border-radius: 50%;
  border: 5px var(--text-color) solid;
  border-top: 5px var(--bg-color) solid;
  animation: rotate 0.8s infinite ease;
}

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