@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
    --white: #FEFEFE;
    --admin: #CEF1DA;
    --admin2: #2d9951;
    --admin3: #30ac5a;
    --user: #46124e;
    --user2: #5445fd;
    --user3: #E7E4FF;
    --black: #2E2E2E;
    --btn-back: #fefefe;
    --back: #eee;
}

html,
body {
    margin: 0;
    display: flex;
    flex-direction: column;
}


h1 {
    text-align: center;
}

footer {
    margin-top: 20%;
    background-color: #2E2E2E;
    color: #FFF;
    text-align: center;
    padding: 20px;
    width: calc(100% - 280px);
    position: relative;
    justify-content: space-around;
    display: flex;
    align-items: center;
    bottom: 0;
    left: 240px;
    transition: width 0.5s ease, left 0.5s ease;
}

footer.collapsed {
    width: calc(100% - 100px);
    left: 60px;
}

main {
    flex-grow: 1;
    margin-left: 240px;
}

li {
    list-style: none;
}

h1 {
    padding: 25px;
}

a {
    color: var(--btn-back);
    text-decoration: none;
}

.create {
    padding: 25px;
    display: flex;
    justify-content: center;
}

.btn {
    border-radius: 10px;
    padding: 10px;
    border: 2px solid white;
}

.btn:hover {
    background-color: purple;
    color: white;
}

/* Styles des tableaux */
table {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
}

th,
td {
    padding: 0.8rem 1rem;
    text-align: center;
}

th {
    color: #ffffff;
}

tr {
    border: 2px solid #E1E1E1;
}

.pair-admin{
    background-color: var(--admin);
    color: black;
}
.pair-admin-th {
    background-color: var(--admin3);
    color: black;
}

.pair-users {
    background-color: var(--user3);
}
.pair-users-th {
    background-color: var(--user2);
}

.impair {
    background-color: var(--btn-back);
    color: #000000
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 260px;
    top: 0;
    width: calc(100% - 260px);
    transition: left 0.5s ease, width 0.5s ease;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup.collapsed {
    left: 90px;
    width: calc(100% - 90px);
}


.popup-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    width: 80%;
}

.deleteButton:hover,
.editButton:hover {
    cursor: pointer;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.formulaire {
    place-content: center;
    margin-bottom: 1.3rem;

}

fieldset {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
    padding: 10%;
    width: 80%;
    border: none;
}

fieldset h2 {
    text-align: center;
    margin-top: 0.5rem;
}

.conn .user {
    display: flex;
    align-items: center;
    background-color: var(--back);
    border-radius: 2rem;
    padding: 0.5rem;
    box-shadow: 0px 4px 6px 1px rgb(106, 106, 106);
    margin: 1.8rem 0;
    width: 100%;
}

.conn .user span {
    margin-right: 0.6rem;
    font-size: 1.5rem;
    color: var(--black);
}

.conn .user input {
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem;
    flex: 1;
    font-size: 1rem;
}

select {
    padding: 0.5rem;
    margin: 0.5rem;
    font-size: 1rem;
    outline: none;
    border: none;
    cursor: pointer;
}

.send2 {
    display: flex;
    justify-content: center;
}

.send2 input {
    padding: 1rem 2.2rem;
    background-color: var(--user2);
    color: var(--white);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1.1rem;
}

.send {
    display: flex;
    justify-content: center;
}

.send input {
    padding: 1rem 2.2rem;
    background-color: var(--user2);
    color: var(--white);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1.1rem;
}

.send2 input {
    padding: 1rem 2.2rem;
    background-color: var(--admin2);
    color: var(--white);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1.1rem;
}

.nom {
    display: flex;
    font-size: small;
    gap: 8rem;
    width: 100%;
    justify-content: center;
}

a h4 {
    text-align: center;
    color: var(--user);
    text-decoration: underline;
}

.impair a {
    color: black;
}
.impair button {
    color: black;
}
.pair button {
    color: rgb(255, 255, 255);
}

.Submit {
    background-color: var(--admin2);
    color: white;
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    border-radius: 0.4rem;
    border: none;
}

.Submit-tasks {
    background-color: var(--user2);
    color: white;
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    border-radius: 0.4rem;
    border: none;
}

.createusera{
    background-color: var(--user2);
    padding: 10px;
    border-radius: 5px;
    display: flex;
}


/*  .create a {
    background-color: #247C42;
    padding: 10px;
    border-radius: 5px;
    display: flex;
}*/

.close .Submit {
    background-color: var(--btn-back);
    color: #247C42;
}

.user2 {
    display: flex;
    align-items: center;
}

.button {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
}

.nom textarea {
    width: 60% !important;
    height: 80% !important;
    margin-bottom: 5%;
}

.spanstat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

fieldset p {
    text-align: center;
}


.analyse {
    display: flex;
}

.Firefly {
    margin-left: 8rem;
}

#editDescription {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.3rem;
    background-color: var(--back);
    border: none;
    outline: none;
    font-size: large;
    box-shadow: 0px 2px 4px 1px var(--black);
    margin-bottom: 1.3rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.attribution{
    display: flex;
    align-items: center;
}

.attribution span{
    margin-left: 0.5rem ;
}

#show{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.show-g{
    display: flex;
    flex-direction: row;
    padding: 5px;
}

.show-g button{
    margin:   0 5px;
}

#show button{

    color: #fff;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

.btn-tasks{
    background-color: var(--btn-back);
    font-weight: 500;
    border: none;
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
}

.btn-task2{
    background-color: var(--back);
    font-weight: 500;
    border: none;
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
}

.d-flex{
    display: flex;
}

.column{
    flex-direction: column;
}

.f-1{
    flex: 1;
}

.f-2{
    flex: 2;
}

.f-3{
    flex: 3;
}

.justify-between{
    justify-content: space-between;
}

.justify-center{
    justify-content: center;
}

.align-center{
    align-items: center;
}

.align-stretch{
    align-items: stretch;
}

/**
 * tables
 */

table.stripped tbody tr:nth-child(odd) {
    background-color: var(--back);
}

table.stripped tbody tr:nth-child(even) {
    background-color: var(--admin);
}

table.stripped thead tr {
    background-color: var(--admin3);
}