*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

/*
 body{
    height: 100vh;
   background-image: linear-gradient(-225deg, #DFFFCD 0%, #90F9C4 48%, #39F3BB 100%);
   position: relative !important;
}
*/

.main{
   /* height: 100vh; */
   background-image: linear-gradient(-225deg, #DFFFCD 0%, #90F9C4 48%, #39F3BB 100%);
   position: relative !important;
}


.navbar{
    display: flex;
    /* flex-direction: row; */
    justify-content: space-between;
    height: 30px;
    background-color: #07704c;/* #339674; aquamarine; */
    margin: 0 !important;
    padding: 0 1rem;
    border-radius: 0 !important;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.pause{
    display: none !important;
    color: white !important;
}

/* audio */
.user_audio_list ul{
    list-style: none;
    margin-top: 20px;
}

.audio-button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
}

.audio_item{
    display: inline-flex;
}

.audio_item button{
    margin-left: 10px;
}

.audio_item button:hover{
    background-image: linear-gradient(-60deg, #16a085 0%, #f4d03f 100%);
}

.audio_item p{
    margin-left: 20px;
    background-color: #eaf7f5;
    height: 40px;
    width: 40px;
    display: flex;  
    justify-content: center;
    align-items: center;

}

.audio_item audio{
    display: none;
}
.audio-button .delete-button {
    background-color: red;
} 
.record{
    background-color: none !important;
    border: solid 3px red;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar :where(.center, .right) {
    display: flex;
    justify-items: center;
    align-items: center;
    /* gap: 10px; */
    white-space: nowrap;
}

.navbar :where(.center, .right) a{
    display: flex;
    margin: 0 0.5rem;
    /* color: white; */
    transition: background-color 0.5s;
    padding: 5px;
    color: #83C0C1;

}

.navbar :where(.center, .right) a:hover{
    background-color: #5debd7;
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.navbar :where(.center, .right) a:hover i{
    color: #5debd7;
}



.nav-link i {
    margin-left: 2px;
    background-color: aliceblue;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:  0 50% 50%  0 ;
    height: 30px;
    width: 30px;
    /* border-left: 0 ; */
}

.nav-button{
    cursor: pointer;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: none;
    justify-content: center;
    align-items: center;
    /* display: flex; */
    /* flex-direction: row; */
}

.nav-button:hover{
    background-color:azure;
}

.logo{
    font-weight: 700;
    background-color: aliceblue;
    padding: 10px;
    border-radius: 20px 0 20px 0;
    color: #83C0C1;
}

.submit_i{
    width: 50px;
    height: 50px;
}


/* Action part */

#speak_complement {
    transition: all 0.3s ease; 
    opacity: 1;
}

.hidden {
    opacity: 0; 
}


.authors_action{
    display: flex ;
    justify-content: center;
    background-color: rgb(252, 249, 249);
    position: fixed;
    width: -webkit-fill-available;
    margin-top: 0px;
    padding-top: 50px;
    position: relative;
}

.action{
    width: 100%;
    height: 350px;
    background-color: rgb(252, 249, 249);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 120px;
}

.speak_card,.listen_card{
    display: flex;
    flex: 1 1 50%;
    justify-content: center;
    align-items: center;

}

.speak_card p:nth-child(2){
    transition: 1s;
}

.listen_card{
    background-color: #d1efe2;
}

.listen_icon i{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    background-color: #96E9C6;
    transition: color box-shadow 1s;
}

.listen_icon i:hover{
    /* background-color: #96E9C6;
     */
     color: aliceblue;
    box-shadow: 10px 10px 15px #b5c1bc;
}

.speak_text{
    margin-right: 50px;
    /* background-color: antiquewhite; */
    /* width: 50%; */
    display: flex;
    flex-direction: column;
    padding: 0;
}

.listen_text{
    margin-right: 10px;
    /* background-color: antiquewhite; */
    /* width: 50%; */
    display: flex;
    flex-direction: column;
    padding: 5%;
}

.speak_icon {
    display: grid ;
}
 

.speak_icon a i{
    display: flex;
    align-items: center;
    justify-content: center;
    /* justify-items: center; */
    border-radius:  50%;
    height: 60px;
    width: 60px;
    /* padding: 15px; */
    background-color:#FF9EAA;
    color: #c66e78;
}

.speak_icon i:hover{
    /* background-color: #96E9C6;
     */
    color: aliceblue;
    box-shadow: 10px 10px 15px #c09ea2;
}

.authors_text_title{
    display: flex;
    justify-content: center;
    background-color: linear-gradient(-225deg, #DFFFCD 0%, #90F9C4 48%, #39F3BB 100%);
}

/* authors */
.authors{
    display: flex;
    flex: 1 1 50%;
    justify-content: center;
    align-items: center;
    background-color: #f4f1f1;
    height: 800px;
}
.admin_authors{
    background-color: #f4f1f1;
    display: flex;
    align-items: center;
    width: 100px;
    justify-content: center;
}

.author_card_text{
    margin: auto;
    width: 50%;
    display: flex;
    justify-items: center;
    align-items: center;
    gap: 20px;
    /* background-color: #c66e78; */
}

.authors_card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.author_text{
    width: 50%;
    margin-left: 20px;
    /* background-color: #83C0C1; */
}


.image_card{
    width: 200px;
    height: 200px;
    /* background-color: #c66e78;    */
}

.image_card img{
    width: 100%;
    border-radius: 50%;
    height: 100%;
}

.authors_card{
    width: 80%;
    margin: auto;
    /* height: 600px; */
    padding: 50px 0;
}


.mobile_navbar{
    display: none;
    top: 0;
}

.one{
    background-color: bisque;
}


/* pupose card */
.purpose_super_card{
    background-color: #ebf4f0;
    width: 100%;
    height: 450px;
    display: flex;
    align-self: center;
    justify-items: center;
    flex-direction: column;
}
.purpose_card{
    height: auto;
    margin: auto;
    width: 84%;
    padding: 10px;
    text-align: justify;
    font-size: x-large;
    
}

.purpose_card p{
    font-size: x-large;
    
}
/* blogs on the main */
.blogs{
    height: 200px;
}



footer{
    height: 100px;
    margin: auto;
    display: flex;
    background-color: #07704c; /* rgb(96, 96, 122);*/
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    bottom: 0; 
    padding-left: 20px;
    position: fixed;
}

footer a{
    font-weight: 1px;
    font-size: 16px;
}

footer a:hover{
    background-color: #d1efe2;
    border-radius: 6px;
    padding: 5px;
}

.faqs{
    display: flex;
    flex-direction: column;
}

.footer_one{
    background-color: #9ce6c7;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.menu_burger{
    display: none;
}

.mobile_elements{
    display: none;
}

/* speak page */


.register_card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}


.register_text{
    width: fit-content;
    background-color: hsl(155, 55%, 78%);
    padding: 4%;
    text-align: center;
}
.small-red_circle{
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    align-content: center !important;
    position: relative;
}

.speak_button{
    width: 40px;
    height: 40px;
    background-color: #c09ea2;
    border-radius: 50%;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    align-content: center !important;
    position: relative;
}


.principal{
    display: contents;
    /*justify-content: center;
    align-items: center;
    gap: 10px; */
}

.mic_button_icon{
    background-color: rgb(0, 187, 255);
    font-size: x-large;
    transition: 0.5s;
    /*box-shadow: 5px 2px 5px #43bec2; */
    cursor: pointer;
}

.mic_button_icon:hover{
    background-color: rgb(9 84 245);
}

.submit_button_icon{
    background-color:rgb(90, 238, 90);
    font-size: x-large;
    transition: 0.5s;
    cursor: pointer;
}

.submit_button_icon:hover{
    background-color:rgb(3 182 3);
  
}

.skip_button_icon{
    font-size: x-large;
    transition: 0.5s;
    cursor: pointer;
}

.skip_button_icon:hover{
    background-color:#d37983;
}

.speak_buttons{
    display: flex;
    gap: 10px;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
}

/*
.speak_buttons .speak_button{
    border: none;
}
*/

.speak_buttons button:disabled{
    background-color: #b5c1bc;
}


.skip_button:hover{
    box-shadow: 5px 2px 5px #06e35e;
    color: rgb(16, 15, 15);
}

/* admin */
.admin_container{
    width: 100%;
    display: flex;
    /* height: 90vh; */
}

.admin_content{
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: 80px auto 0;
}

.admin_aside{
    width: 20   0px;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    padding:  10px;
    gap: 10px;
    background-color: #b9dbdc;
    height: 100%;
    margin-top: 50px;
    position: fixed;
    height: 100vh;
}
.admin_aside a{
    margin-top: 10px;
}
.admin_aside a i{
    margin-left: 10px;
}

.admin_aside a:hover{
    background-color: #b5c1bc;
    color: #96E9C6;
}

.admin_statistic{
    width: 100%;
    height: 50px;
    background-color: #83C0C1;
    margin: 10px 0;
    display: flex;
}

.admin_user_name{
    width: 30%;
    margin-left: 2%;
}

div.table-title {
    display: block;
   margin: auto;
   max-width: 600px;
   padding:5px;
   width: 100%;
 }
 
 .table-title h3 {
    color: #fafafa;
    font-size: 30px;
    font-weight: 400;
    font-style:normal;
    font-family: "Roboto", helvetica, arial, sans-serif;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
    text-transform:uppercase;
 }
 
 
 /*** Table Styles **/
 
 .table-fill {
   background: white;
   border-radius:3px;
   border-collapse: collapse;
   height: 320px;
   margin: auto;
   max-width: 600px;
   padding:5px;
   width: 100%;
   box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
   animation: float 5s infinite;
 }
  
 th {
   color:#D5DDE5;;
   background:#1b1e24;
   border-bottom:4px solid #9ea7af;
   border-right: 1px solid #343a45;
   font-size:23px;
   font-weight: 100;
   padding:24px;
   text-align:left;
   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
   vertical-align:middle;
 }
 
 th:first-child {
   border-top-left-radius:3px;
 }
  
 th:last-child {
   border-top-right-radius:3px;
   border-right:none;
 }
   
 tr {
   border-top: 1px solid #C1C3D1;
   border-bottom: 1px solid #C1C3D1;
   color:#666B85;
   font-size:16px;
   font-weight:normal;
   text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
 }
  
 tr:hover td {
   background:#4E5066;
   color:#FFFFFF;
   border-top: 1px solid #22262e;
 }
  
 tr:first-child {
   border-top:none;
 }
 
 tr:last-child {
   border-bottom:none;
 }
  
 tr:nth-child(odd) td {
   background:#EBEBEB;
 }
  
 tr:nth-child(odd):hover td {
   background:#4E5066;
 }
 
 tr:last-child td:first-child {
   border-bottom-left-radius:3px;
 }
  
 tr:last-child td:last-child {
   border-bottom-right-radius:3px;
 }
  
 td {
   background:#FFFFFF;
   padding:10px;
   text-align:left;
   vertical-align:middle;
   font-weight:300;
   font-size:18px;
   text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
   border-right: 1px solid #C1C3D1;
 }
 
 td:last-child {
   border-right: 0px;
 }
 
 th.text-left {
   text-align: left;
 }
 
 th.text-center {
   text-align: center;
 }
 
 th.text-right {
   text-align: right;
 }
 
 td.text-left {
   text-align: left;
 }
 
 td.text-center {
   text-align: center;
 }
 
 td.text-right {
   text-align: right;
 }

.admin_user_left{
    width: 60%;
}
/* form */
.form_veil{
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    display: none;
}

.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
  }

.form-popup {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 10%;
    right: 4%;
    border: 3px solid white;
    z-index: 1000;
  }

  .form-container input, .form-container input[type=password] {
    width: 100%;
    padding: 10px;
    margin: 5px 0 10px 0;
    border: none;
    background: #f1f1f1;
  }

  .form-container input[type=text]:focus, .form-container input[type=password]:focus {
    background-color: #ddd;
    outline: none;
  }

  .form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
   /* width: 30%; */
    margin-bottom:10px;
    opacity: 0.8;
  }

  .form-container .cancel {
    background-color: red;
  }

  .form-container .btn:hover, .open-button:hover {
    opacity: 1;
  }
  
  .form-container select{
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
  }
/*  */
  .overall_data{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-items: center;
    align-self: center;
    top: 30px;
    }

    .overall_statistic{
        width: 100%;
        display: flex;
        justify-content:space-between;
        align-items:center;
    }


    .overall_statistic div{
        width: 500px;
        height: 500px;
        display: flex;
        justify-content:center;
        align-items:center;
        flex-direction: column;
        margin-top: 50px;
    }

    .overall_data div{
        width: 23%;
        margin: 10px 10px;
        padding: 10 px;
        display: flex;
        justify-items: center;
        align-items: center;
        flex-direction: column;
        border-radius: 10px;
        height: 150px;
    }

    .overall_data div:nth-child(1){
        background-color: yellow;
    }

    .overall_data div:nth-child(2){
        background-color: rgb(128, 43, 231);
        color: white;
    }

    .overall_data div:nth-child(3){
        background-color: rgb(211, 99, 19);
        color: wheat;
    }
    .overall_data div:nth-child(4){
        background-color: rgb(240, 72, 21);
        color: #d4d8ec;
    }

.admin_home_container{
    width: 100%;
}
.admin_message{
    /* background-color: #9ce6c7; */
    width: 100%;
    height: 100px;
    margin: 10px 10px;
    display: flex;
    /* flex-wrap: wrap; */
    /* font-size: 5px !important; */
    /* font-weight:10px; */
    border-bottom: solid 2px #04AA6D;
    padding-bottom: 5px;
    padding-top: 5px;
}

.admin_message .admin_message_content{
    width: 75%;
    /* display: flex; */
    /* flex-direction: row; */
    /* background-color: #c09ea2; */
    display: flex;
    
}

.admin_message .admin_message_content p{
    width: 60%;
    /* border: solid 1px; */
}

.admin_button{
    margin: 5px;
    padding: 10px;
    opacity: 0.8;
    border-radius: 10px;
}
.admin_button:hover{
    opacity: 1;
}
.admin_valider{
    background-color: #04AA6D;
}

.admin_rejeter{
    background-color:#c66e78;
}

.admin_actions{
    display: flex;
    width: 25%;
}

.admin_actions .record_status{
    width: 30%;
    background-color: #c66e78;
    display: flex;
    /* align-content: center; */
    align-items: center;
    justify-content: center;
}

.admin_actions ul{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
}

.success-message{
    width: 100%;
    height: 5%;
    margin-bottom: 20px;
    padding-block: 0.5%;
    text-align: center;
    background-color: #f19808;
    color: white;
    z-index: 10;
}

/*
.alert-success{
    width: 100%;
    height: 50px;
    background-color: #96E9C6;
    color: white;
    z-index: 10;
}
*/

.alert-warning{
    width: 100%;
    height: 80px;;
    background-color: #96E9C6;
    color:  rgb(233 78 6);
    text-align: center;
    font-size: 26px;
}

.message-guide {
    width: 100%;
    background: rgb(62 125 126 / 15%); /* rgb(34,193,195); */
    color:  rgb(250, 247, 245);
    text-align: center;
    margin-bottom: 10px;
}


.user_chart_card{
    background-color: #22262e;
    height: 400px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 120px 0;
}
.user_chart_info{
    color: wheat !important;
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #04AA6D;
}
.user_chart_card canvas{
    width: 100%;
    height: 100%;
}

.listen_audio{
    margin-top: 20px
}   

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in forwards;
}


