html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: Helvetica, sans-serif;
}

.exhibition {
    flex: 1 0 auto;
}

footer {
    flex: 0 0 auto;
}

.app {
    display: grid;
    width: 100%;
    grid-gap: 50px 10px;
    grid-template-columns: repeat(7, 1fr);
    padding: 5px;
}

@media (max-width: 1024px) {
    .app {
        grid-gap: clamp(1px, 5%,5px);
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        padding: 5px 0;
    }
}

.card {
    position: relative;
    max-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: min(3vmin, 20px);
}

h2 {
    font-size: min(5vmin, 24px);
}

h3 {
    font-weight: 400;
    margin: 0;
    padding: 0;
}


h1, h2, h3 {
    text-align: center;
    min-height: 0;
    min-width: 0;
}

img {
    display: block;
    max-width: 100%;
    max-height: 150px;
    min-height: 0;
}

.card a {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

blockquote {
    font-style: italic;
}
