* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

/* Main padrão */
.principaisNoticias {
  padding: 20px;
  background-color: #ffffff;
  text-align: center;
  margin: 20px auto;
  max-width: 1800px;
  border-radius: 8px;
  height: 100%;
}

.menu-materias a {
  color: #ffffff;
  text-decoration: none;
}

.principaisNoticias h2 {
  color: #030303;
  font-size: 28px;
  margin-bottom: 20px;
  display: inline-block;
  padding-bottom: 10px;
}

.titulo00 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo00 h1 {
  color: #030303;
  font-size: 3rem;
}

.linhaTituloNoticias {
  background-color: #308640;
  height: 4px;
  width: 250px;
  margin: 0 auto 90px;
}

/* Parte noticias */

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 60px;
  margin-left: 6rem;
  margin-bottom: 20px;
  margin-top: 20px;
}

.noticia-card {
  background-color: #b8b8b8;
  width: 400px;
  height: 400px;
  border-radius: 30px;
  transition: transform 0.5s;
}

.noticia-card:hover {
  background-color: #308640;
  transition: calc(0.5s);
  transform: scale(1.05);
}

.noticia-card img {
  width: 400px;
  height: 300px;
  border-radius: 30px 30px 0 0;
}

.noticia-card a {
  text-decoration: none;
  color: black;
}

/* menu com JS */

.menu-materias ul {
  background-color: #e30613;
  backdrop-filter: blur(10px);
  position: absolute;
  top: 82px;
  z-index: 9999;
  left: 77.5%;
  width: 405px;
  height: 0;
  visibility: hidden;
  transition: 0.5s;
  overflow: hidden;
  margin-right: 0;
}

.menu-materias.abrir ul {
  visibility: visible;
  height: calc(80% - 18%);
}

.menu-materias ul li:hover {
  background-color: #9a1915;
}

.menu-materias ul li {
  display: block;
  padding: 10px 30px;
  font-size: 16px;
  text-align: center;
}

.menu-materias ul li a {
  color: #ffffff;
  text-decoration: none;
}
#btn-menu {
  width: 45px;
  height: 45px;
  border: 0px solid #ff0000;
  background: transparent;
  border-radius: 10px;
  position: absolute;
  right: 30px;
  top: 20px;
  cursor: pointer;
}

.linha {
  width: 40px;
  height: 3px;
  background-color: #ffffff;
  display: block;
  margin: 10px auto;
  position: relative;
  transform-origin: center;
  transition: 0.2s;
}
#btn-menu.ativo .linha:nth-child(1) {
  transform: translateY(12px) rotate(-45deg);
  background-color: #ffffff;
}
#btn-menu.ativo .linha:nth-child(3) {
  transform: translateY(-15px) rotate(45deg);
  background-color: #ffffff;
}
#btn-menu.ativo .linha:nth-child(2) {
  width: 0;

  height: 4px;
}
#btn-menu.ativo {
  border: 0px solid #000000;
}

/* Parte padrão */
.sociologia-header {
  display: flex;
  color: #ffffffff;
  background-color: #e30613;
  padding: 1rem 0;
}

.logo-header {
  margin: 0 30px;
  display: flex;
  gap: 40px;
  background-color: #e30613;
}

.section-img {
  align-items: center;
  justify-content: space-between;
  display: flex;
  flex-direction: row;
}

.img-content {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  border: 5px solid #9a1915;
}

.header-nav {
  list-style: none;
  margin: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.links {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 60px;
  margin-right: 50px;
}

.links a {
  display: flex;
  color: #ffffff;
  font-size: 1.3rem;
  border-bottom: 3px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.vertical-line {
  height: 50px;
  width: 3px;
  background-color: #ffff;
  margin: 0 20%;
}

.logo-header {
  margin: 0 40px;
  display: flex;
  justify-content: space-between;
  background-color: #e30613;
  height: 50px;
}

.banner {
  padding: 0;
  width: 100%;
  height: 400px;
  filter: brightness(0.6);
  object-fit: cover;
  object-position: 20% 10%;
}

.bannerMobile {
  display: none;
}

.titulo {
  position: absolute;
  top: 30%;
  left: 300px;
  transform: translate(-44%, -50%);
  color: white;
  font-size: 50px;
  font-weight: bold;
}

#line {
  height: 5px;
  margin: 20px auto;
  width: 20%;
  background-color: #9a1915;
}

.header-nav .nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
}

