html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#money_button {
    background: transparent;
    border: none;
    cursor: pointer;
    margin-top: 10vh;
}
#money_button:active {
    filter: brightness(0.9);
}
#money_button img {
    width: 300px;
}
#money_button:active img {
    width: 290px;
}
.money {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 4vh;
}
html, img {
    -user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.game_layout {
    display: grid;
    height: 100vh;
    grid-template-columns: 1fr 2fr 1fr;
    padding-top: 0;
    align-items: start;
}
.game_area {
    text-align: center;
    background-image: url("./Imgs/coinBg.png");
    height: 100%;
    min-width: 300px;
}
.shop_area {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-left: 10px solid black;
    background-image: url("./Imgs/shopBg.png");
}
#moneyInfo {
    background-color: rgba(79, 79, 79, 0.653);
}
.upgrades {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
    padding: 10px;
}
.buildings {
    flex-grow: 1;
    overflow-y: auto;
    margin-left: 5px;
    padding-bottom: 30px;
}
.shop_building {
    padding: 5px;
    border: 1px solid brown;
    border-radius: 5px;
    background-color: rgba(240, 248, 255, 0.529);
}
.shop-upgrade {
    width: 60px;
    height: 60px;
    border: 2px solid brown;
    border-radius:  10px;
}

.icon {
    cursor: pointer;
    width: 60px;
    height: 60px;
}
.buildingIcon {
    width: 60px;

}
.icon:hover + .upgrade_tooltip {
    display: block;
    background-color: rgb(32, 32, 32);
    color: aliceblue;
    width: 200px;
    padding: 4px;
    position: absolute;
    right: 25.2vw;
    z-index: 10;
}
.upgrade_tooltip {
    display: none;
}
.cantAfford {
    filter: grayscale(1);
    opacity: 0.70;
    pointer-events: none;
}
.stats {
    border-right: 10px solid black;
    height: 100vh;
    background-color: aquamarine;
    padding: 10px;
}
button {
    border-radius: 5px;
    border: none;
    padding: 1px 10px 1px 10px;
    border: 1px solid black;
    font-size: larger;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
button:hover {
    cursor: pointer;
}
#saveIndicator {
    position: absolute;
    bottom: 0px;
    font-size: 20px;
}
.hidden {
    display: none;
}