@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");

/*
#002B7F Azul padrão
#7A897F Cinza Claro Padrão
#F77E41 Laranja
#383838 Cinza Escuro
#1A4A73 Novo Azul
#66C430 Verde Sustentabilidade
*/

* {
  font-family: "Roboto", sans-serif;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  color: #1a4a73;
}

body {
  /* background-color: #1a4a73; */
  background: url("../img/background.jpg") no-repeat right;
  background-size: cover;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a4a73;
  opacity: 0.4;
  z-index: -1;
}

.logo {
  width: 250px;
}

.title {
  color: white;
}

header {
  display: flex;
  width: 70%;
  padding: 25px 20px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 70%;
  margin: 0 auto;
}

div.card {
  display: flex;
  flex-direction: column;
}

div.card-header {
  border: 1px solid #3680c2;
  border-bottom: none;
  padding: 10px 0px;
  border-radius: 7px 7px 0px 0px;
  background-color: #e0e9f0;
  text-align: center;
}

div.card-body {  
  border: 1px solid #3680c2;
  background-color: #ffffffe8;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: 0px 0px 7px 7px;
}

h2 {
  width: 100%;
}

h3 {
  border-bottom: 1px solid #66c430;
  padding: 5px 0px;
}

.box-item {
  width: 30%;
  padding: 10px;  
}

ul {
  list-style: none;
  /* border: 1px solid green;   */
}

li {
  display: flex;
  margin: 5px 0px;
}

li a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  padding: 5px;
  border-radius: 10px;
  transition: 0.75s ease;
}

li a:hover {
  background-color: #66c43044;
}

a svg {
  height: 24px;
  width: 24px;
  /* border: 1px solid green; */
  /* fill: #66C430; */
  fill: #f77e41;
}

footer {
  font-weight: 300;
  color: white;
  text-align: center;
  padding: 30px 0;
}

footer a {
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  header,
  main {
    width: 90%;
  }
}

@media screen and (max-width: 800px) {
  header,
  main {
    width: 95%;
  }

  h1 {
    font-size: 1.5rem;
  }

  H2 {
    font-size: 1rem;
  }

  h3 {
    font-size: 0.9rem;
  }

  li a {
    font-size: 0.75rem;
  }

  .box-item {
    width: 33%;
  }
}

@media screen and (max-width: 600px) {
  .logo {
    width: 200px;
  }

  header,
  main {
    width: 85%;
  }

  h1 {
    font-size: 1.2rem;
  }

  H2 {
    font-size: 1rem;
  }

  h3 {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }

  li a {
    font-size: 0.75rem;
  }

  .box-item {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
