
*{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}
.main-cont{
  position: relative;
}
.main-cont#blur.active3{
      filter: blur(20px);
      pointer-events: none;
      user-select: none;
}
.filter-nav{
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 0 15px;
    height: 54px;
}
.filter , .sell a{
    font-family: 'IM FELL English';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #FFFFFF;
}
.filter{
    display: flex;
   
}
.filter a{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
}
.filter a:hover, .sell a:hover{
  color: #ff0000;
}
/* .search{
   display: block;
    width: 38%;
    margin: 19px auto;
} */
.nav-icon{
    height: 1.8rem;
    width: 1.8rem;
    color: #ff0000;
    
}
.card{
    position: relative;
    background: #fff;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
 
  .card .card-content{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding: 20px 38px;
    position: relative;
    z-index: 100;
  }
  
.card .image{
    border-radius: 4px;
    padding: 3px;
    height: 300px;
  }
  
 .card .image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .card .car-name{
    display: flex;
    justify-content: space-between;
  }
  .card .card-detls p{
    font-weight: 700;
    font-size: 14px; 
    color: #5F5F5F;
  }
 
  .car-name .name{
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #303030;
  }
  .car-name .use {
    font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  background: #BBBBBB;
  height: 22px;
  padding: 2px;
  color: #FFFFFF;
  }
  .card .button{
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
  }
  
  .card .button button{
    background: #e82a2a;
    outline: none;
    border: none;
    color: #fff;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .button button:hover{
    background: #d01616;
  }
#filter-popup{
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  padding: 50px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.30);
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}
#filter-popup h2, #Sort-popup h2{
  font-size: 32px;
  line-height: 40px;
  color: #ff0000;
  height: 63px;
}
#filter-popup.active3{
  top: 50%;
  visibility: visible;
  opacity: 1;
  transition: 0.5s;
}
#filter-popup a{
    text-decoration: none;
    color: red;
    border: 2px solid red;
    padding: 5px;
    background-color: #fff;
    text-align: center;
}
#Sort-popup{
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  padding: 50px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.30);
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}
#Sort-popup.active3{
  top: 50%;
  visibility: visible;
  opacity: 1;
  transition: 0.3s;
}
#Sort-popup a{
    text-decoration: none;
    color: red;
    border: 2px solid red;
    padding: 5px;
    background-color: #fff;
    text-align: center;
}
#enq-form{
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 500px;
  padding: 80px;
  -webkit-box-shadow: 0px 10px 40px -10px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0px 10px 40px -10px rgba(0, 0, 0, 0.7);
  box-shadow: 0px 10px 40px -10px rgba(0, 0, 0, 0.7);
  background: #e6e6e6;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
  border-radius: 5px;
  z-index: 999;
}
#enq-form.active3{
  top: 50%;
  visibility: visible;
  opacity: 1;
  transition: 0.3s;
  z-index: 999;
}
#enq-form a{
    text-decoration: none;
    color: red;
    border: 2px solid red;
    padding: 5px;
    background-color: #fff;
    text-align: center;
    z-index: 999;
}
.myHed p{
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 30px;
  color:  #ff0000;
}

@media (max-width:990px) {
  .card .card-content{
    padding: 10px;
  }
}
@media (max-width:768px) {
  .card .card-content{
    padding: 25px 42px;
  }
}
@media (max-width:517px) {
  #filter-popup,#Sort-popup,#enq-form {
  width: 90%; 
  margin: auto;  
}
#enq-form{
  padding: 31px;
}
#filter-popup form div,#Sort-popup form div,#enq-form form div{
  width: 90%!important;
}
.myHed p{
  font-size: 28px;
}

}
@media screen and(max-width:375px) {
  .filter , .sell a{
    font-size: 17px;
    line-height: 27px;
}
}
.car-detls{
  height: 124px;
  overflow-y: hidden;
}

.close-icon{
  position: fixed;
  right: 25px;
  top: 20px;
  color: #000000;
  height: 30px;
  width: 30px;
  cursor: pointer;
}