/*#region Variables*/ :root { --black: black; --trancelucent: rgba(0, 0, 0, 0.5); --white: white; --blue: #007ea7; --navy-blue: #003459; --ice_blue: #c2eafc; --spacing-small: 4px; --spacing-big: 16px; } /*#endregion*/ /*#region Base Styling*/ html, body { margin: 0; padding: 0; } body { font-family: Arial, sans-serif; background-color: var(--ice_blue); color: var(--black); } button { background-color: var(--blue); padding: var(--spacing-small); border: none; cursor: pointer; } button:hover { background-color: var(--navy-blue); } /*#endregion*/ header { position: sticky; background-color: var(--navy-blue); box-shadow: 0 var(--spacing-small) var(--spacing-small) var(--trancelucent); color: var(--white); height: 64px; display: flex; justify-content: center; align-items: center; } header > h1 { margin: 0; } /*#region Entries*/ ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-big); } li { background-color: var(--white); margin: 0; padding: var(--spacing-big); display: flex; flex-direction: column; } li :nth-child(3) { flex-grow: 1; } li > figure{ position: relative; padding: 0; margin: 0; } li > figure > img { aspect-ratio: 5/2; object-fit: cover; width: 100%; height: 100%; } li > figure::before { content: ""; position: absolute; width: 100%; height: 100%; box-shadow: inset 0 0 16px 2px var(--trancelucent); } /*#endregion*/ footer { background-color: var(--blue); outline: 5px solid var(--black); color: var(--white); height: 64px; width: 100%; display: flex; justify-content: center; align-items: center; } footer > p { margin: 0; height: min-content; }