body{
  font-family: "Source Sans Pro", sans-serif;
  
}

.cards {
  display: grid;
  /* Update this when the no of cards increase. 
  Currently set to  3 to fix the screen-size issue */
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 40px;
}

.card {
  display: grid;
  grid-template-rows: max-content 200px 1fr;
  padding-bottom: 1px;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 998px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px;
  padding: 2px 16px;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.wrap{
  position: relative;
}
.wrap a{
  position: absolute;
  width:100%;
  height:100%;
  top:0px;
  left:0px;
}