body {
    user-select: none;
    font-family: 'Press Start 2P', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-decoration: none;
    background: linear-gradient(to right, #303030, #3a3a3a);
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.topbar {
    background: #292929;
    padding: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.topbar h1 {
    text-align: center;
    font-size: 30px;
    text-shadow: 2px 2px #000;
    color: #fff;
}

.topbar button {
    background-color: #3a3a3a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.topbar button:hover {
    background-color: #696969;
    transform: scale(1.05);
}

button img {
    width: 20px;
    height: auto;
    vertical-align: middle;
    margin-right: 20px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.upgrades, .shop {
    width: 20%;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 100vh;
    position: relative;
}

button {
    background-color: #696969;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #ff6347;
    transform: scale(1.05);
}

.quarkup1 {
    width: 10px; /* Adjust size as needed */
    height: 10px; /* Adjust size as needed */
    position: absolute;
    transition: transform 0.5s ease-in-out, opacity 2s ease-out;
    user-select: none;
    pointer-events: none;
}

.plusOne {
    position: absolute;
    font-size: 20px;
    color: green;
    animation: moveRandomlyAndFade 2.5s forwards;
    user-select: none;
    pointer-events: none;
}

@keyframes moveRandomlyAndFade {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    25% {
        transform: translateX(var(--random-x, 0)); /* Using CSS variable for random */
    }
    50% {
        transform: translateY(-50px); /* Move up */
    }
    100% {
        transform: translateY(100px); /* Move down */
        opacity: 0;
    }
}



@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-50px);
    }
}





.center {
    height: 100vh;
    width: 60vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.center button{
    background-color: transparent !important;
    border: hidden;
    box-shadow: none;
}
.center button img{
    width: 100%;
    height: 100%;
}
.center button:hover{
    transform: scale(1.05);
}
.center button:active{
    transform: scale(1.02);
}
.shop , .upgrades{
    border: solid 1px ;
    height: 100%;
    width: 13%;
}
.shop button, .upgrades button{
    margin: 10px;
    border-radius: 5%;
    width: 75%;
}
.buyElement:hover{
    
}
.shop button:hover, .upgrades button:hover{
    background-color: #ff6347;
    transform: scale(1.05);
}
.shop button:active , .upgrades button:active{
    background-color: #ff4500;
    transform: scale(1.02);
}

