* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

body,
html {
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Container uses grid */
.container {
    display: grid;
    grid-template-areas:
        "header header"
        "sidebar main"
        "footer footer";
    grid-template-columns: 200px 1fr;
    /* sidebar fixed width, main flexible */
    grid-template-rows: auto 1fr auto;
    /* header and footer auto height, main fills */
    height: 100vh;
    /* full viewport height */
    /* gap: 10px; */
}

header {
    grid-area: header;
    background: #cb993b;
    color: rgb(36, 33, 33);
    padding: 1rem;
    text-align: center;
    font-size: 2.5rem;
}

#hedgehog-count {
    font-size: 1.0rem;
}

aside {
    grid-area: sidebar;
    background: #674723;
    padding: 1rem;
    border-right: 2px solid #351f00;
    display: flex;
    flex-direction: column;
    text-align: center;
}

#money-display {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

hr {
    border: 1px solid black;
}

#hedgehog-shop {
    margin-top: 20px;
}

.hedgehog-card>img {
    max-width: 60%;
    max-height: 60%;
    aspect-ratio: 1/1;
}

.hedgehog-card {
    padding: 10px 5px 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 1.2rem;
    background-color: #cb993b;
    margin-top: 10px;
    width: 170px;


}

#pasture {
    grid-area: main;
    background: #4bc73b;
    padding: 1rem;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.hedgehog {
    position: absolute;
    user-select: none;
    transition: top 0.5s ease, left 0.5s ease;
}

.hedgehog>img {
    width: 100px;
    height: 100px;
    aspect-ratio: 1/1;
}

footer {
    grid-area: footer;
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}