@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
   --border-color: #cacad0;
   --width-navigation: 260px;
   --color-font-grey: #9f9fab;
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: "Poppins", sans-serif;
}

body {
   height: 100%;
      position: relative;

}

hr {
   border-color: #ffffff;
}

a {
   text-decoration: none;
   color: #58aaff;
}
button,input,label{
    display: block;
}
input{
    width: 100%;
    padding: 10px;
}
textarea{
    width: 100%;
    height: 100px;
    padding: 10px;
}
button{
    padding: 10px 20px;
}
select{
    padding: 10px;
}


.xdebug-error{
   /* Pour afficher les erreur PHP correctement  */
   color : black;
}
.action-user{
   display: flex;
   align-items: center;
}
.action-user>a{
   display: block;
   color : #1E1E2D;
   font-weight: 500;
   font-size: 1rem;
   margin-left :30px ;
   transition: color 0.2s ease-in-out;
}
.action-user>a:hover{
   color : #F7B801;
}
/* Formulaire login */ 

.form-login{
   background-color: #EEF0F8;
   width: 330px;
   margin: 40px auto;
   padding: 10px;
}
.form-login>div{
   margin: 20px 0;;
}
.form-login button{
   width: 100%;
   margin: 20px 0;
}
/* Formulaire signin */ 



/* Pours se connecter */
.index-connection{
   margin: 50px auto;
   display: flex;
   justify-content: center;
   gap: 30px;

}
.index-connection>a{
   font-size: 1rem;
   display: inline-block;
   background-color: #2A3761;
   color: white;
   padding: 10px 20px;
   border-radius: 5px;
}
.index-connection>a:hover{
   background-color:#1E1E2D ;
}
.container {
   width: 100%;
   display: flex;

   min-height: 100vh;
}

.container-page {
   width: 100%;
   min-height: 100vh;
   display: flex;
   justify-content: space-between;
   flex-direction: column;


}
.content-index{
   display: flex;
   align-items: center;
   justify-content: center;
}
.title{
   text-align: center;
}
.title h1{
   font-size: 4rem;
}
.title h1>i{
   color: #F7B801;
}
.add-link{
   display: flex;
   justify-content: center;
   align-items: center;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background-color: #494B74;
   transition: all 0.2s ease-in-out;
}
.add-link:hover{
   background-color: #34354c;
}
.add-link a{
   color: #EEF0F8;
   font-size: 2rem;
}
.navigation {
   min-height: 100%;
   width: var(--width-navigation);
   background-color: #1e1e2d;
   font-size: 0.8rem;
   
}

.navigation>a {
   color: #e6e6e6;
   font-size: 0.9rem;
   font-weight: 400;
   padding: 15px 0px 15px 30px;
   background-color: #1a1a27;
   background-color: #2d3c6cd3;
   
   margin-bottom: 50px;
   width: 100%;
   display: block;
   height: 50px;
}
.navigation>a>i{
   color : #f7b801;
}
.navigation h3 {
   font-size: 0.8rem;
   font-weight: 300;
   padding: 20px 0px 20px 15px;
   color: #494b74;
}

.navigation ul {
   /* margin: 10px 0; */
   color: #9d9eb2;
}

.navigation ul>li:first-child {
   /* margin: 10px 0 50px 25px; */
}

.navigation ul>li {
   display: flex;
   align-items: center;
   list-style: none;
   margin: 30px 0 30px 25px;
}

.navigation ul>li>a {
   color: #9d9eb2;
}

.navigation img {
   height: 20px;
   width: 20px;
   margin-right: 10px;
}

/* HEADER */

header {
   padding: 10px 0;
   background-color: #fdfdfd;
   color: var(--color-font-grey);
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 50px;

}

header .ariane ul {
   display: flex;
   align-items: center;
}

header .ariane ul li {
   padding: 0 0 0 20px;
   box-sizing: content-box;
   font-size: small;
}

/* header .ariane ul li:first-child {
   color: #1a1a27;
   font-size: medium;
   font-weight: bold;
} */

