/* IMAGEM E CARDS */

/* Noticias não disponível */

.non_available_news {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin: 5rem 0;
}

.non_available_news i {
  animation: growL 1s linear alternate infinite;
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  border: solid 0.1rem var(--grey-weak);
  /* background: var(--blue); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-1-8);
  /* color: var(--white); */
}

.non_available_news span {
  border-bottom: solid 0.1rem var(--red);
  padding-bottom: 0.5rem;
}

@keyframes growL {
  from {
    font-size: var(--size-1-8);
  }

  to{
    font-size: var(--size-2-5);
  }
}

main .img_card_container {
  margin-top: 20rem;
  background: url("../images/redimen/homem_preto.jpg") no-repeat center;
  background-size: cover;
  height: 50rem;
  position: relative;
  /* padding-left: 6rem; */
}

main .img_card_container.detalhed {
  height: 30rem;
}

main .img_card_container .card {
  width: 30rem;
  height: auto;
  border-radius: 0.8rem;
  background: var(--white);
  padding: 2.8rem 2rem;
  position: absolute;
  top: -13%;
  left: 6rem;
}

main .img_card_container .card .img_label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

main .img_card_container .card .img_label .img_container {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
}

main .img_card_container .card .img_label .img_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

main .img_card_container .card .img_label .label h3 {
  font-size: var(--size-1-2);
  font-weight: bold;
  text-transform: uppercase;
  color: var(--dark-1);
}

main .img_card_container .card .img_label .label p {
  font-size: var(--size-1-1);
  font-weight: 400;
  color: var(--white-weak);
}

main .img_card_container h3 {
  font-size: var(--size-1-6);
}

main .img_card_container p {
  margin-top: 1rem;
  font-weight: 300;
  font-size: var(--size-1-4);
}

/* NOTICIAS */

