/* general */

@font-face {
  font-family: 'Miele Elements';
  src: 
       url('../fonts/MieleElements-3Light.ttf') format('truetype');
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-family: 'Miele Elements';
  src: 
       url('../fonts/MieleElements-6SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: 'Miele Elements';
  src: 
       url('../fonts/MieleElements-8ExtraBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 800;
}


html,body{
    font-size: 62.5%;
}
body{
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    --red:#B11A21;  
    font-family: 'Miele Elements';
    font-weight: 600;
    background: var(--red);
}
p,h1,h2,h3,h4{
    color: rgba(52, 52, 52, 1);
    margin: 0;
}
a{
    text-decoration: none;
}
.hidden{
    display: none !important;
}
#app{
    width: 100%;
    min-height: 100vh;
   
   position: relative;
   padding:0 30px 50px 30px;
    
   box-sizing: border-box;
   max-width: 789px;
   
}

#app > *{
    position: relative;
    z-index: 2;
}
#app > .background{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    left: 0;

}
#app > .background img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
#app > .background::before{
    content: "";
    height: 100%;
    width: 100%;
    background: rgba(52, 52, 52, 0.42);
    position: absolute;
    top: 0;
    left: 0;

}
.mb50{
    margin-bottom: 50px;
}
.mb10{
    margin-bottom: 10px;
}
.mb20{
    margin-bottom: 20px;
}
.mt5{
    margin-top: 5px;
}
.t-red{
    color: var(--red);;
}
h2.t-red{
    font-size: 1.7rem;
    line-height: 2.1rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 11px;
}
h3{
    font-size: 1.5rem;
    line-height: 2.8rem;
    font-weight: 600;
}
.logo{
    width: 178px;
    height: 88px;
    background: var(--red);
    margin: auto;
    display: block;
}

.introduction{
    font-size: 3.7rem;
    line-height: 4rem;
    color:white;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 200px;
    font-weight: 300;
}
.introduction.active{
    display: flex;
}

.introduction .bg-white{
    background: rgba(240, 240, 240, 1);
    border-radius: 5px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    color:rgba(52, 52, 52, 1);

}
#form {
    
}

#form button{
    color:white;
    font-size: 1.4rem;
    line-height: 1.9rem;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    height: 44px;
    padding: 0 22px;
    border-radius: 5px 5px 5px 5px;

    
    outline: none;
    cursor:pointer;
    font-weight: 600;
}
#form .back{
    background: white;
    border: solid 1px rgba(52, 52, 52, 1);
    color: rgba(52, 52, 52, 1);
}
.buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    gap: 10px;
}
#form .step{
    display: none;
    background: rgba(240, 240, 240, 1);
    padding: 30px;
    margin-top: 50px;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}

#form .step .icon{
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:rgba(116, 138, 157, 1);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    top:-22px;
}


#form .step.active{
    display: block;
}

/*  */


.error{
    color:var(--red);
    font-size: 1.5rem;
    margin-top: 15px;
}
.etape{
    font-size: 1.5rem;
    line-height: 2.3rem;
    margin-bottom: 10px;
}
.question{
    font-size: 2.6rem;
    line-height: 2.9rem;
    margin-bottom: 30px;
}
.selectors{
    display: flex;
    gap:10px;
    flex-wrap: wrap;
}
.selector{
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 9px);
    background: rgba(255, 255, 255, 1);
    flex-direction: column;
    font-size: 1.5rem;
    line-height: 2rem;
    border: solid white 2px;
    cursor: pointer;
}
.selector.active{
    border: solid rgba(177, 26, 33, 1) 2px;
}
.stars{
    margin-bottom: 10px;
    display: flex;
}
p.little{
    font-size: 1.2rem;
    margin-top: 33px;
    text-align: left;
}
.lits,.spas{
    display: none !important;

}
.lits.active,.spas.active{
    display: flex !important;
}
#advanced-mode{
    background: rgba(116, 138, 157, 1);
    border-radius: 8px;
    height: 60px;
    width: 100%;
    
    display: flex;
    color:white;
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 0 20px;
    align-items: center;
    box-sizing: border-box;
    justify-content: space-between;
}
#advanced-mode > div:nth-child(1){
    display: flex;
    align-items: center;
}
#advanced-mode > div:nth-child(1) img{
    margin-right: 20px;
}

.checkbox-container{
    background: rgba(255, 255, 255, 1);
    border-radius: 8px;
    height: 60px;
    width: 100%;
    display: flex;
    color:rgba(31, 31, 31, 1);
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 0 20px;
    align-items: center;
    box-sizing: border-box;
    justify-content: space-between;
}
.checkbox-container > div:nth-child(1){
    display: flex;
    align-items: center;
}
.checkbox-container > div:nth-child(1) img{
    margin-right: 20px;
}

