/* ***************************************************************************************************************** */
/* COVERING
/* ***************************************************************************************************************** */
body{
  background: #fafafa;
}


h1{
  color: #000000;
  font-weight: 800;
  font-size: 1.5625rem;
  font-size: clamp(1.5625rem, 1.25rem + 1.0416666666666667vw, 2.5rem);
  display: flex;
  flex-direction: column-reverse;
  text-transform: uppercase;
  transform-origin: right bottom;
  text-align: center;
}

@media only screen and (min-width: 1000px) {
  h1{
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    padding: 30px;
  }
}

h1 span{
  font-size: 50%;
  font-weight: normal;
}

#configurateur-box{
  max-width: 1040px;
  padding: 20px;
  margin: 0 auto;
}

#filters{
  margin: 30px 0;
}

@media only screen and (min-width: 600px) {
  #filters{
    display: flex;
    justify-content: space-between;
    margin: 0 0 50px 0;
  }
}

#filters .filter + .filter{
  margin-top: 20px;
}

@media only screen and (min-width: 600px) {
  #filters .filter{
    width: 30%;
  }
  #filters .filter + .filter{
    margin-top: 0;
  }
}

.filter label{
  font-weight: bold;
}

.filter .selected-value{
  display: block;
  padding: 10px 20px;
  padding-right: 40px;
  border: 2px solid #000;
  margin-top: 10px;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  text-transform: capitalize;
  position: relative;
}

.filter .selected-value::after{
  content: '▼';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(-10px);
  display: block;
}

.filter .fake-select{
  position: relative;
}

.filter .fake-select ul{
  position: absolute;
  background: #FFF;
  width: 100%;
  top: 0;
  border: 2px solid #000;
  border-radius: 10px;
  display: none;
  z-index: 5;
}

.filter .fake-select ul li{
  padding: 10px 20px;
  cursor: pointer;
  text-transform: capitalize;
}

.filter .fake-select ul li + li{
  border-top: 1px solid #000000;
}

.filter .fake-select ul li.selected{
  background: #000000;
  color: #FFFFFF;
}

.filter .fake-select.openChoices ul.active{
  display: block;
}

#main{
  min-height: 100vh;
  color: #000000;
  padding-top: 120px;
}

@media only screen and (min-width: 600px) {
  #main{
    padding-top: 150px;
  }
}

#grid{
  border-radius: 20px;
  background: #FFF;
  box-shadow: 0 0 30px 0 #F0F0F0;
}

.vehicule{
  display: none;
  position: relative;
}

.vehicule.active{
  display: block;
}

.vehicule-infos{
  position: absolute;
  top: 0;
}

.vehicule img{
  width: 100%;
  height: auto;
}

.vehicule-coverings{
  position: relative;
}

.vehicule-coverings .covering{
  position: absolute;
  z-index: 3;
  opacity: 0;
  top: 0;
}

.vehicule-coverings .covering:first-child,
.vehicule-coverings .covering:first-child.active{
  position: relative;
}

.vehicule-coverings .covering.active{
  position: absolute;
  z-index: 4;
  opacity: 1;
  top: 0;
}

#conclude h2{
  font-weight: bold;
  margin: 20px 0;
  text-align: center;
}

#conclude-links{
  display: flex;
  justify-content: center;
}
#conclude-links .submit{
  background: var(--bleu);
  border-radius: 320px;
  border: none;
  padding: 10px 20px;
  color: #FFFFFF;
  font-weight: bold;
  cursor: pointer;
  transition: all .2s ease;
}
#conclude-links .submit:hover{
  background: #000000;
}
