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

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

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

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

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

a:hover {
  opacity: .6;
}

.terms {
  	list-style: none;
    color:white;
    font-size:1.5rem;
  
}


/* Styles for the hero image */
.hero {
  /* Photo by mnm.all on Unsplash */
 
  background-size: cover;
  padding: 4rem 2rem;
  /* 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;
  font-weight: 900;
    color: darkred;
    background: bisque;
}

.hero > article > p {
  font-size: 1.5rem;
      font-weight: 400;
    color: crimson;
    background: gainsboro;
    padding-left: 0.5em;

}

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

.text-section{
  padding:2rem;
  background:wheat;
}
.text-section h2{
  font-family:Archivo,sans-serif;
  font-weight:900;
  font-size:2.5rem;
}

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

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

.breweries > ul > li {
  border: 1px solid #E2E2E2;
  border-radius: .5rem;
  list-style: none;
  background: #F05133;
  object-fit: contain;
}

.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;
}


.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  background: teal;
  padding: 15px;
  list-style:none;
}
.container img {
  width: 100%;
  display: block;
  transition: all 100ms ease-out;
}
.container img:hover {
  transform: scale(1.04);

}
.list{
  list-style:none;
}


/*INSTRUCTIONS */

.instructions {  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "Text Text Pic"
      "pic2 text2 text2"
;
}
video {
  object-fit: cover;
}
.Pic { grid-area: Pic; 
        background-color:white;}

.Text { grid-area: Text;
        padding:1rem;
        background-color:white;
        }           
.text2 { grid-area: text2; 
        padding:1rem;
        background-color:white;
        }    
.pic2 { grid-area: pic2; 
        background-color:white;}





/* Footer */

.footer{
    background-color: #222;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}
.footer p {
    margin: 10px 0;
    font-family: 'Raleway', 'Lucida Sans Regular', 'Lucida  Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.footer .fa-heart{
    color: red;
}
.footer .fa-codepen{
  color:#fff
}
.footer a {
   color: #3c97bf;
   text-decoration: none;
  margin-right:5px;
}

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.archivo-<uniquifier> {
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

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

/*GLOW */
.glow {
  font-size: 80px;
  color: #fff;
  text-align: center;
  -webkit-animation: glow 1s ease-in-out infinite alternate;
  -moz-animation: glow 1s ease-in-out infinite alternate;
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
  }
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
  }
}