@font-face {
    font-family: 'ubuntu';
    src: url(assets/fonts/Ubuntu-Bold.ttf) format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'ubuntu';
    src: url(assets/fonts/Ubuntu-Medium.ttf) format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'ubuntu';
    src: url(assets/fonts/Ubuntu-Regular.ttf) format('truetype');
    font-weight: 400;
}





.side{background-image: url(assets/images/bg-sidebar-desktop.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 95vh;
    margin-top: 2.5vh;
    margin-left: 10px;
    width: 30%;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    max-width: 430px;

}
body{
    padding: 0;
    margin: 0;
    font-family: 'ubuntu';
    counter-reset: div;
    display: flex;
}
section{
    width: 50%;
    height: 100vh;
    margin: auto;
    position: relative;
    
}
section h1{
    margin-top: 15vh;
    font-weight: 700;
    font-size: 2em;
    margin-bottom: 1vh;
}

#step1 form{display: flex;
    flex-direction: column;
    margin-top: 8vh;


}
#step1 label{
    margin-bottom: 5px;
}

.next{position: absolute;
            bottom: 10vh;
            right: 0;
            text-decoration: none;
            background-color: rgb(40, 40, 224);
            border-radius: 5px;
            color: white;
            padding: 10px 20px;
            border: 0px;
            cursor: pointer;}
#step1 input{
    margin-bottom: 4vh;
    border: 1px solid grey;
    border-radius: 5px;
    font-size: 1.2em;
    padding: 8px 10px;
    width: calc(100% - 20px);
    position: relative;}
section p{color: grey;
            margin: 0;}



#step2{display: none;}
#step3{display: none;}
#step4{display: none;}

#step5{display: none;}

.step{
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    position: relative;
    text-transform: uppercase;
    left: 30px;
    
    
}
.plan {height: 25%;
    display: flex;
    margin-top: 4vh;
    justify-content: space-between;}

.plan>div{
    height: 100%;
    width: 28%;
    border: 1px solid grey;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

.plan div img{
    margin: 20px 0px 0px 15px;
}
.step p{
    font-family: 'ubuntu';
    font-weight: 500;
    color: grey;
    
}
.step h5{
    font-family: 'ubuntu';
    font-weight: 700;
    color: white;
    font-size: 1.2em;
}

.step h5,p{margin: 5px;}

.steps{
    
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    }

.step::before{content: counter(div);
                counter-increment: div;
                position: absolute;
                display: flex;
                justify-content: center;
                align-items: center;
                color: white;
                font-weight: 500;
                top: 50%;
                left: -60px;
                width: 40px;
                height: 40px;
                transform: translateY(-50%);
                border-radius: 100%;
                border: 2px solid white;}

.active:before{background-color: lightblue;
                color: black;
                border-color: lightblue;}

#step1 input:focus{
    outline: 2px solid purple;
}


#step1 input:focus-visible{
    
    outline: 2px solid purple;
}

.textecase{
    position: absolute;
    bottom: 10px;
    left: 10px;
}
.textecase h3{margin-bottom: 5px;}

.choixpaie{display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 10vh;    
        background-color: lightgrey; 
    padding: 20px; 
    border-radius: 10px; 
    align-items: center; }

.choixpaie h3{ margin: 0 30px;}

.back{position: absolute;
       left: 0;
        bottom: 10vh;
        color: rgb(199, 199, 199);
        font-weight: 700;
        padding:10px 20px ;
        text-decoration: none;}
.back:hover{color:rgb(40, 40, 224) ;}



.checkbox{display: none;}
.label{
    display: inline-block;
    height: 30px;
    width: 60px;
    background-color: rgb(40, 40, 224);
    position: relative;
    
    border-radius: 15px;
    cursor: pointer;

}

.label:after{
    content: "";
    height: 20px;
    width: 20px;
    background: white;
    position: absolute;
    top: 5px;
    left: 5px;
    transition: all .3s;
    border-radius: 100%;
}

.checkbox:checked + label:after{
    transform: translateX(30px);
}

.adds{
    margin-top: 5vh;
}

.add{position: relative;
        width: 100%;
        height: 10vh;
        cursor: pointer;
        border: 1px solid lightgrey;
        margin-bottom: 2vh;
        display: flex;
        align-items: center;
        border-radius: 10px;}
.add h4{position: absolute;
        right: 50px;
        top: 0;
        transform: translateY(50%);
        }

.add label{margin-left: 1vw;
            cursor: pointer;}

.add h2{margin: 5px 0px;}

.add input{margin-left: 1vw;}

.attention{outline: 1px solid red;
    }

span{position: relative;
    width: 60%;}
.span:after{
    content: "This field is required";
    position: absolute;
    top: -20px;
    right: 0px;
    color: red;
    

}
.attention:focus-visible{
    outline: 2px solid purple;
}
h5{margin: 8px 0 0 0;}

.selectionPlan{background-color: rgb(211, 193, 211);
    outline: 2px solid purple;}

.plans:hover{
    outline: 2px solid purple;
}

.valide{
    width: 20px;
    height: 20px;
    cursor: pointer;

}

.add:hover{
    outline: 2px solid purple;
}

#panier{
    background-color: rgb(219, 219, 219);
    border-radius: 10px;
    padding: 20px 0px 20px 15px;
    margin-top: 5vh;}

#choix1{
    width: 95%;
    border-bottom: 1px solid black;
    position: relative;
    padding-bottom: 20px;
}
#choix1 h3{margin: 5px 0px;}

#choix1 a{color: grey;
    

}

#prixpris{position: absolute;
            top: calc(50% - 10px);
            right: 0;
            transform: translateY(-50%);}


.laclasse{margin-top: 10px;
            padding: 5px 0px;
            position: relative;
            width: 95%;}

.laclasse h4{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    margin: 0;
}

#changement:hover{
    color: rgb(40, 40, 224);
}

.total{
    width: 95%;
    margin-top: 3vh;
    padding-left: 15px;
    position: relative;
}
#chiffre{margin: 0;
        color: rgb(40, 40, 224);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        font-size: 1.4em;}

#thank{
    text-align: center;
    margin: 25vh auto 0px auto;
    width: 30%;
    display: block;
}
.grand{margin-top: 3vh;
        text-align: center;}

#step5 p{
    text-align: center;
}

@media (max-width:1440px) {
    #step1 span{
        width: 80%;
    }
    
}
@media (max-width:1000px){
    #step1 span{
        width: 100%;
    }
    
}
@media(max-width:800px){
    .side{background: url(assets/images/bg-sidebar-mobile.svg);
            background-repeat: no-repeat;
            background-size: cover;
            border-radius: 0%;
            width: 100vw;
            height: 20vh;
            position: absolute;
            margin: 0;
            top: 0;
            left: 0;
            z-index: -1;
            max-width: none;}
    .step p{display: none;}
    .step h5{display: none;}

}

