body {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 10% 90%;
    grid-template-areas: 
      "header" 
      "main";
      
    height: 100%;
    width: 100%;
    background: lightgrey;
}

header {
    display: grid;
    height: auto;
    width: auto;
    max-height: 80%;
    min-height: 2.5em;
}

main {
    display: grid;
    height: auto;
    width: 100%;
    padding: 1.0em;
}

.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: auto;
    max-width: 100%;
    margin: 0.0em auto;
}

.store {
    display: flex;
    flex-direction: column;
    background: grey;
    padding: .3em;
    border: .3em solid black;
    justify-content: center;
    align-items: center;
}

figure {
    display: grid;
    flex-direction: column;
    grid-template-columns: auto;
    grid-template-rows: 70% 14% 16%;
    align-items: center;
    justify-content: center;
    margin: 0.0em auto;
    height: auto;
    max-width: 100%;
    border: .3em solid red;
    grid-row-gap: .3em;
    object-fit: cover;
}

figure > div > img {
    display: flex;
    margin: 0.0em auto;
    max-width: 100%;
    align-self: stretch;
    justify-content: center;

    max-height: 10em;
    height: auto;
    resize: both;
    object-fit: fill;
}

.figbutton {
    display: flex;
    justify-content: center;
    max-width: 6.0em;
    margin: 0.0em auto;
    padding: .2em;
    margin-bottom: .5em;
}

figure p {
    line-height: 1.0em;
    word-wrap: break-word;
    word-break: keep-all;
    text-align: center;
}

.imageDiv {
    display: flex;
    max-width: 100%;
    height: auto;
}

main > aside {
    display: none;
    position: fixed;
    top: 7.0em;
    left: 0.5em;
    align-self: center;
    background: rgba(234, 224, 200, .98);
    border: .1em solid black;
    width: 15em;
    height: auto;
    padding: 1.0em;
}

main > #buttondiv {
    display: block;
    position: fixed;
    left: 0.25em;
    top: 4.75em;
}

main > #buttondiv > #filterbutton > img {
    display: flex;
    resize: both;
    width: 2.0em;
    height: 2.0em;
    overflow: hidden;
}

main > button {
    display: flex;
    width: 2.0em;
    height: 2.0em;
}

#asidemenu {
    display: none;
}
