#filter{
  max-width: 500px;
  margin: 0 auto;
}

#awselect_filter-select .bg{
  border-radius: 5px;
}

#awselect_filter-select ul{
  padding: 0 !important;
  margin: 0;
}

#awselect_filter-select ul li{
  margin: 0;
}

#awselect_filter-select ul li:before{
  display: none;
}

#awselect_filter-select ul li a{
  color: inherit !important;
}

.clear{
  clear: both;
}

#project{
  transition: .3s;
  margin: 20px auto;
}

#project .grid{
  display: flex;
  flex-wrap: wrap;
  transition: .5s;
}

#project .grid-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;

}

#project .title-photo{
  background: #0007;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  position: absolute;
  height: calc(100% - .50rem);
  width: calc(100% - .50rem);
  margin : .25rem;
  opacity: 0;
  transition: .5s;
  top:0;
  left: 0;
}

#project .title-photo p{
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  user-select: none;
  text-align: center;
}

#project .grid-item:hover .title-photo{
  opacity: 1;
}

#project .grid-item:hover .title-photo:hover{
  text-decoration: none;  
}

@media (max-width: 768px){
  #project .title-photo p{
    font-size: 12px;
  }
}

#slider-content{
  display: flex;
  flex-wrap: wrap;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: calc(50% - 20px);
  aspect-ratio: 16 / 10;
  margin: 30px auto;
  overflow: hidden;
  touch-action: none;
  margin: 10px;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.slider-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-container .after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.05s linear;
}

.slider {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  z-index: 10;
  appearance: none;
  height: 6px;
  background: #ccc;
  border-radius: 3px;
  outline: none;
}

/* Personnalisation du curseur (thumb) */
.slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}

@media(max-width: 768px){
  .slider-container{
    max-width: 100%;
    margin: 20px 0;
  }
}