/* ----- PRESET START ----- */

* {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}
a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit;
}
.btn,
.btn:hover,
.btn:focus,
.btn:active {
  background-color: #ddad5c;
  border-color: none;
  border-radius: 0.25rem;
  cursor: pointer;
}
/* ----- PRESET END ----- */

/* ----- HEADER START ----- */
#header {
  background-color: #fff;
  border-bottom: double 2px rgba(0, 0, 0, 0.1);
}
#buscar {
  display: flex;
  align-items: center;
  justify-content: center;
}
#buscar input {
  border-radius: 0.75rem 0 0 0.75rem;
  padding: 0 1em;
}
#buscar .btn-buscar,
#buscar .btn-buscar:hover,
#buscar .btn-buscar:focus,
#buscar .btn-buscar:active {
  background-color: #ddad5c;
  border-color: #ddad5c;
  border-radius: 0 0.75rem 0.75rem 0;
  cursor: pointer;
}
#navbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1em 0;
}
#navbar img {
  display: inline-block;
  max-height: 40%;
  max-width: 40%;
}
#navbar h2 {
  display: inline-block;
  margin-left: 0.5em;
}
/* ----- HEADER END ----- */

/* ----- MAIN START ----- */
main#content {
  border-top: 2px double rgba(0, 0, 0, 0.1);
}
main section {
  margin-top: 4em;
}
#content.artigo a {
  color: #ddad5c;
}
#banner {
  background-color: #f2f2f2;
  padding: 2em;
}
.banner-img {
  display: flex;
  justify-content: center;
  position: relative;
}
.banner-img img {
  max-height: 425px;
}
#banner .banner-text {
  border-left: 5px solid #ddad5c;
  padding: 0 1em;
  position: absolute;
  bottom: 5%;
  left: 15%;
}
#banner .banner-text h3 {
  color: #fff;
  text-shadow: 2px 3px 1px #000;
}
#articles .article {
  padding: 2em;
}
#articles .article:hover {
  box-shadow: 0px 7px 15px;
}
#articles .article {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#articles .article img {
  max-width: 90%;
}
#articles .article .fa-clock {
  color: #ddad5c;
  margin-right: 0.75em;
}
#articles .article .data {
  font-size: 0.75rem;
}
/* ----- MAIN END ----- */

/* ----- FOOTER START ----- */
footer {
  background-color: #fff;
  border-top: 2px double rgba(0, 0, 0, 0.1);
  margin-top: 4em;
  padding: 2em 0;
}
#footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#footer #site img {
  margin: 0 0.5em;
  max-width: 30%;
}
#footer #site img,
#footer #site h3 {
  display: inline-block;
}
#footer #site img {
  margin-bottom: 2em;
}
#footer #site h3 {
  margin-bottom: 0;
}
#footer ul li {
  list-style: none;
}
#footer #contact {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 2em;
}
#contact #email {
  display: flex;
}
#contact #email button,
#contact #email button:hover,
#contact #email button:focus,
#contact #email button:active {
  border: none;
  border-radius: 0.75rem 0 0 0.75rem;
  background-color: #ddad5c;
  cursor: pointer;
}
#contact #email input {
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 0 1em;
  width: 90%;
}
#footer ul#social-icons {
  margin-top: 2em;
  padding: 0;
}
#footer ul#social-icons li {
  display: inline-block;
}
#footer ul#social-icons li:not(#not) {
  margin-right: 1em;
}
#footer #links li {
  margin-bottom: 0.5em;
}
#author p {
  text-align: center;
  margin-bottom: 0;
}
/* ----- FOOTER END ----- */

/* ----- BREAKPOINTS ----- */

@media (max-width: 767px) {
  #navbar {
    justify-content: center;
    padding: 1em;
  }
  #navbar #brand {
    margin-bottom: 1em;
  }
  #navbar input {
    width: 65%;
  }
  #articles .article {
    flex-wrap: wrap;
  }
  #footer {
    flex-direction: column;
    text-align: center;
  }
  #footer #contact {
    margin-top: 4em;
  }
  #footer #links {
    padding: 0;
  }
}

@media (max-width: 576px) {
  #banner .banner-text {
    display: none;
  }
}

@media (max-width: 375px) {
  .banner-img img {
    max-height: 230px;
  }
}
