/* Flex styles -------------------------------------------------*/
header {
  display: flex;
  align-items: center;
  background-color: #007c3c;
}

footer {
  /* border-top: solid 5px #f0c714; */
  margin: 20px 0 0 auto;
  padding:5px;
  text-align: center !important;
  color: #fff;
  bottom: 0 !important;
}

footer p {
  text-align: center;
  margin: 0 auto !important;
}

header h1 {
  text-shadow: 2px 2px 10px rgb(0, 0, 0);
}

@media (min-width: 700px) {
 .leading {
    display: flex;
    align-items: center;
  }
}


/* Grid styles -------------------------------------------------*/
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 30px;
}

.cardsMaiores {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 8px;
}


/* Generic styles ----------------------------------------------*/
body {
  font-family: 'Quicksand', sans-serif;
}

main {
  margin: auto 20px;
}

header {
  padding: 10px;
  background-image: url('img/header.jpg');
  font-size: 2em;
  color: white;
  background-color: #007c3c;
  height: 80px;
  border-bottom: solid 5px #f0c714;
}

header.agenda {
  padding: 10px;
  background-image: url('img/header.jpg');
  font-size: 2em;
  color: white;
  background-color: #007c3c;
  height: 110px !important;
  border-bottom: solid 5px #f0c714;
}

header h1 {
  text-shadow: 2px 2px 10px rgb(0, 0, 0);
  margin-left: 5%;
}
h2 {
  color: #007c3c;
  font-weight: bold;
  font-size: 1.2em;
}

h2.titulo {
  max-width: 1024px;
  margin: 0 auto;
  /*padding: 10px 0;*/
  padding: 30px 0 10px; /*Utilizar na ausência da <section class="leading"> */
  clear: both;
}

img.logo30anos {
  position: absolute;
  right: 40%;
}
img.logoCamaraSenado {
  position: absolute;
  right: 5%;
}

.leading {
  height: 240px;
  margin: 20px 0;
  padding: 30px;
  color: white;
  background: url('#') center #333 no-repeat;
  background-size: cover;
  color: white;
  text-shadow: 2px 0px 5px #000;
}

.leading-bigtext {
  margin-right: 10px;
  font-weight: bold;
  font-size: 24vw;
}

.leading-bigtext span {
  font-size: 10vw;
}

@media (min-width: 700px) {
  .leading-bigtext {
    font-size: 140px;
  }
}

.leading-text {
  max-width: 900px;
  font-size: 1.2em;
  line-height: 1.4em;
}

.cards, .cardsMaiores {
  max-width: 1024px;
  margin: 0 auto;
  margin-bottom: 20px;
  border-top: solid 2px #f0f0f0;
  padding-top: 20px;
  clear: both;
}

article {
  position: relative;
  margin-bottom: 30px;
  transition-duration: 0.5s;
}

/*article:hover{
  opacity:1;
}*/

article .container {
  text-align: center;
  display: block;
}

article a.button {
  background: #007c3c;
  background-image: -webkit-linear-gradient(top, #007c3c, #07572e);
  background-image: -moz-linear-gradient(top, #007c3c, #07572e);
  background-image: -ms-linear-gradient(top, #007c3c, #07572e);
  background-image: -o-linear-gradient(top, #007c3c, #07572e);
  background-image: linear-gradient(to bottom, #007c3c, #07572e);
  -webkit-border-radius: 4;
  -moz-border-radius: 4;
  border-radius: 4px;
  font-family: Arial;
  color: #ffffff;
  font-size: 18px;
  padding: 5px 14px;
  text-decoration: none;
  text-align: center;
}

article a.button:hover {
  background: #009649;
  background-image: -webkit-linear-gradient(top, #009649, #005c2c);
  background-image: -moz-linear-gradient(top, #009649, #005c2c);
  background-image: -ms-linear-gradient(top, #009649, #005c2c);
  background-image: -o-linear-gradient(top, #009649, #005c2c);
  background-image: linear-gradient(to bottom, #009649, #005c2c);
  text-decoration: none;
}

.article-img {
  height: 200px;
  /*width: 100%;*/
  object-fit: cover;
  -webkit-box-shadow: 2px 2px 20px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 2px 20px 0px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 20px 0px rgba(0,0,0,0.75);
  opacity:1;
  transition-duration: 0.5s
}

.article-img:hover, .article-img-semSombra:hover {

  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  opacity:0.9;
  /*-webkit-transform: rotateZ(-5deg);
  -ms-transform: rotateZ(-5deg);
  transform: rotateZ(-5deg);*/
}

.article-img-semSombra {
  height: 200px;
  object-fit: cover;
  transition-duration: 0.5s
}

.article-title {
  /*position: absolute;*/
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.2);
  text-align: center;
  height: 33px;
  font-variant: all-small-caps;
}

@media (max-width:767px){
  header{
    height: auto;
  }
  img.logo30anos {
    position: absolute;
    right: 5%;
    height: 45px;
  }
  img.logoCamaraSenado {
    display: none;
  }
}

@media (max-width:483px){
    h2{
      text-align: center;
    }
}

@media (max-width:380px){
  header h1{
    font-size: 18px;
  }
  img.logo30anos {
    position: absolute;
    right: 5%;
    height: 30px;
  }
}
