/* Typography imported from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Quantico');
@import url('https://fonts.googleapis.com/css?family=Saira');
@import url('https://fonts.googleapis.com/css?family=Overpass+Mono');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

body {
  font-family: 'Saira', sans-serif;
}

article > ul, ol {
  padding: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quantico', serif;
}

p, a {
  font-family: 'Saira', sans-serif;
}

/* Generic styles */
html {
  scroll-behavior: smooth;
}

.card-button {
  background-color: #fb9d19;
  text-decoration: none;
  color: white;
  border-radius: .25rem;
  text-align: center;
  display: inline-block;
  transition: all .3s;
}

a:hover {
  opacity: .6;
}

#banner {
    opacity: 1;
}
/* Styles for the hero image */
.hero {
  background: url('/images/pdzbannerwhite.png') center;
  background-size: cover;
  padding: 4rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.hero > * {
  color: black;
}

.hero > h1 {
  font-size: 4rem;
  padding-bottom: 1rem;
}

.hero > article > p {
  font-size: 1.5rem;
  font-weight: 200;
}

.hero > article > a {
  padding: 1rem;
  margin-top: .75rem;
}

/* card styles */
.card {
  padding: 2rem;
}

.card > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  list-style-type: none;
  padding: 0;
}

.card > ul > li {
  border: 1px solid #E2E2E2;
  border-radius: .5rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
}

.card > ul > li > figure {
  max-height: 260px;
  overflow: hidden;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  position: relative;
  margin: 0px;
}

.card > ul > li > figure > img {
  width: 100%;
}

.card > ul > li > figure > figcaption {
  position: absolute;
  bottom: 0;
  background-color: rgba(0,0,0,.7);
  width: 100%;
}

.card > ul > li > figure > figcaption > h3 {
  color: white;
  padding: .75rem;
  font-size: 1.25rem;
}

.card > ul > li > p {
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem .75rem;
  color: #666666;
}

.card > ul > li > a {
  padding: .5rem 1rem;
  margin: .5rem;
}

/* footer */
footer {
  background-color: #1679e1;
  padding: .75rem;
  color: white;
  text-align: center;
  font-size: 1.5rem;
}

footer > ul {
  padding: 0;
}

footer > ul > li {
  display: inline;
}

footer > a {
  display: inline;
  font-size: 1.5 rem;

  background-color: #fb9d19;
  text-decoration: none;
  color: white;
  border-radius: .25rem;
  text-align: center;
  display: inline-block;
  transition: all .3s;
}

.fa {
  padding: 5px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  color: white;
}

.article-container {
  background-color: #f0f0f0;  
  padding-top: 20px;
  padding-right: 10px;
  padding-bottom: 40px;
  padding-left: 10px;}

.page {
  background-color: #ffffff;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  border-color: #e7e7e7;
  border-image: none;
  border-style: solid;
  border-width: 1px;
  padding: 10px;
}

.references {
  vertical-align: top;
}