header .ariane ul li {
   list-style: initial;
   list-style-position: inside;
}
header .ariane ul li:first-child{
   color: #1a1a27;
   font-size: medium;
   font-weight: bold;
   list-style: none;

}

header .user-info {
   display: flex;
   align-items: center;
   margin-right: 15px;
   font-size: small;
   gap : 20px;
}

header .user-info span {
   /* Place holder logo */

   margin-left: 10px;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 30px;
   height: 30px;
   background-color: #c9f7f5;
   color: #33cbc4;
   font-weight: bold;
   border-radius: 5px;
}

/* CONTENT */
.content {
   flex: 1;
   padding: 50px;
   padding-bottom: 70px;
   background-color: #eef0f8;
   color: #2c3043;
   font-size: small;
}

.content .description,
.data {
   background-color: white;
}

.content .description {
   display: flex;
   align-items: center;
   padding: 10px;
   margin-bottom: 40px;
   border-radius: 5px;
}

.content>.description>img {
   height: 30px;
   margin: 10px;
   margin-right: 20px;
}

.data {
   padding-bottom: 20px;
   border-radius: 5px;
}

.data-title {
   padding: 20px;
   overflow: hidden;
   display: flex;
   justify-content: space-between;
}

.data-title h2 {
   font-size: medium;
}

.data-title>p {
   padding-top: 5px;
   color: #cacad4;
}

.data-content {
   margin: 40px auto;
   border: 1px solid var(--border-color);
   border-collapse: collapse;
   text-align: left;
}

.data-content th,
td {
   border: 1px solid var(--border-color);
   padding: 20px 10px;
}
.data-content tr>td:nth-child(2){
    max-width: 400px;
}
.data-content .action {
   display: flex;
}

.data-content .action li {
   list-style: none;
}

.data-content .action img {
   height: 20px;
   padding: 0 10px;
}

/* Form Link */
.formLink{
    margin: 50px auto;
    width: 40%;
}
.formLink>div,textarea,select{
    margin-bottom: 30px;
    resize: none;
}
 

/* FOOTER */

footer {
   display: flex;
   justify-content: space-between;
   background-color: #fdfdfd;
   color: var(--color-font-grey);
   padding: 10px;
   align-items: center;
   font-size: 12px;
}

footer a {
   color: var(--color-font-grey);
}

#links {
   display: flex;
}

#links li {
   padding: 10px 10px;
   list-style: none;
}

/* Alert message */
.alert-modal{
   width: 100vw;
   height: 100%;
   position: absolute;
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: rgba(0,0,0, 0.3);
   pointer-events: none;
   visibility : hidden;

}
.alert-info{
   margin-left: 150px;
   min-width: 300px;
   padding: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: #ACD3BA;
   transition: all 0.3s ease-in-out;
   border-radius: 5px;
   opacity: 0;
   visibility : hidden;
   text-align: center;
}
.description-bookmark{
   max-width: 300px;
}
.warning-data{
   text-align: center;
   margin: 50px 0;
}
.selector-page{
   margin: 20px auto;
   width: fit-content;
   gap: 20px;
   display: flex;
   justify-content: space-between;
   align-items: center;
}
.selector-page i{
   font-size: 1.5rem;
}
@media screen and (max-width: 1150px) {

   /* Modification de la taille du tableau   */
   table td,
   th {
      display: none;
   }

   table th:first-child,
   td:first-child,
   th:nth-child(2),
   td:nth-child(2),
   th:last-child,
   td:last-child {
      display: table-cell;
   }
}

@media screen and (max-width: 650px) {
   .formLink{
    width: 90%;
}
   .navigation {
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
   }
   
   .navigation>h2{
      margin-bottom: 0 ;
      padding: 0;
   }
   .navigation>ul>li:first-child,
   .navigation>ul>li {
      margin: 10px 0;
   }
   
   .title>h1{
      font-size: 45px;
   }
   .container {
      flex-direction: column;
   }
   
   .container-page {
      margin: 0;
   }

   .content {
      padding: 10px;
   }

   .ariane {
      display: none;
   }

   header {
      justify-content: flex-end;
   }
  .navigation>a{
      margin: 0 auto;
      padding: 15px 0;
      text-align: center;

   }
}