.checkbox{
    width: 37px;
    height: 24px;
    background: white;
    cursor: pointer;
    border-radius: 36px;
}
.checkbox-container .checkbox{
    border: solid 1px rgba(116, 138, 157, 1);
}
.checkbox > div:nth-child(1){
    width: 24px;
    height: 24px;
    background: rgba(52, 52, 52, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    border-radius: 50%;
    position: relative;
}
.checkbox-container .checkbox > div:nth-child(1){
    background: rgba(116, 138, 157, 1);
}
.checkbox.active > div:nth-child(1){
    background: var(--red);
}

.checkbox.active > div:nth-child(1){
    transform: translateX(14px);
}
.checkbox > div:nth-child(1) > img:nth-child(1){
    transition: .3s;
    opacity: 1;
    position: absolute;
}
.checkbox > div:nth-child(1) > img:nth-child(2){
    transition: .3s;
    opacity: 0;
    position: absolute;
}

.checkbox.active > div:nth-child(1) > img:nth-child(1){
    opacity: 0;
}
.checkbox.active > div:nth-child(1) > img:nth-child(2){
    opacity: 1;
}

.answer{
    margin-bottom: 40px;
}
.answer.inputs{
    display: flex;
    flex-direction: column;
    gap:25px;
}
.answer.inputs .input{
    display: flex;
    flex-direction: column;

}
label{
    font-size: 1.3rem;
    line-height: 1.5rem;
    text-align: left;
    width: 100%;
    display: block;
    margin-bottom: 5px;

}
.answer.inputs label{
    font-size: 1.3rem;
    line-height: 1.5rem;
    text-align: left;

}
.answer.inputs input{
    height: 60px;
    border: none;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    outline: none;
}

.answer.inputs .double{
    display: flex;
    gap: 11px;
}
.answer.inputs .double .input{
    width: calc(50% - 6px);
}

/* machine selection */
.whashing-selection,
.drying-selection,
.ironing-selection
{
    display: flex;
    flex-wrap: wrap;
    gap:11px;
    margin-bottom: 38px;
}

.whashing-selection .item,
.drying-selection .item,
.ironing-selection .item
{
    background: white;
    border-radius: 5px;
    width: calc(50% - 6px);
    display: flex;
    flex-direction: column;
    padding: 15px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.whashing-selection .item > div,
.drying-selection .item > div,
.ironing-selection .item > div
{
    margin-bottom: 7px;
    font-size: 1.5rem;
    color: rgba(52, 52, 52, 1);
}
.whashing-selection .item > img,
.drying-selection .item > img,
.ironing-selection .item > img
{
    margin-bottom: 10px;
    max-height: 96px;
}
.whashing-selection .item > a,
.drying-selection .item > a,
.ironing-selection .item > a
{
    border: solid 1px rgba(52, 52, 52, 1);
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 1rem;
    color: rgba(52, 52, 52, 1);

}

/* more-content */
.more-content{
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;
}

.more-content .item{
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.more-content .item > img{
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}
.more-content .item > div{
    padding: 20px 30px;
    background: white;
}
.more-content .item > div > h2{
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 9px;
}
.more-content .item > div > p{
    font-size: 1.3rem;
    line-height: 1.7rem;
    margin-bottom: 6px;
}
.more-content .item > div > a{
    font-size: 1.4rem;
    line-height: 1.9rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    background: var(--red);
    border-radius: 5px;
    padding: 0 24px;
    width: fit-content;
    margin: auto;
}

/* circle-graph */
.circle-graph{
    height: 157px;
    width: 157px;
    margin: auto;
    margin-bottom: 40px;
    position: relative;
}
.circle-graph .path{
    border-radius: 50%;
    height: 100%;
    width: 100%;
    border: solid 3px var(--red);
    background: transparent;
    position: absolute;

}
.circle-graph .background{
    border-radius: 50%;
    height: calc(100% - 25px);
    width: calc(100% - 25px);
    
    background: white;
    position: absolute;
    top:calc(50% + 3px);
    left: calc(50% + 3px);
    transform: translate(-50%,-50%);
    
}

.circle-graph .text{
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    
}
.circle-graph .text .big{
    font-size: 4.6rem;
    line-height: 3rem;
    margin-bottom: 7px;
}
.circle-graph .text .libelle{
font-size: 1.5rem;
}
.tiny-txt{
    text-align: left;
    font-size: 1.3rem;
}

.no-result{
    margin-bottom: 30px;
}
.no-result p{
    font-size: 2rem;
    margin-bottom: 15px;
}
.no-result .btn{
    font-size: 1.4rem;
    line-height: 1.9rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    background: var(--red);
    border-radius: 5px;
    padding: 0 24px;
    width: fit-content;
    margin: auto;
}