main .noticias_container {
  margin-inline: auto;
  width: min(93ch, 100%);
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

main .noticias_container .title_input_search_container {
  padding-left: 8rem;
  padding-right: 5rem;
  position: relative;
  z-index: 2;
}

main .noticias_container .title_input_search_container .tittle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main .noticias_container .title_input_search_container .tittle h3 {
  font-weight: bold;
}

main .noticias_container .title_input_search_container .tittle h3:last-child {
  text-transform: uppercase;
}

main .noticias_container .title_input_search_container .input_search_container {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-top: 1rem;
  width: 100%;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .input_searh {
  background: var(--gray-bg-1);
  height: 2.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 0.8rem;
  padding-right: 0.5rem;
  border-radius: 1.5rem;
  position: relative;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .input_searh
  input {
  font-size: var(--size-1-5);
  height: 100%;
  width: 100%;
  background: transparent;
  outline: none;
  border: none;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia {
  position: absolute;
  top: 110%;
  right: 0;
  width: 100%;
  background: var(--white);
  border-radius: 0.5rem;
  max-height: 40rem;
  overflow: auto;
  padding-right: 0.5rem;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background: var(--blue);
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia
  span {
  font-size: var(--size-1-2);
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia
  .serachResult {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia
  .serachResult:hover
  span {
  color: var(--blue);
  text-decoration: underline;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia
  .serachResult:hover
  .nonActive {
  color: var(--dark-1);
  text-decoration: none;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia
  .serachResult:not(:last-child) {
  border-bottom: solid 0.1rem var(--grey-weak);
  padding-bottom: 0.5rem;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia
  .serachResult
  img {
  flex-shrink: 0;
  border-radius: 50%;
  height: 3rem;
  width: 3rem;
  border: solid 0.1rem var(--blue);
  object-fit: cover;
  object-position: center;
}

main
  .noticias_container
  .title_input_search_container
  .input_search_container
  .result_serachNoticia
  .serachResult
  span {
  font-size: var(--size-1-2);
}

main .noticias_container .noticias_cards_container {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(20rem, 1fr));
  gap: 5rem;
}

/* CARD */

main .noticias_container .noticias_cards_container .card .img_container {
  cursor: pointer;
  height: 20rem;
  position: relative;
  border-radius: 0.5rem;
  transition: transform 0.3s linear;
}

main
  .noticias_container
  .noticias_cards_container
  .card
  .img_container.father::after {
  position: absolute;
  pointer-events: none;
  content: "";
  bottom: 0;
  left: 0;
  height: 20%;
  width: 100%;
  border-radius: 0.5rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.897) 10%,
    rgba(0, 0, 0, 0)
  );
}

main .noticias_container .noticias_cards_container .card .img_container:hover {
  transform: scale(1.03);
}

main .noticias_container .noticias_cards_container .card .img_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}

/* IMG_LABEL */

main
  .noticias_container
  .noticias_cards_container
  .card
  .img_container
  .img_label {
  position: absolute;
  bottom: 3%;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

main
  .noticias_container
  .noticias_cards_container
  .card
  .img_container
  .img_label
  .img_container {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
}

main
  .noticias_container
  .noticias_cards_container
  .card
  .img_container
  .img_label
  .img_container
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

main
  .noticias_container
  .noticias_cards_container
  .card
  .img_container
  .img_label
  .label
  h3 {
  font-size: var(--size-1-8);
  font-weight: bold;
  text-transform: uppercase;
  color: var(--white);
}

main
  .noticias_container
  .noticias_cards_container
  .card
  .img_container
  .img_label
  .label
  p {
  font-size: var(--size-0-9);
  font-weight: 400;
  color: var(--white-weak);
}

/* DATA E IMAGEM */

main .noticias_container .noticias_cards_container .card .date_img {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* imagem */

main
  .noticias_container
  .noticias_cards_container
  .card
  .date_img
  .img_container_date {
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
}

main
  .noticias_container
  .noticias_cards_container
  .card
  .date_img
  .img_container_date
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* data */

main .noticias_container .noticias_cards_container .card .date_img .date {
  display: flex;
  align-content: center;
  gap: 0.5rem;
  color: var(--white-weak);
}

main .noticias_container .noticias_cards_container .card .date_img .date i {
  font-size: var(--size-0-8);
  display: flex;
  align-items: center;
  justify-content: center;
}

main .noticias_container .noticias_cards_container .card .date_img .date p {
  font-size: var(--size-1-2);
}

main
  .noticias_container
  .noticias_cards_container
  .card
  .date_img
  .date
  p
  span {
  color: var(--blue);
}

main .noticias_container .noticias_cards_container .card p.small_descrpt {
  margin-top: 0.5rem;
  font-size: var(--size-1-3);
  font-weight: bold;
  width: 90%;
}

main .noticias_container .noticias_cards_container .card .more_details {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--size-1-4);
}

main .noticias_container .noticias_cards_container .card .more_details a {
  color: var(--dark-1);
  text-decoration: none;
}
main .noticias_container .noticias_cards_container .card .more_details span {
  cursor: pointer;
  font-weight: 300;
  font-size: var(--size-1-3);
}

main
  .noticias_container
  .noticias_cards_container
  .card
  .more_details
  span:hover {
  text-decoration: underline;
}

/* Numeros de mudanca de noticias */

main .noticias_container .numbers_change_notice_container {
  margin-top: 4.5rem;
}

main .noticias_container .numbers_change_notice_container {
  display: flex;
  align-items: center;
  justify-content: center;
}

main .noticias_container .numbers_change_notice_container .elements_container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.3rem;
  padding: 0.1rem 0;
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .salt.first_page {
  margin-right: 1rem;
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .salt.last_page {
  margin-left: 1rem;
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .salt
  a {
  text-align: center;
  text-decoration: none;
  border-radius: 0.5rem;
  color: var(--dark-1);
  min-width: 9rem;
  display: block;
  padding: 1rem;
  border: solid 0.01rem var(--grey-weak);
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .salt
  a:hover {
  background: var(--gray-bg-1);
}

/* setas */

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  i.fa {
  cursor: pointer;
  height: 3rem;
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--white-weak);
  font-size: var(--size-1-5);
  transition: background 0.3s ease-in-out;
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .arrow_left {
  margin-right: 2rem;
}

.inactive {
  background: var(--grey_inactive) !important;
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .arrow_left
  a {
  display: block;
  text-decoration: none;
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .arrow_right {
  margin-left: 2rem;
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .arrow_right
  a {
  display: block;
  text-decoration: none;
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  i.fa:hover {
  background: var(--gray-bg-1);
}

/* numeros */
main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  /* overflow-x: scroll; */
  max-width: 40rem;
}

/* main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container::-webkit-scrollbar{
    display: none;
  } */

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container
  a {
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  border-radius: 0.5rem;
  width: 3rem;
  padding: 0.5rem;
  color: var(--dark-1);
  text-decoration: none;
  border: solid 0.1px var(--gray-bg);
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container
  a:hover {
  border: solid 0.1px var(--yellow-1);
  background: var(--gray-bg-1);
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container
  a.active {
  color: var(--white);
  background: rgb(126, 73, 27);
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container
  a.active:hover {
  border: solid 0.1px var(--gray-bg);
  background: rgb(126, 73, 27);
}

/* span */

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container
  span {
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  border-radius: 0.5rem;
  width: 3rem;
  padding: 0.5rem;
  color: var(--dark-1);
  text-decoration: none;
  border: solid 0.1px var(--gray-bg);
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container
  span.active {
  color: var(--white);
  background: rgb(126, 73, 27);
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container
  span.active:hover {
  border: solid 0.1px var(--gray-bg);
  background: rgb(126, 73, 27);
}

main
  .noticias_container
  .numbers_change_notice_container
  .elements_container
  .numbers_container
  span:hover {
  border: solid 0.1px var(--yellow-1);
  background: var(--gray-bg-1);
}

/* main .img_card_container .card */

/* RESPONSIVIDADE */

@media (max-width: 700px) {
  main .noticias_container .noticias_cards_container {
    gap: 3rem;
  }
}

@media screen and (max-width: 483px) {
  main .noticias_container .noticias_cards_container {
    grid-template-columns: repeat(1, minmax(20rem, 1fr));
    gap: 5rem;
  }
}

@media (max-width: 462px) {
  main .noticia_detalhed .categoria_date_views_container {
    grid-template-columns: repeat(1, minmax(10rem, 1fr));
    gap: 2rem;
  }

  main .noticia_detalhed .categoria_date_views_container .part:first-child {
    border: 0;
  }

  main .noticia_detalhed .categoria_date_views_container .part.data {
    border: 0;
  }
}

@media (max-width: 383px) {
  main .img_card_container .card {
    left: 3rem;
  }
}

@media (max-width: 350px) {
  main .img_card_container .card {
    width: 80%;
  }
}

@media (max-width: 322px) {
  main .noticias_container .title_input_search_container {
    padding: 0;
  }
}
