h1, h2, h3, h4, h5, h6 {
/*  font-family: 'Playfair Display', serif;
*/
  font-family: "Nunito Sans", sans-serif;
}

p, a {
/*  font-family: 'Source Sans Pro', sans-serif; */
  font-family: "Nunito Sans", sans-serif;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
}

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

a {
  background-color: #ccd;
  text-decoration: none;
  color: black;
  border-radius: .25rem;
  text-align: center;
  display: inline-block;
  transition: all .3s;
  font-weight: 500;
}

a:hover {
  opacity: .6;
}

/* Styles for the hero image */
.hero {
  /* Photo by mnm.all on Unsplash */
/*  background-color: #8bb1e2; */
  background-color: lime;
  background-size: cover;
  padding: 0.5rem 0.5rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.hero > * {
  color: white;
}

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

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

.hero > article > a {
  padding: 0.5rem;
  margin-top: 0.5rem;
  text-align: right;
}

.hero.admin {
  background-color: crimson;
}
/* breweries styles */

.breweries {
  padding: 0.1rem;
  margin-top: 0em;
}

.breweries > ul {
  display: grid;
  grid-template-columns: repeat(8, minmax(150px, 1fr));
  grid-gap: 0.5rem; 
  list-style-type: none; 
  padding-inline-start: 5px; 
  margin-top: 0;
}

@media (max-width: 100px) {
    .breweries > ul {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 1rem; 
    }
}

.breweries > ul > li {
  border: 0px solid #E2E2E2;
  border-radius: .5rem;
  margin: 0em;
  font-size: 13px;

}

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

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

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

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

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

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

.gePjGL {
  font-size: 15px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
  border-bottom: 2px solid #E2E2E2;
  margin: 1em 0em 0em 0em;
}

.cLxDFz {
  border: 0px solid #E2E2E2;
}

.downer {
  position: absolute; 
  top: 150px;
}

.bxeJSS {
  background-color: #e0e0ef;
  padding: 0.5em;
  font-size: 1.2em;
}

.bxeDevAdmin {
  background-color: #e0e0ef;
  padding: 0.5em;
  font-size: 1.5em;
}

.dropdown-content li > span {
  font-size: 20px;
}

.pagewrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-bottom: 60px;
}

main {
  flex-grow: 1;
}

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

footer {
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: auto;
  background-color: #8bb1e2;
  color: #fff;
}

footer.admin {
  background-color: crimson;
}

.clear { clear: both; height: 60px; }

.adminrow {
  width: 95%;
  border: 3px solid #3c3;
}

.adminbox {
  width: 50%;
  float: left;
}

.adminbanner {
  background-color: crimson;
}
.admintitle {
  position: relative;
  bottom: 0;
  font-weight: 800;
  background-color: #aaa;
  text-transform: uppercase;
}

.firstbox {
  height: 44px;
  postion: absolute;
  bottom: 0;
  font-size: 1.0rem;
  font-weight: 800;
  text-align: center;
  background-color: #fff;
  padding: 2px;
  border-bottom: 2px solid #444;

}

.firstbox-admin {
  min-height: 40px;
  postion: absolute;
  bottom: 0;
  font-weight: 500;
  background-color: #aaa;
  padding: 2px;
}

.hsvqWq {
  position: relative;
  bottom: 0;
  font-weight: 500;
  text-transform: capitalize;
}

.nonfirst {
  margin-top: 20;
  text-align: center;
  background-color: #fff;
  padding: 2;
  font-size: 1.3rem;
  border-bottom: 2px solid #444;
}

.devicenav {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}