.flex-cards { display: flex; flex-flow: wrap; justify-content: space-evenly; margin-top: 0rem; margin-bottom: 0rem; text-align: center; } .card { @include drop-shadow; width: 13rem; margin: 0.5rem; .badge { @include drop-shadow( $offset-x: 0.2rem, $offset-y: 0.2rem, $color: rgba(black, 0.25) ); } } .card-body { justify-content: center; align-items: center; padding: .5rem; .card-title { margin-bottom: .5rem; margin-top: .5rem; } } .card-img-equal { width: 100%; height: 8rem; object-fit: cover; } .image-card { @include drop-shadow; max-height: 9rem; border: 0; .card-text { text-shadow: 2px 2px 8px black; } .card-img { height: 100%; width: 100%; object-fit: cover; mix-blend-mode: hard-light; filter: brightness(50%); } .card-img-overlay { display: flex; flex-direction: column; justify-content: flex-start; } a { color: white; &:hover { color: $color-helmholtz-bright-blue; } } h4 { margin: 0; } }