.form {
    width: 55%;
    height: 950px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #EFF0F7;
    border-radius: 34px;
    box-shadow: 0px 5px 16px rgba(8, 15, 52, 0.06);
    padding-top: 20px;
}

.progressbox {
    width: 95%;
    height: 80px;
    /* background-color: rgb(85, 75, 62); */
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

.progress-step:last-child:before,
.progress-step:last-child:after {
    display: none;
}

.progress-step::before,
.progress-step::after {
    position: absolute;
    content: '';
    height: 4px;
    width: 70px;
    background: #EFF0F6;
    margin-left: 120px;
    border-radius: 34px;
}

.progress-step.active::after {
    background: #080c5b;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 0.3s linear forwards;
}

@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

.progress-step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: #EFF0F6;
    font-weight: bold;
    font-family: "poppins";

}

.progress-step.active {
    background-color: #080c5b;
    color: #fff;
}

.form-group1 {
    width: 95%;
    height: 540px;
    /* background-color: rgb(203, 201, 201); */
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    
}

.form-group2 {
    width: 95%;
    height: 650px;
    /* background-color: rgb(203, 201, 201); */
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-group3 {
    width: 95%;
    height: 750px;
    /* background-color: rgb(203, 201, 201); */
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-group4 {
    width: 95%;
    height: 680px;
    /* background-color: rgb(203, 201, 201); */
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-group1 .intilule,
.form-group2 .intilule,
.form-group3 .intilule,
.form-group4 .intilule {
    width: 93%;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.form-group1 .intilule h6,
.form-group2 .intilule h6,
.form-group3 .intilule h6,
.form-group4 .intilule h6 {
    font-family: "poppins";
    font-size: 20px;
    color: #0C1179;
}

.form-group1 .intilule p,
.form-group2 .intilule p,
.form-group3 .intilule p,
.form-group4 .intilule p {
    font-family: "poppins";
    font-size: 14px;
    color: #b4b4b5;
    margin-top: 4px;
}

.form-group1 .input-group {
    width: 93%;
    height: 350px;
    /* background-color: antiquewhite; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-group2 .input-group {
    width: 93%;
    height: 580px;
    /* background-color: antiquewhite; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-group3 .input-group {
    width: 93%;
    height: 690px;
    /* background-color: antiquewhite; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-group4 .input-group {
    width: 93%;
    height: 490px;
    /* background-color: antiquewhite; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-group1 .input-group .input-box,
.form-group2 .input-group .input-box,
.form-group3 .input-group .input-box,
.form-group4 .input-group .input-box {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    height: 90px;
    margin-bottom: 25px;

}

.form-group1 .input-group .input-box label,
.input-choice label,
.form-group2 .input-group .input-box label,
.form-group3 .input-group .input-box label,
.form-group4 .input-group .input-box label,
.input-box-double label {
    font-size: 17px;
    font-weight: 400;
    font-family: "poppins";
}

.form-group1 .input-group .input-box input,
.form-group2 .input-group .input-box input,
.form-group3 .input-group .input-box input,
.form-group4 .input-group .input-box input,
.input-box-double input,
.result-box .ensemble,
.form-group3 .input-group .input-box select {
    width: 100%;
    height: 58px;
    border: 1px solid #DDE2E5;
    box-shadow: 0px 2px 6px rgba(19, 18, 66, 0.07);
    font-size: 15px;
    font-weight: 400;
    font-family: "poppins";
    border-radius: 6px;
    padding-left: 10px;
}

.input-double {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    height: 90px;
    margin-bottom: 25px;

}

.input-box-double {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    width: 45%;
    height: 90px;
}

.input-choice {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    height: 210px;
}

.choice-box {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 160px;
    /* background-color: #DDE2E5; */
}

.choice-box .box1 {
    width: 40%;
    height: 100px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 2px 6px rgba(19, 18, 66, 0.07);
    border-radius: 10px;
    border: 1px solid #EFF0F7;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.choice-box .box1:hover {
    box-shadow: 0px 2px 6px rgba(132, 150, 255, 1);
}

.choice-box .box1.active {
    box-shadow: 0px 2px 6px rgba(132, 150, 255, 1);
}

.choice-box .box1 h5 {
    font-size: 16px;
    font-weight: 600;
}

.choice-box .box1 .illust {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e6ebfe;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-left: 21px;
    margin-right: 13px;

}

.button-group {
    width: 93%;
    height: 90px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.button-group1 {
    width: 93%;
    height: 90px;
    /* background-color: #080c5b; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}



.button-group button,
.button-group1 button {
    color: #ffffff;
    font-size: 18px;
    font-family: "poppins";
    font-weight: 600;
    text-decoration: none;
}

.button-group1 button:hover,
.button-group button:hover {
    color: #fff;
}

.button-group .btn,
.button-group1 .btn {
    width: 135px;
    height: 50px;
    background-color: #0C1179;
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.button-group1 .btn:hover,
.button-group .btn:hover {
    background-color: #080c5b;
}

.form-group-active {
    display: flex;
}

.error {
    border-color: red;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background-color: #fff;
    border-radius: 5px;
    max-width: 500px;
    margin: 15% auto;
    padding: 20px;
    position: relative;
    text-align: center;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.result {
    width: 40%;
    height: 800px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #EFF0F7;
    border-radius: 34px;
    box-shadow: 0px 5px 16px rgba(8, 15, 52, 0.06);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
}

.result h4 {
    color: #0C1179;
    font-size: 24px;
    font-weight: 700;
    font-family: "poppins";
    margin-bottom: 40px;
}

.result p {
    font-size: 15px;
    font-weight: 400;
    font-family: "poppins";
    margin-top: 20px;
}

.result-box .ensemble {
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 8px;
    padding-right: 8px;
}

.result-box {
    width: 100%;
    height: 270px;
    /* background-color: #aaa; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.group-buton {
    width: 100%;
    height: 110px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.group-buton1 {
    width: 100%;
    height: 110px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.group-buton a,
.group-buton1 button,
.group-buton a:hover,
.group-buton button,
.group-buton button:hover {
    color: #ffffff;
    text-decoration: none;
}


.bouton,
#download {
    width: 48%;
    height: 50px;
    background-color: #0C1179;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    font-family: "poppins";
    border-radius: 6px;
}

.bouton:hover {
    background-color: #080c5a;
}

@media only screen and (max-width: 768px) {
    .progress-step {
        display: none;
    }

    .form {
        width: 70%;
        justify-content: flex-start;
        /* padding-top: 15px; */
    }

    .choice-box {
        display: flex;
        flex-direction: column;
    }

    .button-group {
        justify-content: center;
    }

    .choice-box .box1 {
        height: 45%;
        width: 60%;
    }

    .button-group1 .btn {
        width: 45%;
    }

    .result {
        width: 85%;
        height: 1100px;
        margin-top: 20px;
        margin-bottom: 250px;

    }

    .group-buton {
        flex-direction: column;
    }

    .group-buton .bouton {
        width: 74%;
    }
    .form-group1{
        margin-top: 1px;
    }

}

@media only screen and (max-width: 480px) {
    .progress-step {
        display: none;
    }

    .form {
        width: 92%;
    }

    .choice-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .button-group {
        justify-content: center;
    }

    .result {
        width: 90%;
        margin-top: 20px;
        margin-bottom: 250px;
    }

    .group-buton {
        flex-direction: column;
    }

    .group-buton .bouton,
    .group-buton button {
        width: 74%;
    }
}

.modal {
    display: none;
    /* Par défaut, la fenêtre modale est cachée */
    position: fixed;
    /* La fenêtre modale est positionnée de manière fixe */
    z-index: 1;
    /* Met la fenêtre modale en premier plan */
    padding-top: 50px;
    /* Ajoute un espacement en haut de la fenêtre modale */
    left: 0;

    width: 100%;
    /* La largeur de la fenêtre modale occupe toute la largeur de l'écran */
    height: 100%;
    /* La hauteur de la fenêtre modale occupe toute la hauteur de l'écran */
    overflow: auto;
    /* Active le défilement si nécessaire */
    background-color: rgba(4, 4, 4, 0.474);
    /* Ajoute un arrière-plan semi-transparent pour la fenêtre modale */

}

.paper-block {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1200px;
    margin-top: 40px;
}

.paper-active{
    display: flex;
}

@media only screen and (max-width: 768px) {
    .paper-block {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .paper-block {
        width: 100%;
    }
}