.has-equal-height { height: 100%; display: flex; flex-direction: column; } content figure img { filter: drop-shadow(4px 4px 5px grey); } a, a:hover { color: rgb(74, 74, 74); } .card { box-shadow: 10px 15px 25px 0 rgba(0,0,0,.2); } html, body { height: 100%; } body { display: flex; flex-direction: column; } section { flex: 1 0 auto; } footer { margin-top : 3em; } .media-flex { display: flex; flex-direction: column; width: 100%; overflow-x: clip; } @media screen and (min-width: 769px){ .divide { height: 100%; } } .divide { padding-left: 1em; padding-right: 2em; border-top-width: 0px; border-bottom-width: 0px; border-right-width: 1px; border-style: solid; border-color: rgb(226 232 240); border-left-width: 0px; } .note:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); } .plus-articles { width: 100%; display: flex; justify-content: center; margin: 1em; box-shadow: 10px 15px 25px 0 rgba(0,0,0,.2); padding: 1em; } @media screen and (max-width: 768px) { .overlay { background-color: #eff5fb; color: #296fa8; display: flex; justify-content: center; padding: 1em; } } .overlay:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); background-color: #e6e9f7; border-color: rgba(0,0,0,0); color: #3850b7; } @media screen and (min-width: 769px) { .overlay { display: flex; align-items: center; position: relative; right: 4.5em; border-radius: 0.25em; padding: 1em; background-color: #eff1fa; color: #3850b7; } }