/* Typography imported from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Source+Sans+Pro:200,400');

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

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

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

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

a:hover {
  opacity: .6;
}

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

.headimg > * {
  color: #163d90;
}

.headimg > h1 {
  font-size: 4rem;
  text-align: center;
/*   padding-bottom: 1rem; */
}

.headimg > article > p {
  font-size: 1.5rem;
  font-weight: 400;
}

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

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

.location > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  grid-gap: 1rem;
}

.location > ul > li {
/*    border: 1px solid #E2E2E2;
  border-radius: .5rem;*/
}

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

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

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

.location > ul > li > figure > figcaption > h3 {
  color: white;
  padding: .75rem;
  font-size: 1.25rem;
  background-color: #163d90;
  width: fit-content;
}

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

.location > ul > li > a {
  font-size: 2.5rem;
  padding: .5rem 1rem;
  margin: .5rem;
}

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

ul {list-style-type: none}

.logo a {
  background-color: #fff;
  text-decoration: none;
  margin: 0.5rem;
}

.logo a:hover {
  opacity: .6;
}