@media screen and (max-width: 900px) {
    #menu_burger{
        display: block;
    }

    .navbar{
       display: none;
    }
    .authors{
        height: 900px;

    }
    .form-container {
        width: 100%;
        padding: 10px;
        background-color: white;
      }
    
      .form-popup {
       /* position: fixed; /* Meilleur que absolute pour centrer sur tout l'écran 
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); 
        width: 100%;
        max-width: 500px; /* limite de largeur sur grand écran 
        padding: 1rem;
        z-index: 1000;

        display: flex;
        align-items: center;
        justify-content: center;
          */
        display: flex;
        position: absolute;
        align-items: center;
        justify-content: center;
        top: 30%; 
        right: 0;
        width: 100%;
        border: none;
        z-index: 1000;
        
      }
    form{
        /* position: absolute;  */
        /* float: left; */
        /* width: 100%; */
        top: 0;
        right: 0;
        /* width: 100%; */
        /* transform: translate(-50%, -50%); */
    }
    .listen_audio{
        margin-top: 20px
    }
    .form_button{
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .action{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        height: 450px;
        margin-top: 20px;
        justify-content: space-around;
        margin-bottom: 120px;
    }
    .speak_card,.listen_card{
        display: flex;   
        flex: 1 1 100%;
        height: 200px;
        width: 50%;
    }

    .authors_left {
        margin-top: 10px;
    }
    
    .authors_right {
        margin-top: 10px;
    }

    .purpose_card{
        height: auto;
        margin: auto;
        width: 80%;
        padding: 10px;
        text-align: justify;
        font-size: x-large;
    }

    .purpose_super_card{
        height: auto;
    }
   
    
    .navbar .nav_elements{
        display: none !important;
    }

    .menu_burger i{
        cursor: pointer;
    }
    
    .speak_text, .listen_text{
        
        margin-top: 10%;
        padding: 5%;
        font-size: 20px;
        font-weight: 400;
    }

  
    .image_card{
        width: 200px;
        height: 200px;
        border-radius: 50%;

    }

    
    .image_card img{
        width: 100%;
        height: 100%;
    }
    
    .authors_card{
        width: 100%;
        padding-top: 20px;
        /* padding-bottom: 300px; */
    }

    .author_card_text{
        margin-top: 20px;
        width: 70%;
    }

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

    .mobile_elements ul{
        display: flex;
        flex-direction: column;
        gap: 10px;
        list-style: none;
    }

    .mobile_elements{
        display: none;
        margin-top: 20px;
    }


    li a{
        display: flex;
        gap: 10px;
        padding: 10px;
        width: 100%;
        
    }

    li a:hover{
        background-color: #d1efe2;
        width: 100% !important;
        font-size:x-large;
        font-weight: 500;
        display: flex;
        justify-content: start;
    }

    .mobile_navbar{
        display: block;
        top: 0;
        /* height: 100px; */
        z-index: 10;
        padding: 20px;
        background-color: aquamarine;
        width: 100%;
        position: fixed;
    }

 /*    footer{
        height: 100px;
        margin: auto;
        display: flex;
        background-color: #07704c; rgb(96, 96, 122);
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 20px;
        position: absolute;
        bottom: 0; 
        padding-left: 20px;
    }
        */

    .alert-warning {
        width: 100%;
        height: 90px;
        background-color: #96E9C6;
        color: rgb(233 78 6);
        text-align: center;
        font-size: 26px;
    }

}   

/* tooltip */

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width:max-content;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

