html {
  background: #f5f7f8;
  font-family: -apple-system, BlinkMacSystemFont, segoe ui, roboto, oxygen, ubuntu, cantarell, fira sans, droid sans, helvetica neue, sans-serif;
  /* font-family: 'Roboto', sans-serif; */
  -webkit-font-smoothing: antialiased;
  padding: 20px 0;
  font-feature-settings: "kern", "liga", "pnum";
  font-size: 1em;
  line-height: 1.45;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  color: #16141A;
}

.grid-header {
  text-align: center;
  grid-row: 1;
  grid-column: 1/-1;
  text-align: left;
}

.navigator .back {
  color: #736E7D;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
}

.grid-header h1 {
  font-size: 34px;
  line-height: 1.24;
  letter-spacing: .4px;
  margin-bottom: 8px;
  margin-top: 0;
  padding-top: 16px;
  font-size: 40px;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}

.fade-enter, .fade-leave-to
/* .fade-leave-active below version 2.1.8 */

  {
  opacity: 0;
}

header h1 {
  font-size: 34px;
  line-height: 1.24;
  letter-spacing: .4px;
  margin-bottom: 8px;
  margin-top: 0;
  padding-top: 16px;
}

.band {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-gap: 20px;
}

@media only screen and (min-width: 500px) {
  .band {
    grid-template-columns: 1fr 1fr;
  }
  /* .item-1 {
    grid-column: 1/ span 2;
  } 
  .item-1 h1 {
    font-size: 30px;
  } */
}

@media only screen and (min-width: 850px) {
  .band {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* card */

.card {
  border-radius: 8px;
  min-height: 100%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #444;
  position: relative;
  top: 0;
  transition: all .1s ease-in;
}

.card:hover {
  top: -2px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

.card.resource:hover .thumb {
  opacity: 1;
}

.card article {
  padding: 20px;
  display: flex;
  flex: 1;
  justify-content: space-between;
  flex-direction: column;
}

.card .thumb {
  border-radius: 8px 8px 0px 0px; 
  padding-bottom: 60%;
  background-size: cover;
  background-position: center center;
}

/* .card.resource .thumb {
  opacity: 0.4;
} */

.card p {
  flex: 1;
  /* make p grow to fill available space*/
  line-height: 1.4;
}

/* typography */

h1 {
  font-size: 20px;
  margin: 0;
  color: #333;
}

.card span {
  font-size: 12px;
  font-weight: bold;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 2em 0 0 0;
}