body {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.child_progress {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    padding-right: 20px;
    height: auto;
    padding: 25px 20px 25px 0px;
}

.deparate {
    display: flex;
    margin-top: 15px;
    padding: 0px 30px 15px 30px;
    justify-content: center;
}
  
.status-info {
    position: relative;
}

.link_img {
    height: 20px;
    margin-top: 3px;
}
  
.bar-wrap {
    width: 100%;
    position: sticky;
    z-index: 1;
    border-radius: 10px;
    background-color: rgba(184, 184, 184, 0.479);
}
  
.bar {
    width: 0%;
    height: 20px;
    transition: width .15s ease-out;
    background-color: #28a745;
    border-radius: 10px;
}

.premier {
    margin-left: 82px;
}
  
.percentage {
    color: white;
    font-weight: bolder;
    position: absolute;
    top: 0px;
    z-index: 99;
    left: 50%;
    transform: translateX(-50%);
}

.add_child {
    position: fixed;
    z-index: 10000;
    top: 0px;
    width: 100%;
    height: 100vh;
    background-color: #00000060;
}

.parent_post {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    padding: 30px 36px 30px 36px;
    flex-direction: column;
    max-width: 435px;
    width: 100%;
    background-color: #ffffff;
    height: auto;
    border-radius: 30px;
    overflow: hidden;
}

.input {
    margin-top: 56px;
    width: 100%;
}

.input_cache {
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #DDDDDD;
    color: #909090;
    outline: none;
    margin-bottom: 10px;
    padding-left: 5px;
    height: 40px;
    font-size: 15px;
}

.inscription_btn {
    width: 100%;
    padding: 12px 0px;
    cursor: pointer;
    background-color: #6f42c1;
    border: none;
    margin-top: 41px;
    color: white;
    border-radius: 5px;
    font-size: 20px;
}

.h1_cache {
    font-size: 36px;
    margin-top: 10px;
    color: #666666;
}

.p_cache {
    color: #929292;
    font-size: 20px;
    margin-top: 20px;
    max-width: 275px;
}

.child_progress_1 {
    border: none;
}

.child_email {
    width: 100%;
    max-width: 100%;
    outline: none;
    text-align: left;
    padding-left: 8px;
    font-size: 16px;
    height: 30px;
    border-radius: 5px;
    border: none;
    background-color: whitesmoke;
}

.child_prenom {
    outline: none;
    border: none;
    width: 100%;
    max-width: 100%;
    text-align: left;
    padding-left: 8px;
    background-color: whitesmoke;
    height: 30px;
    border-radius: 5px;
    font-size: 16px;
}

.question_id {
    width: 38px;
    border: none;
    outline: none;
    background-color: transparent;
    text-align: right;
    font-size: 21px;
    color: #6f42c1;
}

.bas_form {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    justify-content: center;
    align-items: flex-end;
    width: 30%;
}

.info_1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.link_haut {
    display: flex;
    align-items: center;
    background-color: #f5f5f5d2;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 7px 16px 7px 13px;
    justify-content: space-between;
}

.child_link {
    display: flex;
    align-items: center;
    gap: 7px;
    width: auto;
    color: #000000;
    font-size: 24px;
}

.parent_question {
    display: flex;
    flex-direction: column;
    width: 70%;
    border-right: 1px solid rgba(128, 128, 128, 0.432);
}

.question_what {
    display: flex;
    gap: 3px;
    font-size: 21px;
    color: #6f42c1;
}

.hidden {
    display: none!important;
}

.flex_bas {
    display: flex;
    justify-content: space-between;
}

.delete {
    color: rgb(124, 124, 124);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

main {
    position: relative;
    margin: 0px auto;
    padding: 75px 40px 0px 40px;
}

.child_box {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    /* padding: 8px 15px 15px 15px; */
    border-radius: 10px;
    box-shadow: #00000010 1px 2px 3px;
    background-color: white;
}

h1 {
    color: #000000;
}

.final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}

.send {
    color: #28a745;
}

#view_child {
    margin: 0px 82px;
}

