@import url("https://fonts.googleapis.com/css?family=Playfair+Display|Source+Sans+Pro:200,400");





.breweries a {
  background-color: #8ecf3f;
  text-decoration: none;
  color: white;
  border-radius: 0.25rem;
  text-align: center;
  display: inline-block;
  transition: all 0.3s;

}

.hero a {
  background-color: goldenrod;
  text-decoration: none;
  color: white;
  border-radius: 0.25rem;
  text-align: center;
  display: inline-block;
  transition: all 0.3s;
    
}

.hero a:hover {
  opacity: 0.6;
}

.breweries a:hover {
  opacity: 0.6;
}


/* Styles for the hero image */
.hero {
  background: url("../img/banner-servicios.jpg") center;
  background-size: cover;
  padding: 8rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}


.uno {
  background: url("../img/desatascos-desemboces.jpg") ;
  background-size: cover;
  padding: 8rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}


.dos {
  background: url("../img/banner-productos.jpg") center ;
  background-size: cover;
  padding: 8rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}


.tres {
  background: url("../img/banner-trabajos.jpg");
  background-size: cover;
  padding: 8rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}


.hero > * {
  color: white;
}

.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: 0.75rem;
}

/* breweries styles */
.breweries {
  padding: 2rem;
}

.breweries > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  list-style: none;
}

.breweries > ul > li {
  border: 1px solid #e2e2e2;
  border-radius: 0.5rem;
}

.breweries > ul > li > figure {
  max-height: 220px;
  overflow: hidden;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.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, 0.7);
  width: 100%;
}

.breweries > ul > li > figure > figcaption > h3 {
  color: white;
  padding: 0.75rem;
  font-size: 1.25rem;
}

.breweries > ul > li > p {
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem 0.75rem;
  color: #666666;
}

.breweries > ul > li > a {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
}





/* sup styles */


#sup {
  text-align: center;
}
#sup h2 {
  text-align: center;
  font-size: 4.6em;
  text-transform: capitalize;
  margin-top: 0;
  line-height: 1;
  color: #ff4136;
  font-weight: 300;
}
#sup h2:after {
  display: none;
}
#sup h3 {
}
#sup p {
  color: #001f3f;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: normal;
  line-height: 21px;
  text-align: center;
  width: 60%;
  display: block;
  margin: 0 auto;
  padding-bottom: 40px;
}
#sup .button-uno {
  border: 0;
  color: #fff;
  height: 50px;
  line-height: 48px;
  font-size: 0.9rem;
  padding: 0 40px;
  background: #8ecf3f;
  display: inline-block;
  margin: 0 auto;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}


#sup .white {
  color: #001f3f;
  font-weight: 700;
}

@media all and (max-width: 550px) {
  #sup button-uno {
    margin-bottom: 20px;
  }
  #sup h2 {
    font-size: 2.2em;
  }
  #sup p {
    font-size: 0.8em;
    line-height: 21px;
    width: 100%;
  }
}