.icones {
  background-color: #e30613;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.topics-header {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 40px;
}

#intro-content {
  max-width: 60%;
  margin-bottom: 50px;
}

/* Footer */
.footer-text {
  background-color: #9a1915;
  color: white;
}

.header-nav .nav-link {
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  margin: 6px;
  color: #ffffffff;
}

.footer {
  background-color: #9a1915;
  color: white;
}

.icones a {
  margin-top: 7px;
}

.footer-text {
  background-color: #9a1915;
  color: white;
}

.enderecos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 100px;
}

/* Parte navegação */
.aba-item04 {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  outline: none;
  width: 250px;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.aba-text-check04 {
  color: rgb(255, 255, 255);
  text-align: center;
  text-decoration: none;
}

.aba-item-check04 {
  background-color: #308640;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  width: 250px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

.aba-text04 {
  color: rgb(0, 0, 0);
  text-align: center;
  justify-content: space-between;
  text-decoration: none;
}

.aba-item01 {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  outline: none;
  width: 250px;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.aba-text-check01 {
  color: rgb(255, 255, 255);
  text-align: center;
  text-decoration: none;
}

.aba-item-check01 {
  background-color: #308640;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  width: 250px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

.aba-text01 {
  color: rgb(0, 0, 0);
  text-align: center;
  justify-content: space-between;
  text-decoration: none;
}

.aba-item02 {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  outline: none;
  width: 250px;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.aba-text-check02 {
  color: rgb(255, 255, 255);
  text-align: center;
  text-decoration: none;
}

.aba-item-check02 {
  background-color: #308640;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  width: 250px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

.aba-text02 {
  color: rgb(0, 0, 0);
  text-align: center;
  justify-content: space-between;
  text-decoration: none;
}

.aba-item03 {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  outline: none;
  width: 250px;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.aba-text-check03 {
  color: rgb(255, 255, 255);
  text-align: center;
  text-decoration: none;
}

.aba-item-check03 {
  background-color: #308640;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  width: 250px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

.aba-text03 {
  color: rgb(0, 0, 0);
  text-align: center;
  justify-content: space-between;
  text-decoration: none;
}

.aba-item05 {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  outline: none;
  width: 250px;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.aba-text-check05 {
  color: rgb(255, 255, 255);
  text-align: center;
  text-decoration: none;
}

.aba-item-check05 {
  background-color: #308640;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  width: 250px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

.aba-text05 {
  color: rgb(0, 0, 0);
  text-align: center;
  justify-content: space-between;
  text-decoration: none;
}

.aba-item06 {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  outline: none;
  width: 250px;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.aba-text-check06 {
  color: rgb(255, 255, 255);
  text-align: center;
  text-decoration: none;
}

.aba-item-check06 {
  background-color: #308640;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  width: 250px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

.aba-text06 {
  color: rgb(0, 0, 0);
  text-align: center;
  justify-content: space-between;
  text-decoration: none;
}

.aba-item01:hover {
  background-color: #308640;
  transition: calc(0.5s);
}

.aba-item02:hover {
  background-color: #308640;
  transition: calc(0.5s);
}

.aba-item03:hover {
  background-color: #308640;
  transition: calc(0.5s);
}

.aba-item04:hover {
  background-color: #308640;
  transition: calc(0.5s);
}

.aba-item05:hover {
  background-color: #308640;
  transition: calc(0.5s);
}

.aba-item06:hover {
  background-color: #308640;
  transition: calc(0.5s);
}

@media (max-width: 900px) {
  /* header */
  .logo-header img {
    width: 90px;
    height: 40px;
    margin-top: 7px;
  }

  .logo-header {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }

  .links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-left: -6rem;
  }

  #btn-menu {
    margin-top: 15px;
  }

  .menu-materias ul {
    width: 100%;
    left: 0;
    margin-top: 7%;
  }

  .titulo {
    font-size: 30px;
    left: 150px;
    margin-top: 10%;
  }

  .vertical-line {
    display: none;
  }

  .topics-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* conteúdo */

  .container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 20px;
    margin-left: 0;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .noticia-card {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .noticia-card img {
    width: 100%;
    height: 150px;
  }

  .noticia-card h3 {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }

  /* footer */

  .icones {
    gap: 50px;
  }

  .enderecos {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 10px;
    height: 100%;
  }

  .sesi {
    margin-bottom: 20px;
  }

  .senai {
    margin-top: 10px;
  }

  .enderecos img {
    display: none;
  }
}
