/* -- Single box --*/

/* To change the size of the grid, change the value in grid>>max-width in the desired HTML code.*/
body{
    font-size: 14px;
}

.localgrid{
    display: block;
    border: 0.2em solid #cfb991;
    margin-bottom: 1em;
    margin-left: 0.5em;
}

.localheader{
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    color: black;
    background-color: #cfb991;
    padding: 0.5em;
}

.image{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    max-height: 15em;
}
.image img {
    flex-shrink: 0;
    height: 100%;
    width: 100%;
    object-fit: cover
}


/* --Box arrangement-- */

.containerlocal{
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(auto-fit, minmax(400px, 24%));
    grid-gap: 10px;
}