.header {
    background-color: black;
    display: flex;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
    flex-wrap:nowrap;
    overflow-x: auto;
    max-width:100%;
    z-index:10;
    position: relative;
}
#loadingBar {
    width: 0%; 
    height: 20px; 
    background: #785710;
    padding: 0;
    margin: 0;
}
#emptyBar {
    width: 80%; 
    background: #6f6f6f; 
    border-radius: 100px; 
    overflow: hidden; 
    margin-top: 20px;
    padding: 0;
    margin: 0;
}
#loadingScreen {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgb(11, 85, 11); 
    color: #fff; 
    z-index: 9; 
    flex-direction: column;
    padding: 0;
    margin: 0;
}

body {
    margin: 0;
    background-color: rgb(11, 85, 11);
    color: white;
    touch-action: manipulation;
    
}

.title {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-size: 8vh;
}
#loading {
    font-size: 4vh;
}

#titleimg {
    padding: 0;
    margin: 0;
    max-width: 50%;
    max-height: 50vh;
}
.rlc {
    color: white;
}

.header.left-aligned {
    justify-content: flex-start;
}

#money, #moneypc, #moneyps, .buttondiv{
    justify-content: center;
    display: flex;
    margin: 0;
}

#upgradest, #moneyt, #timeelapsed, #click, #clickt, #pennyt, #nickelt, #dimet, #quartert, #halfdollart, #achievement-progress, #achievement-achieved, #achievement-achieved p{
    margin: 0 0 0 10px;
}
button {
    color: black;
    touch-action: manipulation;
}
#button {
    color: white;
    border-radius: 50%;
    min-height: 200px;
    min-width: 200px;
    border: none;
    background-image:url("/src/1c.png");
    background-size: 101%;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 10px;
    margin-bottom: 25px;
    transition: transform 0.2s ease;
}
button:hover {
    cursor: pointer;
}
.float-value {
    position: absolute;
    font-weight: bold;
    animation: floatUp 1s forwards;
    pointer-events: none;
    transform: translate(-50%, -50%);
}
  
@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

@keyframes buttonShrink {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}
.button-shrink {
    animation: buttonShrink 0.2s ease forwards;
}

.main-upgrade p {
    margin:0;
}

.level {
    width: 120px;
    font-size: 5em;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-upgrade {
    border-radius: 75px;
    min-width: 315px;
    max-width: 600px;
    width: 100%;
    height: 75px;
    border: 3px solid black;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    overflow: hidden;
}

.mutuc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1; /* Ensures this section takes up the remaining space */
    text-align: left;
    padding-right: 10px; /* Add some padding for better spacing */
}

.mut {
    font-size: 2.5em;
    margin: 0;
    padding: 0;
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Prevents overflow */
    text-overflow: ellipsis; /* Optionally, add ellipsis if the text overflows */
}

.uc {
    font-size: 1.25em;
    margin: 0;
    padding: 0;
}

.mi {
    margin-left: auto;
    height: 130%;
    width: auto;
    object-fit: cover;
    overflow: hidden;
}



.secondary-upgrade p {
    margin: 0;
}
.secondary-upgrade {
    border-radius: 20px;
    width: 175px;
    height: 75px;
    border: 3px solid black;
    background-color: white;
}

.color1 {
    background-color: #68fe81;
}
.color2 {
    background-color: #f5ff67;
}
.color3 {
    background-color: #ff7c7c;
}

#clickupgrade {
    display: none;
}

#pennyupgrade {
    display: none;
}

#nickelupgrade {
    display: none;
}

#dimeupgrade {
    display: none;
}

#quarterupgrade {
    display: none;
}
#halfdollarupgrade {
    display: none;
}