/* conteiner */
.containerAll {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row;
  position: relative;
}
/* conteiner */

.sidebar {
  overflow: auto; /* Isso permite o scroll quando necessário */
  -ms-overflow-style: none; /* IE e Edge */
  scrollbar-width: none; /* Firefox */

  width: 200px;
  height: 100vh;
  /* background-color: #4f2e2e; */
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(1, 1, 1, 0.165);
}

.sidebar:-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.menu {
  display: flex;
  flex-direction: column;
  width: 90%;
  border-bottom: 1px solid rgba(1, 1, 1, 0.1);
}
.fecharimg {
  display: flex;
  display: none;
}
.sidebar img {
  margin-top: 20px;
  margin-bottom: 20px;
}

.logo {
  width: 80%;
  cursor: pointer;
}

.menuContent {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.menuContent img {
  margin: 0px 10px 0px 10px;
  width: 30px;
}

.link {
  text-decoration: none;
  font-size: var(--p-size);
  font-weight: 500;
  color: var(--secondary-color);
  margin-left: 20px;
}

.link:hover {
  color: var(--p-color);
}

.headerMenu {
  display: flex;
  width: 80%;
  justify-content: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.botoesHeader {
  width: 150px;
  display: none;
  align-items: center;
}
.botoesHeader .logo {
  width: 100px !important;
}

.menuAmburgue {
  width: 50px;
}
.maisFiltrosGrande {
  background-color: #ffffff;
  cursor: pointer;
  width: 100px;
  height: 40px;
  border-radius: 110px;
  top: 20px;
  right: 30px;
  z-index: 1000;
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border: 1px solid black;
  user-select: none;
}
.maisFiltrosGrande img {
  width: 10px;
}
.maisFiltrosGrande p {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 5px;
}

.maisFiltros {
  background-color: #ffffff;
  cursor: pointer;
  width: 100px;
  height: 40px;
  border-radius: 110px;
  position: absolute;
  right: 30px;
  z-index: 1000;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border: 1px solid black;
  user-select: none;
}
.maisFiltros img {
  width: 10px;
}
.maisFiltros p {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 5px;
}

.fecharFiltros {
  display: none;
  position: absolute;
  right: 65px;
  width: 30px;
  cursor: pointer;
}

.sidebar .propaganda {
  margin-top: 20px;
  width: 182px;
  height: 100px;
  object-fit: cover;
}
.sidebar .propaganda img {
  width: 100%;
  height: auto;
  margin-top: 0;
}
/* side bar fim */

/* section */
section {
  margin: 0 250px 0 200px;
  width: 100%;
  height: 100%;
  margin-top: 30px;
}

/* barra lateral esquerda sidebar left */
.sidebarLeft {
  z-index: 12;
  width: 250px;
  height: 100vh;
  border-left: 1px solid rgba(1, 1, 1, 0.165);
  position: fixed;
  right: 0;
  background-color: rgb(248, 248, 248);
  overflow-y: auto;
  -ms-overflow-style: none; /* IE e Edge */
  scrollbar-width: none; /* Firefox */
}
.sidebarLeft:-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.sidebarLeft .fechar {
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  left: 20px;
}

.FiltrosGrande {
  background-color: #ffffff;
  cursor: pointer;
  width: 100px;
  height: 40px;
  border-radius: 110px;
  position: absolute;
  right: 30px;
  z-index: 1000;
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border: 1px solid black;
}
.FiltrosGrande img {
  width: 20px;
}
.FiltrosGrande p {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 5px;
}

.sidebarLeft .header {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.sidebarLeft .header p {
  font-size: 30px;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.formInput {
  margin-top: 15px;
  width: 90%;
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: column;
}

.formInput input {
  width: 100%;
  height: 40px;
  border-radius: 50px;
  padding-left: 15px;
  vertical-align: center;
  border: 1px solid var(--h1-color); /* Cor e largura da borda */
  padding-left: 35px;
}
.formInput input::placeholder {
  font-size: 13px;
  padding-left: 5px;
}
.formInput .lupa {
  position: absolute;
  left: 15px; /* Ajuste a posição horizontal conforme necessário */
  top: 50%; /* Posiciona a lupa no meio verticalmente */
  transform: translateY(-50%);
}

.formInput2 {
  margin-top: 15px;
  width: 90%;
  display: flex;
  align-items: center;
  position: relative;
  position: absolute;
  flex-direction: column;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

.formInput2 input {
  width: 100%;
  height: 40px;
  border-radius: 50px;
  padding-left: 15px;
  vertical-align: center;
  border: 1px solid var(--h1-color); /* Cor e largura da borda */
  padding-left: 35px;
}
.formInput2 input::placeholder {
  font-size: 13px;
  padding-left: 5px;
}
.formInput2 .lupa {
  position: absolute;
  left: 15px; /* Ajuste a posição horizontal conforme necessário */
  top: 50%; /* Posiciona a lupa no meio verticalmente */
  transform: translateY(-50%);
}

.buttons {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.buttons button {
  width: 70px;
  height: 35px;
  border-radius: 5px;
  border: none;
  cursor: pointer;

  border: 1px solid rgba(0, 0, 0, 0.512);
}
.buttons button:hover {
  background-color: var(--secondary-color);
}

.input {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  align-items: flex-start;
  border-bottom: 1px solid rgba(1, 1, 1, 0.165);
}

.input .form-select {
  margin-top: 15px;
}
.input .label .form-select {
  margin-top: 0px;
}
.input label {
  margin-top: 15px;
  width: 100%;
}

.input .ladoLado {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.input .label {
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.label .form-select {
  width: 100%;
}

.filtrar {
  display: none;
  width: 100%;
  justify-content: center;
}
.filtrar button {
  margin-top: 10px;
  margin-bottom: 20px;
  width: 150px;
  height: 40px;
  border-radius: 100px;
  background-color: var(--h1-color);
  color: var(--primary-color);
  font-size: 13px;
}

.filtrar button:hover {
  background-color: var(--secondary-color);
  transform: scale(1.04);
}
#filtrar2 {
  display: flex;
}

/* Container section */

.containerSection {
  /* overflow: auto; */
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
/* fim */
/* stilo do card de carro */
.cardDash {
  width: 216px;
  height: 470px;
  border-radius: 4%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  margin-bottom: 51px;
  position: relative;
  word-break: break-word;
  text-align: center;
}
.cardDash .imgCar {
  display: block; /* Garante que a imagem se comporte como um bloco */
  width: 100%; /* Garante que a imagem ocupe todo o espaço disponível */
  min-height: 195px;
  object-fit: cover;
  border-radius: 4% 4% 0% 0%;
  object-fit: cover;
}
.logoLojaCard {
  width: 60px;
  height: 60px;
  background-color: rgb(232, 232, 232);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 20px;
  top: 120px;
  border-radius: 100%;
}
.logoLojaCard img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 100%;
}
.novoUsado {
  z-index: 11;
  cursor: pointer;
  position: absolute;
  left: 20px;
  top: 30px;
  background-color: #ffffff;
  width: 60px;
  height: 20px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
}

.novoUsado p {
  margin-bottom: 0px;
  font-size: 13px;
  color: var(--p-color);
}

.novoUsado:hover {
  opacity: 1;
}

.cardBottom {
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  /* align-items: center; */
  border-bottom: 1px solid rgba(0, 0, 0, 0.27);
  border-left: 1px solid rgba(0, 0, 0, 0.27);
  border-right: 1px solid rgba(0, 0, 0, 0.415);
  border-radius: 0% 0% 4% 4%;
  margin-bottom: 20px;
  padding: 10px;
}

.divNomeveiculo {
  width: 100%;
}
.cardDash .cardBottom .nomeVeiculoMarca {
  padding: 3px;
  font-size: 10px;

  margin: 10px 0px;
  background-color: rgb(187, 187, 187);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--h1-color);
  height: 20px;
  width: 100%;
}

.divNomeveiculoModelo {
  width: 100%;
}
.cardDash .cardBottom .nomeVeiculoModelo {
  font-size: 20px;
  color: var(--h1-color);
  font-weight: 500;
  overflow: auto;
  height: 64px;
  text-align: center;
  font-weight: 700;
}

.info {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.infoVeiculo {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  padding: 2px;
}
.infoVeiculo img {
  width: 23px;
  margin-right: 5px;
}
infoVeiculo p {
  margin: 0px;
}
.valorVeiculo {
  font-weight: 700;
  color: var(--h1-color);
  font-size: 20px;
  letter-spacing: -1px;
}
.infoVeiculo p {
  margin-bottom: 0px;
}

.verMais {
  margin-top: 10px;
  margin-bottom: 2px;
  width: 100%;
  height: 40px;
  border-radius: 100px;
  background-color: var(--h1-color);
  color: var(--primary-color);
  font-size: 13px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.verMais:hover {
  background-color: var(--secondary-color);
}
/* fim card carro */

/* responsividade sidebar */
@media (max-width: 1067px) {
  .formInput {
    display: none;
  }
  .sidebarLeft .header {
    margin-top: 169px;
  }
  .fechar {
    display: none;
  }
  .botoesHeader {
    display: flex;
    justify-content: center;
  }
  section {
    margin: 0;
  }
  .sidebar {
    width: 150px;
    display: none;
  }
  .sidebar img {
    width: 200px;
  }
  .sidebar .fecharimg {
    width: 20px;
    position: absolute;
    right: 5%;
    top: 1%;
    cursor: pointer;
  }
  #filtrar2 {
    display: none;
  }
  .filtrar {
    display: flex;
  }

  .menu {
    display: flex;
    flex-direction: column;
    width: 90%;
    border-bottom: 1px solid rgba(1, 1, 1, 0.1);
  }

  .sidebar img {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .headerMenu {
    width: 100%;
    background-color: var(--color-white);
    z-index: 9999;
    top: 0;
  }

  .headerMenu .logo {
    display: flex;
  }

  .menuContent {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .menuContent img {
    margin: 0px 5px 0px 5px;
    width: 20px;
  }

  .link {
    text-decoration: none;
    font-size: var(--p-size);
    font-weight: 500;
    color: var(--secondary-color);
    margin-left: 10px;
  }
  .menuAmburgue {
    cursor: pointer;
    left: 10px;
  }

  .containerSection {
    margin-top: 180px;
  }

  .sectionPrincipal {
    margin-left: 0px;
    width: 100%; /* Largura do restante da tela */
    display: flex;
    justify-content: center;
  }

  .containerSection {
    width: 100%;
    display: flex;
    flex-direction: row;
  }

  .menuAmburgue {
    display: flex;
  }

  .logoLoja {
    width: 100px;
    height: 100px;
  }
  .logoLoja img {
    width: 67px;
    height: 67px;
  }
  .cardLoja {
    font-size: 12px;
  }

  /* responsividade sidebar fim */
  .sidebarLeft {
    display: none;
    width: 100%;
    align-items: center;
    flex-direction: column;
  }

  .cardDash {
    margin-bottom: 94px;
  }
}

@media (max-width: 668px) {
  .cardDash .cardBottom .nomeVeiculoModelo {
    font-size: 14px;
  }
  .cardDash {
    width: 46% !important;
    margin-bottom: -24px !important;
  }
  .cardBottom {
    height: auto !important;
  }
  .cardDash .cardBottom .nomeVeiculoMarca {
    font-size: 11px !important;
  }
  .cardDash .cardBottom .valorVeiculo {
    font-size: 13px !important;
  }
  .cardDash .imgCar {
    min-height: 146px;
    height: 150px;
  }

  .logoLojaCard {
    width: 40px;
    height: 40px;
    background-color: rgb(232, 232, 232);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 18px;
    top: 95px;
  }
  .logoLojaCard img {
    width: 25px;
    height: 25px;
  }

  .infoVeiculo img {
    width: 15px !important;
  }
  .infoVeiculo p {
    font-size: 13px !important;
  }

  .verMais {
    margin-top: 4px;
    width: 100%;
    height: 27px;
    font-size: 9px;
    border: none;
  }
  .novoUsado {
    width: 51px;
    height: 18px;
    font-size: 10px;
  }
}

/* animacao */
.sectionPrincipal {
  transition: margin 0.5s;
}

.sidebar {
  transition: width 0.5s;
}

.sidebarLeft {
  transition: width 0.5s, display 0.5s;
}

.FiltrosGrande {
  transition: display 0.5s;
}
.fecharFiltros {
  transition: display 0.5s;
}

@media (max-width: 560px) {
  .formInput2 {
    top: 77px;
    display: flex;
  }
  .formInput2 .lupa {
    width: 20px;
  }
  .headerMenu img {
    width: 30px;
  }
  .headerMenu .logo {
    width: 100px !important;
  }
  .maisFiltros {
    width: 74px !important;
    height: 31px;
  }
  .maisFiltros p {
    font-size: 13px;
  }
  .maisFiltros img {
    width: 17px !important;
  }
  .containerSection {
    margin-top: 146px;
    width: 100%;
  }
  .fecharFiltros {
    width: 22px !important;
    display: non2;
  }
  #botaoFiltrar {
    width: 25px;
    width: 157px !important;
  }
}

@media (max-width: 1067px) {
  .formInput2 {
    display: flex;
  }
  .cardDash {
    width: 262px;
  }
  .maisFiltros img {
    width: 20px;
  }
  .headerMenu .maisFiltros {
  }
}

@media (max-width: 341px) {
  .cardDash {
    width: 46%!important;
  }
}
