body {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    flex-direction: column; /* Ensures elements stack vertically */
    min-height: 100vh; /* Full viewport height */
    margin: 0; /* Remove default margin */
    background-color: #fff; /* Optional background color */
    line-height: 1;
}
#cookieCount {
    font-size: 2rem;
    margin-bottom: 1rem;
}
#upgrades {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
}
#upgrades button:disabled {
    opacity: 0.5; /* Dim the button when disabled */
    cursor: not-allowed; /* Change cursor to indicate disabled state */
    background-image: url('buttoncantbuy.png'); /* Ensure you have a button_disabled.png image in the same directory */
}
#upgrades button{
    background-image: url('buttoncanbuy.png'); /* Ensure you have an upgrade.png image in the same directory */
    border: none;
    background-size: 100% 100%;
    width: 126px;
    height: 32px;
    margin: 0.5rem;

}
#resetButton {
    background-image: url('button.png');
    border: none;
    background-size: 100% 100%;
    width: 126px;
    height: 32px;
    margin: 0.5rem;
}
#saveButton {
    border: none;
    background-size: 100% 100%;
    width: 126px;
    height: 32px;
    margin: 0.5rem;
    background-image: url('button.png');
}
#upgrades {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#cookieButton {
    width: 200px;
    height: 200px;
    background-image: url('cookie.png'); /* Ensure you have a cookie.png image in the same directory */
    background-size: cover;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    margin-bottom: 1rem;
}
#cookieButton:active {
    transform: scale(0.95); /* Slightly shrink the button when clicked */
}

a {
    color: #000; /* Link color */
    text-decoration: none; /* Remove underline */
}
a:hover {
    text-decoration: underline; /* Underline on hover */
}
footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #555; /* Optional footer text color */
}

p {
    margin: 0.2rem 0; /* Adjust paragraph margins */
}