@use './_responsive.scss' as r; .subalbums { display: grid; gap: 15px; grid-template-columns: 1fr; grid-template-columns: repeat(auto-fill, minmax(200px, 300px)); .subalbum { display: flex; flex-direction: column; padding: 5px; border: 1px solid lightgray; border-radius: 10px; .teaser { display: flex; height: 200px; flex: 0 0 200px; justify-content: center; // background-color: lightgray; border-radius: 10px; img { max-width: 100%; max-height: 100%; } } .title { flex: auto 1 0; text-align: center; } } } .breadcrumbs { margin: 10px 0; } .images { margin: 10px 0; .download { display: flex; flex-direction: row; justify-content: end; margin: 10px 0 20px; .button { padding: 10px 25px; border-radius: 10px; background-color: #7181e3; color: black; font-weight: bold; text-decoration: none; &:hover { text-decoration: underline; } } } }