* {
    box-sizing: border-box;
    overflow: auto;
}

html {
    font-size: 12px;
}

body {
    margin: 0px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.container {
    width: clamp(576px, 70vw, 1200px);
    margin: 0 auto;
    min-height: 100hv;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

header, main, footer {
    margin: 1rem;
    padding: 1rem;
}

header {
    display: flex;
    align-items: center;
    font-weight: bold;
}

header > a:first-child {
    font-size: 24px;
    margin-right: auto;
}

header > a:not(:first-child) {
    margin: 0 5px;
}


.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cell {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% / 4); 
    justify-content: space-between;
    align-items: center;
    padding: 10px;

}

img {
    border: 5px solid white;
    border-radius: 10px;
    box-shadow: 0 0 10px grey;
    object-fit: cover;
    object-position: center;

}

footer {
    text-align: center;
}

