* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    user-select: none;
}

body {
    background-color: bisque;
}

.grid {
    width: 100svw;
    height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "stats content shop";
}

.stats {
    grid-area: "stats";
    z-index: 1;
    background-color: #e4c6a0;
    margin-right: 20px;
    border-radius: 0px 50px 50px 0px;
}

.content {
    grid-area: "content";
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop {
    grid-area: "shop";
    z-index: 1;
    display: grid;
    place-items: center;
    background-color: #e4c6a0;
    margin-left: 20px;
    border-radius: 50px 0px 0px 50px;
}

img {
    image-rendering: pixelated;
}

.meatball-count {
    position: relative;

    margin-top: 15px;
    width: calc(100%-40px);
    background-color: blanchedalmond;
    border-radius: 30px;
    height: 75px;
    border: 5px solid burlywood;
    padding: 0px 10px;

    color: saddlebrown;
    font-size: 3em;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
}

.meatball-count p,
.shop-button p strong {
    height: 65px;
    width: 100%;
    top: 0px;
    left: 0px;
    text-align: center;

    position: absolute;
    display: grid;
    place-items: center;
}

.meatball-count div {
    position: absolute;
    top: 75px;
    left: 0%;
    width: 100%;
    text-align: center;
    font-size: 0.5em;
    
       
    display: grid;
    place-items: center;
}

.meatball-count div strong {
    border: 5px solid burlywood;
    background-color: blanchedalmond;
    padding: 5px 30px;
    border-radius: 20px;
}

.click-button {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100svw;
    height: 100svh;
    display: grid;
    place-items: center;
    background-color: transparent;
    border: 0px;
    outline: 0px;
    cursor: pointer;
}

.click-button img {
    animation: floatRotate 3.2s ease-in-out infinite, floatTranslate 3.8s ease-in-out infinite;
    transition: scale 0.05s ease-in-out;
}

.click-button:active img {
    scale: 0.95;
}

.shop-button:active {
    scale: 0.95;
}

.clicked {
    scale: 0.95;
}

.shop-button {
    background-color: transparent;
    border: 0px;
    outline: 0px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0px 40px;
}

.shop-button div img {
    align-self: center;
}

.shop-button>div {
    display: flex;
    gap: 20px;
}

.shop-button>div>div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border: 5px solid burlywood;
    background-color: blanchedalmond;
    border-radius: 30px;
    margin-bottom: 10px;
    padding: 0px 10px;
    width: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    color: saddlebrown;
}

.shop-button p {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 10px;

    color: saddlebrown;
    font-size: 3em;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;

    background-color: blanchedalmond;
    border-radius: 30px;
    height: 75px;
    border: 5px solid burlywood;
    padding: 0px 10px;

    position: relative;
}

.fork {
    z-index: -10;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100svw;
    height: 100svh;
    display: grid;
    place-items: center;
}

.stats {
    color: saddlebrown;
    font-size: 1.5em;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    padding: 10px 40px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.stats>div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stats>div>div {
    display: flex;
    justify-content: space-between;
}

.rebirth-button {
    margin-top: 50px;
    color: saddlebrown;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 2em;
    border-radius: 50px;
    border: 5px solid burlywood;
    background-color: blanchedalmond;
    cursor: pointer;
    padding: 10px 0px;
}

.rebirth-button:active {
    scale: 0.95;
}

.disabled {
    color: #6b2500;
    border: 5px solid #be9867;
    background-color: #dfcbad;
}

.rebirth-upgrades-needed-full {
    margin-top: 10px;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.noshow {
    display: none;
}

.save-indicator {
    font-size: 3em;
    color: saddlebrown;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    text-align: center;
    padding-bottom: 30px;
}

@keyframes floatRotate {

    0%,
    100% {
        rotate: 3deg;
    }

    50% {
        rotate: -3deg;
    }
}

@keyframes floatTranslate {

    0%,
    100% {
        translate: 0px 5px;
    }

    50% {
        translate: 0px -5px;
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes forkJab {

    0%,
    70%,
    100% {
        transform-origin: -160px;
        translate: 200px 0px;
    }

    85% {
        transform-origin: -140px;
        translate: 180px 0px;
    }

}