body {
  font-family: SF UI Text, sans-serif;
  color: #333;
  margin: 0;
  background: #f7f7f7;
  min-width: 1200px;
}
header {
  display:flex;
  height: 50vh;
  flex-direction: column;
  justify-content: flex-end;
}

header img.cover {
  position:absolute;
  width: 100%;
  max-width: 100%;
  height: 50vh;
  object-fit:cover;
}

h1 {
  font-family: Quicksand;
  text-align: center;
  text-align: -moz-center;
  text-align: -webkit-center;
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.2));
  filter: brightness(95%);
  color: #fff;
  line-height: 15vh;
  margin: 0;
}
.container {
  max-width: 960px;
  width: 100%;
  margin: auto;
}
/* Style the links inside the pill navigation menu */
.pill-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 2em 0;
}
.pill-nav a {
  display: inline-block;
  color: #333;
  text-align: center;
  padding: 0.5em;
  text-decoration: none;
  font-size: 18px;
  border-radius: 50%;

  margin-right: 5px;
  margin-left: 5px;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  background-color: #f0f0f0;
  min-width: 5em;
}

/* Change the color of links on mouse-over */
.pill-nav a:hover {
  border-style: solid;
  border-color: #7a69bf;
  color: #7a69bf;
}

/* Add a color to the active/current link */
.pill-nav a.active {
  border-color: hsla(250.1298701298701, 100.00%, 84.90%, 0.00);
  background-color: rgba(191, 178, 255, .5);
  color: #7a69bf;
}

.story-grid {
  display: grid;
  grid-template-columns: 33.33333% 33.33333% 33.33333%;
  grid-gap: 1em;
}
.story-item {
  background: radial-gradient(341.34px at 48.93% 9.33%, #DAECEF 0%, #B3D4DB 100%);
  height: 180px;
  position: relative;
  overflow: hidden;
  border-radius: 1em;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.07);
}

.story-item > img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: all .2s ease-in-out;
}

.story-item:hover > img {
  transform: scale(1.2);
  filter: blur(1px);
}

.story-item:hover {
  box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.1);
}

.story-item > a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  text-align: center;
  display:flex;
  flex-direction: column;
  justify-content: center;

  font-family: Quicksand;
  font-size: 1.5em;
  color: white;
  text-decoration: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
  transition: all .2s ease-in-out;
}
.story-date {
  font-family: sans-serif;
  font-size: 0.7em;
  margin-top: 0.25em;
}
