.mainFilter {
  width: 1300px;
  max-width: 95%;
  margin: 20px auto;
}

.filter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin-top: 20px;
  gap: 5px;
}

.ustaFilter {
  width: 80%;
  border: 1px solid #16a085;
  border-radius: 10px;
}

.filter select,
input {
  font-size: 16px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  background-color: #ededed;
}

.filterHead {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.filter button {
  width: 20%;
  border: none;
  background-color: #16a085;
  color: #fff;
  border-radius: 10px;
}

.carPart {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.hisseBtn:hover {
  background-color: #8fb9e6;
}

.hisse {
  width: calc((100% - (5px * (2 - 1))) / 2);
}

.price {
  width: calc((100% - (5px * (2 - 1))) / 2);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 15px;
}

.price input {
  width: 100%;
  font-size: 15px;
}

.year input {
  width: 100%;
  font-size: 15px;
}

.cars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.allCars {
  width: 900px;
  max-width: 95%;
  margin: 20px auto;
}

.allCars h1 {
  font-size: 30px;
  margin-bottom: 20px;
}

.ad_soyad {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}
.ad_soyad p {
  color: #000;
}
.elaqe_unvan {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.elaqe_unvan p {
  color: #000;
}
.elaqe_unvan i {
  color: #16a085;
}
.carDataPart2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 5px;
}

.card {
  width: calc((100% - (15px * (4 - 1))) / 4);
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 123, 255, 0.1);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.card-image:hover .overlay {
  opacity: 1;
}

.card-content {
  padding: 15px;
  background-color: white;
}

.brand-model {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.price {
  font-size: 16px;
  color: #007bff;
  margin: 5px 0;
}

hr {
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background-color: #16a085;
  border: none;
}

.filter select {
  border: 1px solid #16a085;
  width: 50%;
}

.info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 10px;
  margin: 10px;
}

.info p {
  font-size: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 600;
}

.mainAdvertising {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  /* min-height: 80vh; */
}

.info i {
  margin-left: 4px;
  margin-right: 1px;

  color: #007bff;
}

.location-date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.location-date p {
  font-size: 14px;
}

.location-date i {
  margin-right: 5px;
  color: #007bff;
}

.card-content .info p i {
  font-size: 16px;
}

/* ASGAR */
.hidden_cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  gap: 15px;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.hidden_cards.visible {
  opacity: 1;
  margin: 10px 0px;
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
