/* Flex styles -------------------------------------------------*/
header {
  display: flex;
  align-items: center;
}

@media (min-width: 700px) {
 .leading {
    display: flex;
    align-items: center;
  }
}


/* Grid styles -------------------------------------------------*/
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 30px;
}


/* Generic styles ----------------------------------------------*/
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #ccc;
}
@font-face {
  font-family: 'Double';
  src: url('Double.ttf');
}

header {
  padding: 10px;
  font-size: 2em;
  color: white;
  background-color: #333;
  font-variant: small-caps;
}


a:link {
  color: black;
  font-weight: bold;
}


a:visited {
  color: black;
  font-weight: bold;
}


a:hover {
  color: yellow;
  font-weight: bold;

}
.logo {
  height: 10px;
  margin-right: 20px;
}

.leading {
  height: 240px;
  margin-bottom: 30px;
  padding: 30px;
  color: white;
  background: url('banner.jpg') center #333 no-repeat;
  background-size: cover;
  color: white;
  text-shadow: 0px 0px 5px #000;

}

.leading-bigtext {
  margin-right: 60px;
  font-weight: bold;
  font-size: 24vw;
  font-family: 'Double';
}

@media (min-width: 700px) {
  .leading-bigtext {
    font-size: 140px;
  }
}

.leading-text {
  max-width: 900px;
  font-size: 1.2em;
  line-height: 1.4em;
{ font-family: 'Double', serif; }
}

.cards {
  max-width: 960px;
  margin: 0 auto 30px;
}

article {
  position: relative;
}

.article-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.article-title {
  position: absolute;
  bottom: 0;
  width: 80%;
  height:10%;
  padding: 5px;
  background-color: rgba(192, 192, 192, 0.8);
}


@font-face {
  font-family: 'double';
  src: url('double.ttf');
}