#child_progress {
    padding: 25px 30px 15px 30px;
}

.child_name2 {
    font-size: 21px;
    color: #6f42c1;
    padding: 0px 0px 25px 30px;
}

.child_name {
    font-size: 21px;
    padding: 0px 0px 25px 0px;
}

.error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    width: auto;
    padding: 7px;
    margin-top: 15px;
    display: inline-block;
    font-size: 17px;
    position: fixed;
}

.succes {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
    width: auto;
    padding: 7px;
    margin-top: 15px;
    display: inline-block;
    font-size: 17px;
    position: fixed;
}

.succes, .error {
    left: 0px;
    z-index: 99999;
}

@media screen and (max-width: 795px) {
    .succes, .error {
        padding: 6px;
        font-size: 15px;
    }
}

@media screen and (max-width: 530px) {
    .succes, .error {
        padding: 4px;
        font-size: 13px;
        margin-right: 50px;
    }
}


/* Nouveau code */

header {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: auto;
    right: 0px;
    align-items: end;
    padding: 24px 24px 7px 0px;
    z-index: 9999;
}

.btn_plus {
    border: none;
    width: auto;
    height: auto;
    background-color: transparent;
    cursor: pointer;
}

.img_plus {
    height: 58px;
    width: 58px;
}

.img_deconnexion {
    height: 43px;
    width: 43px;
}

.main {
    width: 100%;
    height: 100vh;
}

.parent_none {
    display: flex;
    gap: 121px;
    width: 100%;
    justify-content: center;
    max-width: 1170px;
    margin: 0px auto;
    align-items: center;
}

.img_lion {
    height: 695px;
}

.flex_welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 53px;
    max-width: 600px;
    text-align: center;
}

.h1_welcome {
    color: #595959;
    font-size: 96px;
}

.p_welcome {
    font-size: 32px;
    color: #888888;
}

/* Responsive */

/* ------------------------------ */

.hidden_form {
    animation-name: fade_out_form;
    animation-duration: 300ms;
    animation-fill-mode: forwards;
}

@keyframes fade_out_form {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 0;
        display: none;
    }
}

.show_form {
    animation-name: fade_in_form;
    animation-duration: 300ms;
    animation-fill-mode: forwards;
}

@keyframes fade_in_form {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@media screen and (max-width: 1170px) {
    .h1_welcome {
        font-size: 70px;
    }

    .p_welcome {
        font-size: 24px;
    }

    .img_lion {
        height: 585px;
    }

    .parent_none {
        gap: 25px;
        justify-content: center;
    }
}

@media screen and (max-width: 1045px) {
    .point {
        height: 65px;
    }

    .premier {
        font-size: 25px;
    }

    .child_link {
        gap: 5px;
        font-size: 18px;
    }

    .percentage {
        font-size: 13px;
        top: 1px;
    }

    .child_prenom {
        font-size: 13px;
    }

    .child_email {
        font-size: 14px;
    }

    .delete {
        font-size: 14px;
    }

    .send {
        font-size: 14px;
    }
    
    .question_id {
        font-size: 16px;
        width: 31px;
    }

    .link_img {
        height: 17px;
    }

    .question_what {
        font-size: 17px;
    }

    .h1_cache {
        font-size: 27px;
    }

    .p_cache {
        font-size: 17px;
    }

    .inscription_btn {
        font-size: 16px;
    }

    .parent_post {
        max-width: 360px;
    }
}

@media screen and (max-width: 900px) {
    .h1_welcome {
        font-size: 50px;
    }

    .p_welcome {
        font-size: 20px;
    }

    .img_lion {
        height: 420px;
    }

    .flex_welcome {
        max-width: 422px;
    }

    .parent_none {
        gap: 25px;
        justify-content: center;
    }
}

@media screen and (max-width: 835px) {
    .child_name2 {
        font-size: 18px;
    }

    .deparate {
        flex-direction: column;
    }

    .parent_question {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(128, 128, 128, 0.432);
    }
    
    .child_progress {
        padding: 25px 0px 15px 0px;
    }

    .info_1 {
        margin-top: 15px;
        flex-direction: row;
    }

    .bas_form {
        padding-left: 0px;
        width: 100%;
    }

    #child_name {
        width: 50%;
    }

    #child_mail {
        width: 50%;
    }

    .final {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 700px) {
    .h1_welcome {
        font-size: 38px;
    }

    .p_welcome {
        font-size: 18px;
    }

    .img_lion {
        height: 420px;
    }

    .flex_welcome {
        max-width: 422px;
        gap: 20px;
    }

    .parent_none {
        gap: 25px;
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    header {
        padding-top: 7px;
    }

    .parent_none {
        gap: 0px;
        flex-direction: column-reverse;
        max-width: 330px;
        margin-top: 100px;
    }

    .img_lion {
        height: 350px;
    }

    #view_child {
        margin: 0px;
    }

    .premier {
        font-size: 20px;
        margin: 0px;
    }

    .img_plus {
        height: 30px;
        width: 30px;
    }

    .img_deconnexion {
        height: 30px;
        width: 30px;
    }

    main {
        padding-top: 40px;
    }

    header {
        padding-right: 5px;
    }

    .h1_cache {
        font-size: 22px;
    }

    .p_cache {
        font-size: 14px;
    }

    .input_cache {
        height: 36px;
        font-size: 13px;
    }

    .input {
        margin-top: 15px;
    }

    .inscription_btn {
        padding: 7px 0px;
        margin-top: 22px;
        font-size: 14px;
    }

    .parent_post {
        max-width: 297px;
        border-radius: 23px;
    }
}

@media screen and (max-width: 470px) {
    #view_child {
        margin: 0px;
    }

    .child_name2 {
        padding: 0px 0px 10px 30px;
        font-size: 12px;
    }

    #child_progress {
        padding: 15px 30px 5px 30px;
    }

    .premier {
        font-size: 16px;
    }

    .link_haut {
        flex-wrap: wrap-reverse;
        justify-content: space-between;
    }

    .child_link {
        width: auto;
    }

    .info_1 {
        margin-top: 15px;
        flex-direction: column;
    }

    #child_name {
        width: 100%;
    }

    #child_mail {
        width: 100%;
    }

    .child_link {
        gap: 5px;
        font-size: 13px;
    }

    .link_img {
        height: 13px;
        margin: 1px 11px 0px 0px;
    }

    .delete {
        font-size: 11px;
    }

    .child_delete {
        line-height: 1em;
    }

    .question_what {
        font-size: 12px;
    }

    .final {
        padding-right: 0px;
        align-items: center;
    }

    .child_send {
        line-height: 1em;
    }

    .send {
        font-size: 10px;
    }

    .question_id {
        font-size: 12px;
        width: 22px;
    }

    .bar, .bar-wrap {
        height: 10px;
    }

    .percentage {
        font-size: 8px;
        top: -1px;
    }

    .child_name {
        padding-bottom: 10px;
    }

    .child_progress {
        padding: 10px 0px 10px 0px;
    }

    .child_prenom, .child_email {
        padding-left: 5px;
        height: 22px;
        border-radius: 3px;
        font-size: 11px;
    }

    .info_1 {
        margin-top: 10px;
        gap: 7px;
    }

    text {
        display: none;
    }

    #none {
        display: none;
    }

    .question_what {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 365px) {
    .h1_welcome {
        font-size: 26px;
    }

    .p_welcome {
        font-size: 14px;
    }

    .img_lion {
        height: 250px;
    }

    .premier {
        font-size: 14px;
    }

    .h1_cache {
        font-size: 18px;
    }

    .p_cache {
        font-size: 12px;
    }

    .parent_post {
        max-width: 224px;
        border-radius: 19px;
        padding: 25px 26px 25px 26px;
    }

    .input_cache {
        height: 27px;
        font-size: 11px;
    }

    .inscription_btn {
        padding: 7px 0px;
        margin-top: 13px;
        font-size: 11px;
    }
}